/// <summary> /// Initializes a new instance of the VirtualNetworkGateway class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="name">Resource name.</param> /// <param name="type">Resource type.</param> /// <param name="location">Resource location.</param> /// <param name="tags">Resource tags.</param> /// <param name="ipConfigurations">IP configurations for virtual /// network gateway.</param> /// <param name="gatewayType">The type of this virtual network gateway. /// Possible values include: 'Vpn', 'ExpressRoute', /// 'LocalGateway'</param> /// <param name="vpnType">The type of this virtual network gateway. /// Possible values include: 'PolicyBased', 'RouteBased'</param> /// <param name="vpnGatewayGeneration">The generation for this /// VirtualNetworkGateway. Must be None if gatewayType is not VPN. /// Possible values include: 'None', 'Generation1', /// 'Generation2'</param> /// <param name="enableBgp">Whether BGP is enabled for this virtual /// network gateway or not.</param> /// <param name="enablePrivateIpAddress">Whether private IP needs to be /// enabled on this gateway for connections or not.</param> /// <param name="activeActive">ActiveActive flag.</param> /// <param name="gatewayDefaultSite">The reference to the /// LocalNetworkGateway resource which represents local network site /// having default routes. Assign Null value in case of removing /// existing default site setting.</param> /// <param name="sku">The reference to the VirtualNetworkGatewaySku /// resource which represents the SKU selected for Virtual network /// gateway.</param> /// <param name="vpnClientConfiguration">The reference to the /// VpnClientConfiguration resource which represents the P2S VpnClient /// configurations.</param> /// <param name="bgpSettings">Virtual network gateway's BGP speaker /// settings.</param> /// <param name="customRoutes">The reference to the address space /// resource which represents the custom routes address space specified /// by the customer for virtual network gateway and VpnClient.</param> /// <param name="resourceGuid">The resource GUID property of the /// virtual network gateway resource.</param> /// <param name="provisioningState">The provisioning state of the /// virtual network gateway resource. Possible values include: /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param> /// <param name="enableDnsForwarding">Whether dns forwarding is enabled /// or not.</param> /// <param name="inboundDnsForwardingEndpoint">The IP address allocated /// by the gateway to which dns requests can be sent.</param> /// <param name="vNetExtendedLocationResourceId">MAS FIJI customer vnet /// resource id. VirtualNetworkGateway of type local gateway is /// associated with the customer vnet.</param> /// <param name="virtualNetworkExtendedLocation">The extended location /// of type local virtual network gateway.</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(IList <VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnType = default(string), string vpnGatewayGeneration = default(string), bool?enableBgp = default(bool?), bool?enablePrivateIpAddress = default(bool?), bool?activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), string provisioningState = default(string), bool?enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string vNetExtendedLocationResourceId = default(string), ExtendedLocation virtualNetworkExtendedLocation = default(ExtendedLocation), string etag = default(string)) : base(id, name, type, location, tags) { IpConfigurations = ipConfigurations; GatewayType = gatewayType; VpnType = vpnType; VpnGatewayGeneration = vpnGatewayGeneration; EnableBgp = enableBgp; EnablePrivateIpAddress = enablePrivateIpAddress; ActiveActive = activeActive; GatewayDefaultSite = gatewayDefaultSite; Sku = sku; VpnClientConfiguration = vpnClientConfiguration; BgpSettings = bgpSettings; CustomRoutes = customRoutes; ResourceGuid = resourceGuid; ProvisioningState = provisioningState; EnableDnsForwarding = enableDnsForwarding; InboundDnsForwardingEndpoint = inboundDnsForwardingEndpoint; VNetExtendedLocationResourceId = vNetExtendedLocationResourceId; VirtualNetworkExtendedLocation = virtualNetworkExtendedLocation; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the NetworkInterface class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="name">Resource name.</param> /// <param name="type">Resource type.</param> /// <param name="location">Resource location.</param> /// <param name="tags">Resource tags.</param> /// <param name="extendedLocation">The extended location of the network /// interface.</param> /// <param name="virtualMachine">The reference to a virtual /// machine.</param> /// <param name="networkSecurityGroup">The reference to the /// NetworkSecurityGroup resource.</param> /// <param name="privateEndpoint">A reference to the private endpoint /// to which the network interface is linked.</param> /// <param name="ipConfigurations">A list of IPConfigurations of the /// network interface.</param> /// <param name="tapConfigurations">A list of TapConfigurations of the /// network interface.</param> /// <param name="dnsSettings">The DNS settings in network /// interface.</param> /// <param name="macAddress">The MAC address of the network /// interface.</param> /// <param name="primary">Whether this is a primary network interface /// on a virtual machine.</param> /// <param name="enableAcceleratedNetworking">If the network interface /// is accelerated networking enabled.</param> /// <param name="enableIPForwarding">Indicates whether IP forwarding is /// enabled on this network interface.</param> /// <param name="hostedWorkloads">A list of references to linked /// BareMetal resources.</param> /// <param name="dscpConfiguration">A reference to the dscp /// configuration to which the network interface is linked.</param> /// <param name="resourceGuid">The resource GUID property of the /// network interface resource.</param> /// <param name="provisioningState">The provisioning state of the /// network interface resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed'</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public NetworkInterface(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ExtendedLocation extendedLocation = default(ExtendedLocation), SubResource virtualMachine = default(SubResource), NetworkSecurityGroup networkSecurityGroup = default(NetworkSecurityGroup), PrivateEndpoint privateEndpoint = default(PrivateEndpoint), IList <NetworkInterfaceIPConfiguration> ipConfigurations = default(IList <NetworkInterfaceIPConfiguration>), IList <NetworkInterfaceTapConfiguration> tapConfigurations = default(IList <NetworkInterfaceTapConfiguration>), NetworkInterfaceDnsSettings dnsSettings = default(NetworkInterfaceDnsSettings), string macAddress = default(string), bool?primary = default(bool?), bool?enableAcceleratedNetworking = default(bool?), bool?enableIPForwarding = default(bool?), IList <string> hostedWorkloads = default(IList <string>), SubResource dscpConfiguration = default(SubResource), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string)) : base(id, name, type, location, tags) { ExtendedLocation = extendedLocation; VirtualMachine = virtualMachine; NetworkSecurityGroup = networkSecurityGroup; PrivateEndpoint = privateEndpoint; IpConfigurations = ipConfigurations; TapConfigurations = tapConfigurations; DnsSettings = dnsSettings; MacAddress = macAddress; Primary = primary; EnableAcceleratedNetworking = enableAcceleratedNetworking; EnableIPForwarding = enableIPForwarding; HostedWorkloads = hostedWorkloads; DscpConfiguration = dscpConfiguration; ResourceGuid = resourceGuid; ProvisioningState = provisioningState; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the PrivateLinkService class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="name">Resource name.</param> /// <param name="type">Resource type.</param> /// <param name="location">Resource location.</param> /// <param name="tags">Resource tags.</param> /// <param name="extendedLocation">The extended location of the load /// balancer.</param> /// <param name="loadBalancerFrontendIpConfigurations">An array of /// references to the load balancer IP configurations.</param> /// <param name="ipConfigurations">An array of private link service IP /// configurations.</param> /// <param name="networkInterfaces">An array of references to the /// network interfaces created for this private link service.</param> /// <param name="provisioningState">The provisioning state of the /// private link service resource. Possible values include: /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param> /// <param name="privateEndpointConnections">An array of list about /// connections to the private endpoint.</param> /// <param name="visibility">The visibility list of the private link /// service.</param> /// <param name="autoApproval">The auto-approval list of the private /// link service.</param> /// <param name="fqdns">The list of Fqdn.</param> /// <param name="alias">The alias of the private link service.</param> /// <param name="enableProxyProtocol">Whether the private link service /// is enabled for proxy protocol or not.</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public PrivateLinkService(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ExtendedLocation extendedLocation = default(ExtendedLocation), IList <FrontendIPConfiguration> loadBalancerFrontendIpConfigurations = default(IList <FrontendIPConfiguration>), IList <PrivateLinkServiceIpConfiguration> ipConfigurations = default(IList <PrivateLinkServiceIpConfiguration>), IList <NetworkInterface> networkInterfaces = default(IList <NetworkInterface>), string provisioningState = default(string), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), PrivateLinkServicePropertiesVisibility visibility = default(PrivateLinkServicePropertiesVisibility), PrivateLinkServicePropertiesAutoApproval autoApproval = default(PrivateLinkServicePropertiesAutoApproval), IList <string> fqdns = default(IList <string>), string alias = default(string), bool?enableProxyProtocol = default(bool?), string etag = default(string)) : base(id, name, type, location, tags) { ExtendedLocation = extendedLocation; LoadBalancerFrontendIpConfigurations = loadBalancerFrontendIpConfigurations; IpConfigurations = ipConfigurations; NetworkInterfaces = networkInterfaces; ProvisioningState = provisioningState; PrivateEndpointConnections = privateEndpointConnections; Visibility = visibility; AutoApproval = autoApproval; Fqdns = fqdns; Alias = alias; EnableProxyProtocol = enableProxyProtocol; Etag = etag; CustomInit(); }