Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the BackendAddressPool class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="location">The location of the backend address
 /// pool.</param>
 /// <param name="loadBalancerBackendAddresses">An array of backend
 /// addresses.</param>
 /// <param name="backendIPConfigurations">An array of references to IP
 /// addresses defined in network interfaces.</param>
 /// <param name="loadBalancingRules">An array of references to load
 /// balancing rules that use this backend address pool.</param>
 /// <param name="outboundRule">A reference to an outbound rule that
 /// uses this backend address pool.</param>
 /// <param name="outboundRules">An array of references to outbound
 /// rules that use this backend address pool.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// backend address pool resource. Possible values include:
 /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="name">The name of the resource that is unique within
 /// the set of backend address pools used by the load balancer. This
 /// name can be used to access the resource.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="type">Type of the resource.</param>
 public BackendAddressPool(string id = default(string), string location = default(string), IList <LoadBalancerBackendAddress> loadBalancerBackendAddresses = default(IList <LoadBalancerBackendAddress>), IList <NetworkInterfaceIPConfiguration> backendIPConfigurations = default(IList <NetworkInterfaceIPConfiguration>), IList <SubResource> loadBalancingRules = default(IList <SubResource>), SubResource outboundRule = default(SubResource), IList <SubResource> outboundRules = default(IList <SubResource>), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     Location = location;
     LoadBalancerBackendAddresses = loadBalancerBackendAddresses;
     BackendIPConfigurations      = backendIPConfigurations;
     LoadBalancingRules           = loadBalancingRules;
     OutboundRule      = outboundRule;
     OutboundRules     = outboundRules;
     ProvisioningState = provisioningState;
     Name = name;
     Etag = etag;
     Type = type;
     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="nicType">Type of Network Interface resource. Possible
 /// values include: 'Standard', 'Elastic'</param>
 /// <param name="privateLinkService">Privatelinkservice of the network
 /// interface resource.</param>
 /// <param name="migrationPhase">Migration phase of Network Interface
 /// resource. Possible values include: 'None', 'Prepare', 'Commit',
 /// 'Abort', 'Committed'</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 nicType = default(string), PrivateLinkService privateLinkService = default(PrivateLinkService), string migrationPhase = 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;
     NicType            = nicType;
     PrivateLinkService = privateLinkService;
     MigrationPhase     = migrationPhase;
     Etag = etag;
     CustomInit();
 }
Ejemplo n.º 3
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="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 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;
     Etag  = etag;
     Zones = zones;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the FrontendIPConfiguration class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="inboundNatRules">An array of references to inbound
 /// rules that use this frontend IP.</param>
 /// <param name="inboundNatPools">An array of references to inbound
 /// pools that use this frontend IP.</param>
 /// <param name="outboundRules">An array of references to outbound
 /// rules that use this frontend IP.</param>
 /// <param name="loadBalancingRules">An array of references to load
 /// balancing rules that use this frontend IP.</param>
 /// <param name="privateIPAddress">The private IP address of the IP
 /// configuration.</param>
 /// <param name="privateIPAllocationMethod">The Private IP allocation
 /// method. Possible values include: 'Static', 'Dynamic'</param>
 /// <param name="privateIPAddressVersion">Whether the specific
 /// ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible
 /// values include: 'IPv4', 'IPv6'</param>
 /// <param name="subnet">The reference to the subnet resource.</param>
 /// <param name="publicIPAddress">The reference to the Public IP
 /// resource.</param>
 /// <param name="publicIPPrefix">The reference to the Public IP Prefix
 /// resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// frontend IP configuration resource. Possible values include:
 /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="name">The name of the resource that is unique within
 /// the set of frontend IP configurations used by the load balancer.
 /// This name can be used to access the resource.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 /// <param name="type">Type of the resource.</param>
 /// <param name="zones">A list of availability zones denoting the IP
 /// allocated for the resource needs to come from.</param>
 public FrontendIPConfiguration(string id = default(string), IList <SubResource> inboundNatRules = default(IList <SubResource>), IList <SubResource> inboundNatPools = default(IList <SubResource>), IList <SubResource> outboundRules = default(IList <SubResource>), IList <SubResource> loadBalancingRules = default(IList <SubResource>), string privateIPAddress = default(string), string privateIPAllocationMethod = default(string), string privateIPAddressVersion = default(string), Subnet subnet = default(Subnet), PublicIPAddress publicIPAddress = default(PublicIPAddress), SubResource publicIPPrefix = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string), IList <string> zones = default(IList <string>))
     : base(id)
 {
     InboundNatRules           = inboundNatRules;
     InboundNatPools           = inboundNatPools;
     OutboundRules             = outboundRules;
     LoadBalancingRules        = loadBalancingRules;
     PrivateIPAddress          = privateIPAddress;
     PrivateIPAllocationMethod = privateIPAllocationMethod;
     PrivateIPAddressVersion   = privateIPAddressVersion;
     Subnet            = subnet;
     PublicIPAddress   = publicIPAddress;
     PublicIPPrefix    = publicIPPrefix;
     ProvisioningState = provisioningState;
     Name  = name;
     Etag  = etag;
     Type  = type;
     Zones = zones;
     CustomInit();
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the LoadBalancerBackendAddress class.
 /// </summary>
 /// <param name="virtualNetwork">Reference to an existing virtual
 /// network.</param>
 /// <param name="subnet">Reference to an existing subnet.</param>
 /// <param name="ipAddress">IP Address belonging to the referenced
 /// virtual network.</param>
 /// <param name="networkInterfaceIPConfiguration">Reference to IP
 /// address defined in network interfaces.</param>
 /// <param name="loadBalancerFrontendIPConfiguration">Reference to the
 /// frontend ip address configuration defined in regional
 /// loadbalancer.</param>
 /// <param name="name">Name of the backend address.</param>
 public LoadBalancerBackendAddress(SubResource virtualNetwork = default(SubResource), SubResource subnet = default(SubResource), string ipAddress = default(string), SubResource networkInterfaceIPConfiguration = default(SubResource), SubResource loadBalancerFrontendIPConfiguration = default(SubResource), string name = default(string))
 {
     VirtualNetwork = virtualNetwork;
     Subnet         = subnet;
     IpAddress      = ipAddress;
     NetworkInterfaceIPConfiguration     = networkInterfaceIPConfiguration;
     LoadBalancerFrontendIPConfiguration = loadBalancerFrontendIPConfiguration;
     Name = name;
     CustomInit();
 }