コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the PublicIPAddress 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 public
 /// ip address.</param>
 /// <param name="sku">The public IP address SKU.</param>
 /// <param name="publicIPAllocationMethod">The public IP address
 /// allocation method. Possible values include: 'Static',
 /// 'Dynamic'</param>
 /// <param name="publicIPAddressVersion">The public IP address version.
 /// Possible values include: 'IPv4', 'IPv6'</param>
 /// <param name="ipConfiguration">The IP configuration associated with
 /// the public IP address.</param>
 /// <param name="dnsSettings">The FQDN of the DNS record associated
 /// with the public IP address.</param>
 /// <param name="ddosSettings">The DDoS protection custom policy
 /// associated with the public IP address.</param>
 /// <param name="ipTags">The list of tags associated with the public IP
 /// address.</param>
 /// <param name="ipAddress">The IP address associated with the public
 /// IP address resource.</param>
 /// <param name="publicIPPrefix">The Public IP Prefix this Public IP
 /// Address should be allocated from.</param>
 /// <param name="idleTimeoutInMinutes">The idle timeout of the public
 /// IP address.</param>
 /// <param name="resourceGuid">The resource GUID property of the public
 /// IP address resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// public IP address resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="servicePublicIPAddress">The service public IP address
 /// of the public IP address resource.</param>
 /// <param name="natGateway">The NatGateway for the Public IP
 /// address.</param>
 /// <param name="migrationPhase">Migration phase of Public IP Address.
 /// Possible values include: 'None', 'Prepare', 'Commit', 'Abort',
 /// 'Committed'</param>
 /// <param name="linkedPublicIPAddress">The linked public IP address of
 /// the public IP address resource.</param>
 /// <param name="deleteOption">Specify what happens to the public IP
 /// address when the VM using it is deleted. Possible values include:
 /// 'Delete', 'Detach'</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="zones">A list of availability zones denoting the IP
 /// allocated for the resource needs to come from.</param>
 public PublicIPAddress(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), PublicIPAddressSku sku = default(PublicIPAddressSku), string publicIPAllocationMethod = default(string), string publicIPAddressVersion = default(string), IPConfiguration ipConfiguration = default(IPConfiguration), PublicIPAddressDnsSettings dnsSettings = default(PublicIPAddressDnsSettings), DdosSettings ddosSettings = default(DdosSettings), IList <IpTag> ipTags = default(IList <IpTag>), string ipAddress = default(string), SubResource publicIPPrefix = default(SubResource), int?idleTimeoutInMinutes = default(int?), string resourceGuid = default(string), string provisioningState = default(string), PublicIPAddress servicePublicIPAddress = default(PublicIPAddress), NatGateway natGateway = default(NatGateway), string migrationPhase = default(string), PublicIPAddress linkedPublicIPAddress = default(PublicIPAddress), string deleteOption = default(string), string etag = default(string), IList <string> zones = default(IList <string>))
     : base(id, name, type, location, tags)
 {
     ExtendedLocation = extendedLocation;
     Sku = sku;
     PublicIPAllocationMethod = publicIPAllocationMethod;
     PublicIPAddressVersion   = publicIPAddressVersion;
     IpConfiguration          = ipConfiguration;
     DnsSettings            = dnsSettings;
     DdosSettings           = ddosSettings;
     IpTags                 = ipTags;
     IpAddress              = ipAddress;
     PublicIPPrefix         = publicIPPrefix;
     IdleTimeoutInMinutes   = idleTimeoutInMinutes;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     ServicePublicIPAddress = servicePublicIPAddress;
     NatGateway             = natGateway;
     MigrationPhase         = migrationPhase;
     LinkedPublicIPAddress  = linkedPublicIPAddress;
     DeleteOption           = deleteOption;
     Etag  = etag;
     Zones = zones;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the PublicIPPrefix 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 public
 /// ip address.</param>
 /// <param name="sku">The public IP prefix SKU.</param>
 /// <param name="publicIPAddressVersion">The public IP address version.
 /// Possible values include: 'IPv4', 'IPv6'</param>
 /// <param name="ipTags">The list of tags associated with the public IP
 /// prefix.</param>
 /// <param name="prefixLength">The Length of the Public IP
 /// Prefix.</param>
 /// <param name="ipPrefix">The allocated Prefix.</param>
 /// <param name="publicIPAddresses">The list of all referenced
 /// PublicIPAddresses.</param>
 /// <param name="loadBalancerFrontendIpConfiguration">The reference to
 /// load balancer frontend IP configuration associated with the public
 /// IP prefix.</param>
 /// <param name="customIPPrefix">The customIpPrefix that this prefix is
 /// associated with.</param>
 /// <param name="resourceGuid">The resource GUID property of the public
 /// IP prefix resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// public IP prefix resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="natGateway">NatGateway of Public IP Prefix.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="zones">A list of availability zones denoting the IP
 /// allocated for the resource needs to come from.</param>
 public PublicIPPrefix(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), PublicIPPrefixSku sku = default(PublicIPPrefixSku), string publicIPAddressVersion = default(string), IList <IpTag> ipTags = default(IList <IpTag>), int?prefixLength = default(int?), string ipPrefix = default(string), IList <ReferencedPublicIpAddress> publicIPAddresses = default(IList <ReferencedPublicIpAddress>), SubResource loadBalancerFrontendIpConfiguration = default(SubResource), SubResource customIPPrefix = default(SubResource), string resourceGuid = default(string), string provisioningState = default(string), NatGateway natGateway = default(NatGateway), string etag = default(string), IList <string> zones = default(IList <string>))
     : base(id, name, type, location, tags)
 {
     ExtendedLocation = extendedLocation;
     Sku = sku;
     PublicIPAddressVersion = publicIPAddressVersion;
     IpTags            = ipTags;
     PrefixLength      = prefixLength;
     IpPrefix          = ipPrefix;
     PublicIPAddresses = publicIPAddresses;
     LoadBalancerFrontendIpConfiguration = loadBalancerFrontendIpConfiguration;
     CustomIPPrefix    = customIPPrefix;
     ResourceGuid      = resourceGuid;
     ProvisioningState = provisioningState;
     NatGateway        = natGateway;
     Etag  = etag;
     Zones = zones;
     CustomInit();
 }