Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the EffectiveNetworkSecurityGroup
 /// class.
 /// </summary>
 /// <param name="networkSecurityGroup">The ID of network security group
 /// that is applied.</param>
 /// <param name="association">Associated resources.</param>
 /// <param name="effectiveSecurityRules">A collection of effective
 /// security rules.</param>
 /// <param name="tagMap">Mapping of tags to list of IP Addresses
 /// included within the tag.</param>
 public EffectiveNetworkSecurityGroup(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource networkSecurityGroup = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), EffectiveNetworkSecurityGroupAssociation association = default(EffectiveNetworkSecurityGroupAssociation), IList <EffectiveNetworkSecurityRule> effectiveSecurityRules = default(IList <EffectiveNetworkSecurityRule>), IDictionary <string, IList <string> > tagMap = default(IDictionary <string, IList <string> >))
 {
     NetworkSecurityGroup   = networkSecurityGroup;
     Association            = association;
     EffectiveSecurityRules = effectiveSecurityRules;
     TagMap = tagMap;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the ImageInner class.
 /// </summary>
 /// <param name="sourceVirtualMachine">The source virtual machine from
 /// which Image is created.</param>
 /// <param name="storageProfile">Specifies the storage settings for the
 /// virtual machine disks.</param>
 /// <param name="provisioningState">The provisioning state.</param>
 public ImageInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource sourceVirtualMachine = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), ImageStorageProfile storageProfile = default(ImageStorageProfile), string provisioningState = default(string))
     : base(location, id, name, type, tags)
 {
     SourceVirtualMachine = sourceVirtualMachine;
     StorageProfile       = storageProfile;
     ProvisioningState    = provisioningState;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ApplicationGatewayIPConfigurationInner class.
 /// </summary>
 /// <param name="subnet">Reference of the subnet resource. A subnet
 /// from where application gateway gets its private address.</param>
 /// <param name="provisioningState">Provisioning state of the
 /// application gateway subnet resource. Possible values are:
 /// 'Updating', 'Deleting', and 'Failed'.</param>
 /// <param name="name">Name of the resource that is unique within a
 /// resource group. 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 ApplicationGatewayIPConfigurationInner(string id = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource subnet = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     Subnet            = subnet;
     ProvisioningState = provisioningState;
     Name = name;
     Etag = etag;
     Type = type;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the BackendAddressPoolInner class.
 /// </summary>
 /// <param name="backendIPConfigurations">Gets collection of references
 /// to IP addresses defined in network interfaces.</param>
 /// <param name="loadBalancingRules">Gets load balancing rules that use
 /// this backend address pool.</param>
 /// <param name="outboundNatRule">Gets outbound rules that use this
 /// backend address pool.</param>
 /// <param name="provisioningState">Get provisioning state of the
 /// public IP resource. Possible values are: 'Updating', 'Deleting',
 /// and 'Failed'.</param>
 /// <param name="name">Gets name of the resource that is unique within
 /// a resource group. 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>
 public BackendAddressPoolInner(string id = default(string), IList <NetworkInterfaceIPConfigurationInner> backendIPConfigurations = default(IList <NetworkInterfaceIPConfigurationInner>), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> loadBalancingRules = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource outboundNatRule = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     BackendIPConfigurations = backendIPConfigurations;
     LoadBalancingRules      = loadBalancingRules;
     OutboundNatRule         = outboundNatRule;
     ProvisioningState       = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualNetworkGatewayIPConfigurationInner class.
 /// </summary>
 /// <param name="privateIPAllocationMethod">The private IP allocation
 /// method. Possible values are: 'Static' and 'Dynamic'. Possible
 /// values include: 'Static', 'Dynamic'</param>
 /// <param name="subnet">The reference of the subnet resource.</param>
 /// <param name="publicIPAddress">The reference of the public IP
 /// resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// public IP resource. Possible values are: 'Updating', 'Deleting',
 /// and 'Failed'.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. 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>
 public VirtualNetworkGatewayIPConfigurationInner(string id = default(string), string privateIPAllocationMethod = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource subnet = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource publicIPAddress = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     PrivateIPAllocationMethod = privateIPAllocationMethod;
     Subnet            = subnet;
     PublicIPAddress   = publicIPAddress;
     ProvisioningState = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ImageDataDisk class.
 /// </summary>
 /// <param name="lun">Specifies the logical unit number of the data
 /// disk. This value is used to identify data disks within the VM and
 /// therefore must be unique for each data disk attached to a
 /// VM.</param>
 /// <param name="snapshot">The snapshot.</param>
 /// <param name="managedDisk">The managedDisk.</param>
 /// <param name="blobUri">The Virtual Hard Disk.</param>
 /// <param name="caching">Specifies the caching requirements.
 /// &lt;br&gt;&lt;br&gt; Possible values are: &lt;br&gt;&lt;br&gt;
 /// **None** &lt;br&gt;&lt;br&gt; **ReadOnly** &lt;br&gt;&lt;br&gt;
 /// **ReadWrite** &lt;br&gt;&lt;br&gt; Default: **None for Standard
 /// storage. ReadOnly for Premium storage**. Possible values include:
 /// 'None', 'ReadOnly', 'ReadWrite'</param>
 /// <param name="diskSizeGB">Specifies the size of empty data disks in
 /// gigabytes. This element can be used to overwrite the name of the
 /// disk in a virtual machine image. &lt;br&gt;&lt;br&gt; This value
 /// cannot be larger than 1023 GB</param>
 /// <param name="storageAccountType">Specifies the storage account type
 /// for the managed disk. Possible values are: Standard_LRS or
 /// Premium_LRS. Possible values include: 'Standard_LRS',
 /// 'Premium_LRS'</param>
 public ImageDataDisk(int lun, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource snapshot = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource managedDisk = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string blobUri = default(string), CachingTypes?caching = default(CachingTypes?), int?diskSizeGB = default(int?), StorageAccountTypes?storageAccountType = default(StorageAccountTypes?))
 {
     Lun                = lun;
     Snapshot           = snapshot;
     ManagedDisk        = managedDisk;
     BlobUri            = blobUri;
     Caching            = caching;
     DiskSizeGB         = diskSizeGB;
     StorageAccountType = storageAccountType;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the OutboundNatRuleInner class.
 /// </summary>
 /// <param name="backendAddressPool">A reference to a pool of DIPs.
 /// Outbound traffic is randomly load balanced across IPs in the
 /// backend IPs.</param>
 /// <param name="allocatedOutboundPorts">The number of outbound ports
 /// to be used for NAT.</param>
 /// <param name="frontendIPConfigurations">The Frontend IP addresses of
 /// the load balancer.</param>
 /// <param name="provisioningState">Gets the provisioning state of the
 /// PublicIP resource. Possible values are: 'Updating', 'Deleting', and
 /// 'Failed'.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. 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>
 public OutboundNatRuleInner(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource backendAddressPool, string id = default(string), int?allocatedOutboundPorts = default(int?), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> frontendIPConfigurations = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     AllocatedOutboundPorts   = allocatedOutboundPorts;
     FrontendIPConfigurations = frontendIPConfigurations;
     BackendAddressPool       = backendAddressPool;
     ProvisioningState        = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualMachineScaleSetUpdateNetworkConfigurationInner class.
 /// </summary>
 /// <param name="name">The network configuration name.</param>
 /// <param name="primary">Whether this is a primary NIC on a virtual
 /// machine.</param>
 /// <param name="enableAcceleratedNetworking">Specifies whether the
 /// network interface is accelerated networking-enabled.</param>
 /// <param name="networkSecurityGroup">The network security
 /// group.</param>
 /// <param name="dnsSettings">The dns settings to be applied on the
 /// network interfaces.</param>
 /// <param name="ipConfigurations">The virtual machine scale set IP
 /// Configuration.</param>
 public VirtualMachineScaleSetUpdateNetworkConfigurationInner(string id = default(string), string name = default(string), bool?primary = default(bool?), bool?enableAcceleratedNetworking = default(bool?), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource networkSecurityGroup = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings = default(VirtualMachineScaleSetNetworkConfigurationDnsSettings), IList <VirtualMachineScaleSetUpdateIPConfigurationInner> ipConfigurations = default(IList <VirtualMachineScaleSetUpdateIPConfigurationInner>))
     : base(id)
 {
     Name    = name;
     Primary = primary;
     EnableAcceleratedNetworking = enableAcceleratedNetworking;
     NetworkSecurityGroup        = networkSecurityGroup;
     DnsSettings      = dnsSettings;
     IpConfigurations = ipConfigurations;
     CustomInit();
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Initializes a new instance of the ImageOSDisk class.
 /// </summary>
 /// <param name="osType">This property allows you to specify the type
 /// of the OS that is included in the disk if creating a VM from a
 /// custom image. &lt;br&gt;&lt;br&gt; Possible values are:
 /// &lt;br&gt;&lt;br&gt; **Windows** &lt;br&gt;&lt;br&gt; **Linux**.
 /// Possible values include: 'Windows', 'Linux'</param>
 /// <param name="osState">The OS State. Possible values include:
 /// 'Generalized', 'Specialized'</param>
 /// <param name="snapshot">The snapshot.</param>
 /// <param name="managedDisk">The managedDisk.</param>
 /// <param name="blobUri">The Virtual Hard Disk.</param>
 /// <param name="caching">Specifies the caching requirements.
 /// &lt;br&gt;&lt;br&gt; Possible values are: &lt;br&gt;&lt;br&gt;
 /// **None** &lt;br&gt;&lt;br&gt; **ReadOnly** &lt;br&gt;&lt;br&gt;
 /// **ReadWrite** &lt;br&gt;&lt;br&gt; Default: **None for Standard
 /// storage. ReadOnly for Premium storage**. Possible values include:
 /// 'None', 'ReadOnly', 'ReadWrite'</param>
 /// <param name="diskSizeGB">Specifies the size of empty data disks in
 /// gigabytes. This element can be used to overwrite the name of the
 /// disk in a virtual machine image. &lt;br&gt;&lt;br&gt; This value
 /// cannot be larger than 1023 GB</param>
 /// <param name="storageAccountType">Specifies the storage account type
 /// for the managed disk. Possible values are: Standard_LRS or
 /// Premium_LRS. Possible values include: 'Standard_LRS',
 /// 'Premium_LRS'</param>
 public ImageOSDisk(OperatingSystemTypes osType, OperatingSystemStateTypes osState, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource snapshot = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource managedDisk = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string blobUri = default(string), CachingTypes?caching = default(CachingTypes?), int?diskSizeGB = default(int?), StorageAccountTypes?storageAccountType = default(StorageAccountTypes?))
 {
     OsType             = osType;
     OsState            = osState;
     Snapshot           = snapshot;
     ManagedDisk        = managedDisk;
     BlobUri            = blobUri;
     Caching            = caching;
     DiskSizeGB         = diskSizeGB;
     StorageAccountType = storageAccountType;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the InboundNatPoolInner class.
 /// </summary>
 /// <param name="protocol">The transport protocol for the endpoint.
 /// Possible values are: 'Udp' or 'Tcp'. Possible values include:
 /// 'Udp', 'Tcp'</param>
 /// <param name="frontendPortRangeStart">The first port number in the
 /// range of external ports that will be used to provide Inbound Nat to
 /// NICs associated with a load balancer. Acceptable values range
 /// between 1 and 65534.</param>
 /// <param name="frontendPortRangeEnd">The last port number in the
 /// range of external ports that will be used to provide Inbound Nat to
 /// NICs associated with a load balancer. Acceptable values range
 /// between 1 and 65535.</param>
 /// <param name="backendPort">The port used for internal connections on
 /// the endpoint. Acceptable values are between 1 and 65535.</param>
 /// <param name="frontendIPConfiguration">A reference to frontend IP
 /// addresses.</param>
 /// <param name="provisioningState">Gets the provisioning state of the
 /// PublicIP resource. Possible values are: 'Updating', 'Deleting', and
 /// 'Failed'.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. 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>
 public InboundNatPoolInner(string protocol, int frontendPortRangeStart, int frontendPortRangeEnd, int backendPort, string id = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource frontendIPConfiguration = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     FrontendIPConfiguration = frontendIPConfiguration;
     Protocol = protocol;
     FrontendPortRangeStart = frontendPortRangeStart;
     FrontendPortRangeEnd   = frontendPortRangeEnd;
     BackendPort            = backendPort;
     ProvisioningState      = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ApplicationGatewayPathRuleInner
 /// class.
 /// </summary>
 /// <param name="paths">Path rules of URL path map.</param>
 /// <param name="backendAddressPool">Backend address pool resource of
 /// URL path map path rule.</param>
 /// <param name="backendHttpSettings">Backend http settings resource of
 /// URL path map path rule.</param>
 /// <param name="redirectConfiguration">Redirect configuration resource
 /// of URL path map path rule.</param>
 /// <param name="provisioningState">Path rule of URL path map resource.
 /// Possible values are: 'Updating', 'Deleting', and 'Failed'.</param>
 /// <param name="name">Name of the resource that is unique within a
 /// resource group. 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 ApplicationGatewayPathRuleInner(string id = default(string), IList <string> paths = default(IList <string>), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource backendAddressPool = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource backendHttpSettings = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource redirectConfiguration = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     Paths = paths;
     BackendAddressPool    = backendAddressPool;
     BackendHttpSettings   = backendHttpSettings;
     RedirectConfiguration = redirectConfiguration;
     ProvisioningState     = provisioningState;
     Name = name;
     Etag = etag;
     Type = type;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkPeeringInner class.
 /// </summary>
 /// <param name="allowVirtualNetworkAccess">Whether the VMs in the
 /// linked virtual network space would be able to access all the VMs in
 /// local Virtual network space.</param>
 /// <param name="allowForwardedTraffic">Whether the forwarded traffic
 /// from the VMs in the remote virtual network will be
 /// allowed/disallowed.</param>
 /// <param name="allowGatewayTransit">If gateway links can be used in
 /// remote virtual networking to link to this virtual network.</param>
 /// <param name="useRemoteGateways">If remote gateways can be used on
 /// this virtual network. If the flag is set to true, and
 /// allowGatewayTransit on remote peering is also true, virtual network
 /// will use gateways of remote virtual network for transit. Only one
 /// peering can have this flag set to true. This flag cannot be set if
 /// virtual network already has a gateway.</param>
 /// <param name="remoteVirtualNetwork">The reference of the remote
 /// virtual network.</param>
 /// <param name="peeringState">The status of the virtual network
 /// peering. Possible values are 'Initiated', 'Connected', and
 /// 'Disconnected'. Possible values include: 'Initiated', 'Connected',
 /// 'Disconnected'</param>
 /// <param name="provisioningState">The provisioning state of the
 /// resource.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. 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>
 public VirtualNetworkPeeringInner(string id = default(string), bool?allowVirtualNetworkAccess = default(bool?), bool?allowForwardedTraffic = default(bool?), bool?allowGatewayTransit = default(bool?), bool?useRemoteGateways = default(bool?), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource remoteVirtualNetwork = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string peeringState = default(string), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     AllowVirtualNetworkAccess = allowVirtualNetworkAccess;
     AllowForwardedTraffic     = allowForwardedTraffic;
     AllowGatewayTransit       = allowGatewayTransit;
     UseRemoteGateways         = useRemoteGateways;
     RemoteVirtualNetwork      = remoteVirtualNetwork;
     PeeringState      = peeringState;
     ProvisioningState = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the SubnetInner class.
 /// </summary>
 /// <param name="addressPrefix">The address prefix for the
 /// subnet.</param>
 /// <param name="networkSecurityGroup">The reference of the
 /// NetworkSecurityGroup resource.</param>
 /// <param name="routeTable">The reference of the RouteTable
 /// resource.</param>
 /// <param name="serviceEndpoints">An array of service
 /// endpoints.</param>
 /// <param name="ipConfigurations">Gets an array of references to the
 /// network interface IP configurations using subnet.</param>
 /// <param name="resourceNavigationLinks">Gets an array of references
 /// to the external resources using subnet.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// resource.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. 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>
 public SubnetInner(string id = default(string), string addressPrefix = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource networkSecurityGroup = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource routeTable = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), IList <ServiceEndpointPropertiesFormat> serviceEndpoints = default(IList <ServiceEndpointPropertiesFormat>), IList <IPConfigurationInner> ipConfigurations = default(IList <IPConfigurationInner>), IList <ResourceNavigationLinkInner> resourceNavigationLinks = default(IList <ResourceNavigationLinkInner>), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     AddressPrefix           = addressPrefix;
     NetworkSecurityGroup    = networkSecurityGroup;
     RouteTable              = routeTable;
     ServiceEndpoints        = serviceEndpoints;
     IpConfigurations        = ipConfigurations;
     ResourceNavigationLinks = resourceNavigationLinks;
     ProvisioningState       = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ApplicationGatewayRequestRoutingRuleInner class.
 /// </summary>
 /// <param name="ruleType">Rule type. Possible values include: 'Basic',
 /// 'PathBasedRouting'</param>
 /// <param name="backendAddressPool">Backend address pool resource of
 /// the application gateway. </param>
 /// <param name="backendHttpSettings">Frontend port resource of the
 /// application gateway.</param>
 /// <param name="httpListener">Http listener resource of the
 /// application gateway. </param>
 /// <param name="urlPathMap">URL path map resource of the application
 /// gateway.</param>
 /// <param name="redirectConfiguration">Redirect configuration resource
 /// of the application gateway.</param>
 /// <param name="provisioningState">Provisioning state of the request
 /// routing rule resource. Possible values are: 'Updating', 'Deleting',
 /// and 'Failed'.</param>
 /// <param name="name">Name of the resource that is unique within a
 /// resource group. 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 ApplicationGatewayRequestRoutingRuleInner(string id = default(string), string ruleType = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource backendAddressPool = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource backendHttpSettings = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource httpListener = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource urlPathMap = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource redirectConfiguration = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     RuleType              = ruleType;
     BackendAddressPool    = backendAddressPool;
     BackendHttpSettings   = backendHttpSettings;
     HttpListener          = httpListener;
     UrlPathMap            = urlPathMap;
     RedirectConfiguration = redirectConfiguration;
     ProvisioningState     = provisioningState;
     Name = name;
     Etag = etag;
     Type = type;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the InboundNatRuleInner class.
 /// </summary>
 /// <param name="frontendIPConfiguration">A reference to frontend IP
 /// addresses.</param>
 /// <param name="backendIPConfiguration">A reference to a private IP
 /// address defined on a network interface of a VM. Traffic sent to the
 /// frontend port of each of the frontend IP configurations is
 /// forwarded to the backend IP.</param>
 /// <param name="protocol">The transport protocol for the endpoint.
 /// Possible values are: 'Udp' or 'Tcp'. Possible values include:
 /// 'Udp', 'Tcp'</param>
 /// <param name="frontendPort">The port for the external endpoint. Port
 /// numbers for each Rule must be unique within the Load Balancer.
 /// Acceptable values range from 1 to 65534.</param>
 /// <param name="backendPort">The port used for the internal endpoint.
 /// Acceptable values range from 1 to 65535.</param>
 /// <param name="idleTimeoutInMinutes">The timeout for the TCP idle
 /// connection. The value can be set between 4 and 30 minutes. The
 /// default value is 4 minutes. This element is only used when the
 /// protocol is set to TCP.</param>
 /// <param name="enableFloatingIP">Configures a virtual machine's
 /// endpoint for the floating IP capability required to configure a SQL
 /// AlwaysOn Availability Group. This setting is required when using
 /// the SQL AlwaysOn Availability Groups in SQL server. This setting
 /// can't be changed after you create the endpoint.</param>
 /// <param name="provisioningState">Gets the provisioning state of the
 /// public IP resource. Possible values are: 'Updating', 'Deleting',
 /// and 'Failed'.</param>
 /// <param name="name">Gets name of the resource that is unique within
 /// a resource group. 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>
 public InboundNatRuleInner(string id = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource frontendIPConfiguration = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), NetworkInterfaceIPConfigurationInner backendIPConfiguration = default(NetworkInterfaceIPConfigurationInner), string protocol = default(string), int?frontendPort = default(int?), int?backendPort = default(int?), int?idleTimeoutInMinutes = default(int?), bool?enableFloatingIP = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     FrontendIPConfiguration = frontendIPConfiguration;
     BackendIPConfiguration  = backendIPConfiguration;
     Protocol             = protocol;
     FrontendPort         = frontendPort;
     BackendPort          = backendPort;
     IdleTimeoutInMinutes = idleTimeoutInMinutes;
     EnableFloatingIP     = enableFloatingIP;
     ProvisioningState    = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ApplicationGatewayHttpListenerInner class.
 /// </summary>
 /// <param name="frontendIPConfiguration">Frontend IP configuration
 /// resource of an application gateway.</param>
 /// <param name="frontendPort">Frontend port resource of an application
 /// gateway.</param>
 /// <param name="protocol">Protocol. Possible values include: 'Http',
 /// 'Https'</param>
 /// <param name="hostName">Host name of HTTP listener.</param>
 /// <param name="sslCertificate">SSL certificate resource of an
 /// application gateway.</param>
 /// <param name="requireServerNameIndication">Applicable only if
 /// protocol is https. Enables SNI for multi-hosting.</param>
 /// <param name="provisioningState">Provisioning state of the HTTP
 /// listener resource. Possible values are: 'Updating', 'Deleting', and
 /// 'Failed'.</param>
 /// <param name="name">Name of the resource that is unique within a
 /// resource group. 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 ApplicationGatewayHttpListenerInner(string id = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource frontendIPConfiguration = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource frontendPort = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string protocol = default(string), string hostName = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource sslCertificate = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), bool?requireServerNameIndication = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     FrontendIPConfiguration = frontendIPConfiguration;
     FrontendPort            = frontendPort;
     Protocol       = protocol;
     HostName       = hostName;
     SslCertificate = sslCertificate;
     RequireServerNameIndication = requireServerNameIndication;
     ProvisioningState           = provisioningState;
     Name = name;
     Etag = etag;
     Type = type;
     CustomInit();
 }
Ejemplo n.º 17
0
 /// <summary>
 /// Initializes a new instance of the NetworkInterfaceInner class.
 /// </summary>
 /// <param name="virtualMachine">The reference of a virtual
 /// machine.</param>
 /// <param name="networkSecurityGroup">The reference of the
 /// NetworkSecurityGroup resource.</param>
 /// <param name="ipConfigurations">A list of IPConfigurations 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">Gets 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="resourceGuid">The resource GUID property of the
 /// network interface resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// public IP resource. Possible values are: 'Updating', 'Deleting',
 /// and 'Failed'.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public NetworkInterfaceInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource virtualMachine = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource networkSecurityGroup = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), IList <NetworkInterfaceIPConfigurationInner> ipConfigurations = default(IList <NetworkInterfaceIPConfigurationInner>), NetworkInterfaceDnsSettings dnsSettings = default(NetworkInterfaceDnsSettings), string macAddress = default(string), bool?primary = default(bool?), bool?enableAcceleratedNetworking = default(bool?), bool?enableIPForwarding = default(bool?), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     VirtualMachine       = virtualMachine;
     NetworkSecurityGroup = networkSecurityGroup;
     IpConfigurations     = ipConfigurations;
     DnsSettings          = dnsSettings;
     MacAddress           = macAddress;
     Primary = primary;
     EnableAcceleratedNetworking = enableAcceleratedNetworking;
     EnableIPForwarding          = enableIPForwarding;
     ResourceGuid      = resourceGuid;
     ProvisioningState = provisioningState;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ApplicationGatewayRedirectConfigurationInner class.
 /// </summary>
 /// <param name="redirectType">Supported http redirection types -
 /// Permanent, Temporary, Found, SeeOther. Possible values include:
 /// 'Permanent', 'Found', 'SeeOther', 'Temporary'</param>
 /// <param name="targetListener">Reference to a listener to redirect
 /// the request to.</param>
 /// <param name="targetUrl">Url to redirect the request to.</param>
 /// <param name="includePath">Include path in the redirected
 /// url.</param>
 /// <param name="includeQueryString">Include query string in the
 /// redirected url.</param>
 /// <param name="requestRoutingRules">Request routing specifying
 /// redirect configuration.</param>
 /// <param name="urlPathMaps">Url path maps specifying default redirect
 /// configuration.</param>
 /// <param name="pathRules">Path rules specifying redirect
 /// configuration.</param>
 /// <param name="name">Name of the resource that is unique within a
 /// resource group. 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 ApplicationGatewayRedirectConfigurationInner(string id = default(string), string redirectType = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource targetListener = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string targetUrl = default(string), bool?includePath = default(bool?), bool?includeQueryString = default(bool?), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> requestRoutingRules = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> urlPathMaps = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> pathRules = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     RedirectType        = redirectType;
     TargetListener      = targetListener;
     TargetUrl           = targetUrl;
     IncludePath         = includePath;
     IncludeQueryString  = includeQueryString;
     RequestRoutingRules = requestRoutingRules;
     UrlPathMaps         = urlPathMaps;
     PathRules           = pathRules;
     Name = name;
     Etag = etag;
     Type = type;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkGatewayInner class.
 /// </summary>
 /// <param name="ipConfigurations">IP configurations for virtual
 /// network gateway.</param>
 /// <param name="gatewayType">The type of this virtual network gateway.
 /// Possible values are: 'Vpn' and 'ExpressRoute'. Possible values
 /// include: 'Vpn', 'ExpressRoute'</param>
 /// <param name="vpnType">The type of this virtual network gateway.
 /// Possible values are: 'PolicyBased' and 'RouteBased'. Possible
 /// values include: 'PolicyBased', 'RouteBased'</param>
 /// <param name="enableBgp">Whether BGP is enabled for this virtual
 /// network gateway or not.</param>
 /// <param name="activeActive">ActiveActive flag</param>
 /// <param name="gatewayDefaultSite">The reference of 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 of the VirtualNetworkGatewaySku
 /// resource which represents the SKU selected for Virtual network
 /// gateway.</param>
 /// <param name="vpnClientConfiguration">The reference of the
 /// VpnClientConfiguration resource which represents the P2S VpnClient
 /// configurations.</param>
 /// <param name="bgpSettings">Virtual network gateway's BGP speaker
 /// settings.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// VirtualNetworkGateway resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// VirtualNetworkGateway resource. Possible values are: 'Updating',
 /// 'Deleting', and 'Failed'.</param>
 /// <param name="etag">Gets a unique read-only string that changes
 /// whenever the resource is updated.</param>
 public VirtualNetworkGatewayInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <VirtualNetworkGatewayIPConfigurationInner> ipConfigurations = default(IList <VirtualNetworkGatewayIPConfigurationInner>), string gatewayType = default(string), string vpnType = default(string), bool?enableBgp = default(bool?), bool?activeActive = default(bool?), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource gatewayDefaultSite = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     IpConfigurations   = ipConfigurations;
     GatewayType        = gatewayType;
     VpnType            = vpnType;
     EnableBgp          = enableBgp;
     ActiveActive       = activeActive;
     GatewayDefaultSite = gatewayDefaultSite;
     Sku = sku;
     VpnClientConfiguration = vpnClientConfiguration;
     BgpSettings            = bgpSettings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// NetworkInterfaceIPConfigurationInner class.
 /// </summary>
 /// <param name="applicationGatewayBackendAddressPools">The reference
 /// of ApplicationGatewayBackendAddressPool resource.</param>
 /// <param name="loadBalancerBackendAddressPools">The reference of
 /// LoadBalancerBackendAddressPool resource.</param>
 /// <param name="loadBalancerInboundNatRules">A list of references of
 /// LoadBalancerInboundNatRules.</param>
 /// <param name="privateIPAddress">Private IP address of the IP
 /// configuration.</param>
 /// <param name="privateIPAllocationMethod">Defines how a private IP
 /// address is assigned. Possible values are: 'Static' and 'Dynamic'.
 /// Possible values include: 'Static', 'Dynamic'</param>
 /// <param name="privateIPAddressVersion">Available from Api-Version
 /// 2016-03-30 onwards, it represents whether the specific
 /// ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.
 /// Possible values are: 'IPv4' and 'IPv6'. Possible values include:
 /// 'IPv4', 'IPv6'</param>
 /// <param name="subnet">Subnet bound to the IP configuration.</param>
 /// <param name="primary">Gets whether this is a primary customer
 /// address on the network interface.</param>
 /// <param name="publicIPAddress">Public IP address bound to the IP
 /// configuration.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// network interface IP configuration. Possible values are:
 /// 'Updating', 'Deleting', and 'Failed'.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. 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>
 public NetworkInterfaceIPConfigurationInner(string id = default(string), IList <ApplicationGatewayBackendAddressPoolInner> applicationGatewayBackendAddressPools = default(IList <ApplicationGatewayBackendAddressPoolInner>), IList <BackendAddressPoolInner> loadBalancerBackendAddressPools = default(IList <BackendAddressPoolInner>), IList <InboundNatRuleInner> loadBalancerInboundNatRules = default(IList <InboundNatRuleInner>), string privateIPAddress = default(string), string privateIPAllocationMethod = default(string), string privateIPAddressVersion = default(string), SubnetInner subnet = default(SubnetInner), bool?primary = default(bool?), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource publicIPAddress = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     ApplicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools;
     LoadBalancerBackendAddressPools       = loadBalancerBackendAddressPools;
     LoadBalancerInboundNatRules           = loadBalancerInboundNatRules;
     PrivateIPAddress          = privateIPAddress;
     PrivateIPAllocationMethod = privateIPAllocationMethod;
     PrivateIPAddressVersion   = privateIPAddressVersion;
     Subnet            = subnet;
     Primary           = primary;
     PublicIPAddress   = publicIPAddress;
     ProvisioningState = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the FrontendIPConfigurationInner
 /// class.
 /// </summary>
 /// <param name="inboundNatRules">Read only. Inbound rules URIs that
 /// use this frontend IP.</param>
 /// <param name="inboundNatPools">Read only. Inbound pools URIs that
 /// use this frontend IP.</param>
 /// <param name="outboundNatRules">Read only. Outbound rules URIs that
 /// use this frontend IP.</param>
 /// <param name="loadBalancingRules">Gets load balancing rules URIs
 /// 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 are: 'Static' and 'Dynamic'. Possible
 /// values include: 'Static', 'Dynamic'</param>
 /// <param name="subnet">The reference of the subnet resource.</param>
 /// <param name="publicIPAddress">The reference of the Public IP
 /// resource.</param>
 /// <param name="provisioningState">Gets the provisioning state of the
 /// public IP resource. Possible values are: 'Updating', 'Deleting',
 /// and 'Failed'.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. 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="zones">A list of availability zones denoting the IP
 /// allocated for the resource needs to come from.</param>
 public FrontendIPConfigurationInner(string id = default(string), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> inboundNatRules = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> inboundNatPools = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> outboundNatRules = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> loadBalancingRules = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), string privateIPAddress = default(string), string privateIPAllocationMethod = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource subnet = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource publicIPAddress = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string), IList <string> zones = default(IList <string>))
     : base(id)
 {
     InboundNatRules           = inboundNatRules;
     InboundNatPools           = inboundNatPools;
     OutboundNatRules          = outboundNatRules;
     LoadBalancingRules        = loadBalancingRules;
     PrivateIPAddress          = privateIPAddress;
     PrivateIPAllocationMethod = privateIPAllocationMethod;
     Subnet            = subnet;
     PublicIPAddress   = publicIPAddress;
     ProvisioningState = provisioningState;
     Name  = name;
     Etag  = etag;
     Zones = zones;
     CustomInit();
 }
Ejemplo n.º 22
0
 /// <summary>
 /// Initializes a new instance of the LoadBalancingRuleInner class.
 /// </summary>
 /// <param name="protocol">The transport protocol for the external
 /// endpoint. Possible values are 'Udp' or 'Tcp'. Possible values
 /// include: 'Udp', 'Tcp'</param>
 /// <param name="frontendPort">The port for the external endpoint. Port
 /// numbers for each Rule must be unique within the Load Balancer.
 /// Acceptable values are between 1 and 65534.</param>
 /// <param name="frontendIPConfiguration">A reference to frontend IP
 /// addresses.</param>
 /// <param name="backendAddressPool">A reference to a pool of DIPs.
 /// Inbound traffic is randomly load balanced across IPs in the backend
 /// IPs.</param>
 /// <param name="probe">The reference of the load balancer probe used
 /// by the load balancing rule.</param>
 /// <param name="loadDistribution">The load distribution policy for
 /// this rule. Possible values are 'Default', 'SourceIP', and
 /// 'SourceIPProtocol'. Possible values include: 'Default', 'SourceIP',
 /// 'SourceIPProtocol'</param>
 /// <param name="backendPort">The port used for internal connections on
 /// the endpoint. Acceptable values are between 1 and 65535. </param>
 /// <param name="idleTimeoutInMinutes">The timeout for the TCP idle
 /// connection. The value can be set between 4 and 30 minutes. The
 /// default value is 4 minutes. This element is only used when the
 /// protocol is set to TCP.</param>
 /// <param name="enableFloatingIP">Configures a virtual machine's
 /// endpoint for the floating IP capability required to configure a SQL
 /// AlwaysOn Availability Group. This setting is required when using
 /// the SQL AlwaysOn Availability Groups in SQL server. This setting
 /// can't be changed after you create the endpoint.</param>
 /// <param name="disableOutboundSnat">Configures SNAT for the VMs in
 /// the backend pool to use the publicIP address specified in the
 /// frontend of the load balancing rule.</param>
 /// <param name="provisioningState">Gets the provisioning state of the
 /// PublicIP resource. Possible values are: 'Updating', 'Deleting', and
 /// 'Failed'.</param>
 /// <param name="name">The name of the resource that is unique within a
 /// resource group. 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>
 public LoadBalancingRuleInner(string protocol, int frontendPort, string id = default(string), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource frontendIPConfiguration = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource backendAddressPool = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource probe = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string loadDistribution = default(string), int?backendPort = default(int?), int?idleTimeoutInMinutes = default(int?), bool?enableFloatingIP = default(bool?), bool?disableOutboundSnat = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string))
     : base(id)
 {
     FrontendIPConfiguration = frontendIPConfiguration;
     BackendAddressPool      = backendAddressPool;
     Probe                = probe;
     Protocol             = protocol;
     LoadDistribution     = loadDistribution;
     FrontendPort         = frontendPort;
     BackendPort          = backendPort;
     IdleTimeoutInMinutes = idleTimeoutInMinutes;
     EnableFloatingIP     = enableFloatingIP;
     DisableOutboundSnat  = disableOutboundSnat;
     ProvisioningState    = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
Ejemplo n.º 23
0
 /// <summary>
 /// Initializes a new instance of the VirtualMachineInner class.
 /// </summary>
 /// <param name="plan">Specifies information about the marketplace
 /// image used to create the virtual machine. This element is only used
 /// for marketplace images. Before you can use a marketplace image from
 /// an API, you must enable the image for programmatic use.  In the
 /// Azure portal, find the marketplace image that you want to use and
 /// then click **Want to deploy programmatically, Get Started -&gt;**.
 /// Enter any required information and then click **Save**.</param>
 /// <param name="hardwareProfile">Specifies the hardware settings for
 /// the virtual machine.</param>
 /// <param name="storageProfile">Specifies the storage settings for the
 /// virtual machine disks.</param>
 /// <param name="osProfile">Specifies the operating system settings for
 /// the virtual machine.</param>
 /// <param name="networkProfile">Specifies the network interfaces of
 /// the virtual machine.</param>
 /// <param name="diagnosticsProfile">Specifies the boot diagnostic
 /// settings state. &lt;br&gt;&lt;br&gt;Minimum api-version:
 /// 2015-06-15.</param>
 /// <param name="availabilitySet">Specifies information about the
 /// availability set that the virtual machine should be assigned to.
 /// Virtual machines specified in the same availability set are
 /// allocated to different nodes to maximize availability. For more
 /// information about availability sets, see [Manage the availability
 /// of virtual
 /// machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
 /// &lt;br&gt;&lt;br&gt; For more information on Azure planned
 /// maintainance, see [Planned maintenance for virtual machines in
 /// Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
 /// &lt;br&gt;&lt;br&gt; Currently, a VM can only be added to
 /// availability set at creation time. An existing VM cannot be added
 /// to an availability set.</param>
 /// <param name="provisioningState">The provisioning state, which only
 /// appears in the response.</param>
 /// <param name="instanceView">The virtual machine instance
 /// view.</param>
 /// <param name="licenseType">Specifies that the image or disk that is
 /// being used was licensed on-premises. This element is only used for
 /// images that contain the Windows Server operating system.
 /// &lt;br&gt;&lt;br&gt; Possible values are: &lt;br&gt;&lt;br&gt;
 /// Windows_Client &lt;br&gt;&lt;br&gt; Windows_Server
 /// &lt;br&gt;&lt;br&gt; If this element is included in a request for
 /// an update, the value must match the initial value. This value
 /// cannot be updated. &lt;br&gt;&lt;br&gt; For more information, see
 /// [Azure Hybrid Use Benefit for Windows
 /// Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
 /// &lt;br&gt;&lt;br&gt; Minimum api-version: 2015-06-15</param>
 /// <param name="vmId">Specifies the VM unique ID which is a 128-bits
 /// identifier that is encoded and stored in all Azure IaaS VMs SMBIOS
 /// and can be read using platform BIOS commands.</param>
 /// <param name="resources">The virtual machine child extension
 /// resources.</param>
 /// <param name="identity">The identity of the virtual machine, if
 /// configured.</param>
 /// <param name="zones">The virtual machine zones.</param>
 public VirtualMachineInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Plan plan = default(Plan), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource availabilitySet = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), VirtualMachineInstanceView instanceView = default(VirtualMachineInstanceView), string licenseType = default(string), string vmId = default(string), IList <VirtualMachineExtensionInner> resources = default(IList <VirtualMachineExtensionInner>), VirtualMachineIdentity identity = default(VirtualMachineIdentity), IList <string> zones = default(IList <string>))
     : base(location, id, name, type, tags)
 {
     Plan               = plan;
     HardwareProfile    = hardwareProfile;
     StorageProfile     = storageProfile;
     OsProfile          = osProfile;
     NetworkProfile     = networkProfile;
     DiagnosticsProfile = diagnosticsProfile;
     AvailabilitySet    = availabilitySet;
     ProvisioningState  = provisioningState;
     InstanceView       = instanceView;
     LicenseType        = licenseType;
     VmId               = vmId;
     Resources          = resources;
     Identity           = identity;
     Zones              = zones;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the VirtualMachineScaleSetVMInner
 /// class.
 /// </summary>
 /// <param name="instanceId">The virtual machine instance ID.</param>
 /// <param name="sku">The virtual machine SKU.</param>
 /// <param name="latestModelApplied">Specifies whether the latest model
 /// has been applied to the virtual machine.</param>
 /// <param name="vmId">Azure VM unique ID.</param>
 /// <param name="instanceView">The virtual machine instance
 /// view.</param>
 /// <param name="hardwareProfile">Specifies the hardware settings for
 /// the virtual machine.</param>
 /// <param name="storageProfile">Specifies the storage settings for the
 /// virtual machine disks.</param>
 /// <param name="osProfile">Specifies the operating system settings for
 /// the virtual machine.</param>
 /// <param name="networkProfile">Specifies the network interfaces of
 /// the virtual machine.</param>
 /// <param name="diagnosticsProfile">Specifies the boot diagnostic
 /// settings state. &lt;br&gt;&lt;br&gt;Minimum api-version:
 /// 2015-06-15.</param>
 /// <param name="availabilitySet">Specifies information about the
 /// availability set that the virtual machine should be assigned to.
 /// Virtual machines specified in the same availability set are
 /// allocated to different nodes to maximize availability. For more
 /// information about availability sets, see [Manage the availability
 /// of virtual
 /// machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
 /// &lt;br&gt;&lt;br&gt; For more information on Azure planned
 /// maintainance, see [Planned maintenance for virtual machines in
 /// Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
 /// &lt;br&gt;&lt;br&gt; Currently, a VM can only be added to
 /// availability set at creation time. An existing VM cannot be added
 /// to an availability set.</param>
 /// <param name="provisioningState">The provisioning state, which only
 /// appears in the response.</param>
 /// <param name="licenseType">Specifies that the image or disk that is
 /// being used was licensed on-premises. This element is only used for
 /// images that contain the Windows Server operating system.
 /// &lt;br&gt;&lt;br&gt; Possible values are: &lt;br&gt;&lt;br&gt;
 /// Windows_Client &lt;br&gt;&lt;br&gt; Windows_Server
 /// &lt;br&gt;&lt;br&gt; If this element is included in a request for
 /// an update, the value must match the initial value. This value
 /// cannot be updated. &lt;br&gt;&lt;br&gt; For more information, see
 /// [Azure Hybrid Use Benefit for Windows
 /// Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
 /// &lt;br&gt;&lt;br&gt; Minimum api-version: 2015-06-15</param>
 /// <param name="plan">Specifies information about the marketplace
 /// image used to create the virtual machine. This element is only used
 /// for marketplace images. Before you can use a marketplace image from
 /// an API, you must enable the image for programmatic use.  In the
 /// Azure portal, find the marketplace image that you want to use and
 /// then click **Want to deploy programmatically, Get Started -&gt;**.
 /// Enter any required information and then click **Save**.</param>
 /// <param name="resources">The virtual machine child extension
 /// resources.</param>
 public VirtualMachineScaleSetVMInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string instanceId = default(string), Sku sku = default(Sku), bool?latestModelApplied = default(bool?), string vmId = default(string), VirtualMachineInstanceView instanceView = default(VirtualMachineInstanceView), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource availabilitySet = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string licenseType = default(string), Plan plan = default(Plan), IList <VirtualMachineExtensionInner> resources = default(IList <VirtualMachineExtensionInner>))
     : base(location, id, name, type, tags)
 {
     InstanceId         = instanceId;
     Sku                = sku;
     LatestModelApplied = latestModelApplied;
     VmId               = vmId;
     InstanceView       = instanceView;
     HardwareProfile    = hardwareProfile;
     StorageProfile     = storageProfile;
     OsProfile          = osProfile;
     NetworkProfile     = networkProfile;
     DiagnosticsProfile = diagnosticsProfile;
     AvailabilitySet    = availabilitySet;
     ProvisioningState  = provisioningState;
     LicenseType        = licenseType;
     Plan               = plan;
     Resources          = resources;
     CustomInit();
 }
Ejemplo n.º 25
0
 /// <summary>
 /// Initializes a new instance of the
 /// ApplicationGatewayBackendHttpSettingsInner class.
 /// </summary>
 /// <param name="port">Port</param>
 /// <param name="protocol">Protocol. Possible values include: 'Http',
 /// 'Https'</param>
 /// <param name="cookieBasedAffinity">Cookie based affinity. Possible
 /// values include: 'Enabled', 'Disabled'</param>
 /// <param name="requestTimeout">Request timeout in seconds.
 /// Application Gateway will fail the request if response is not
 /// received within RequestTimeout. Acceptable values are from 1 second
 /// to 86400 seconds.</param>
 /// <param name="probe">Probe resource of an application
 /// gateway.</param>
 /// <param name="authenticationCertificates">Array of references to
 /// application gateway authentication certificates.</param>
 /// <param name="connectionDraining">Connection draining of the backend
 /// http settings resource.</param>
 /// <param name="hostName">Host header to be sent to the backend
 /// servers.</param>
 /// <param name="pickHostNameFromBackendAddress">Whether to pick host
 /// header should be picked from the host name of the backend server.
 /// Default value is false.</param>
 /// <param name="affinityCookieName">Cookie name to use for the
 /// affinity cookie.</param>
 /// <param name="probeEnabled">Whether the probe is enabled. Default
 /// value is false.</param>
 /// <param name="path">Path which should be used as a prefix for all
 /// HTTP requests. Null means no path will be prefixed. Default value
 /// is null.</param>
 /// <param name="provisioningState">Provisioning state of the backend
 /// http settings resource. Possible values are: 'Updating',
 /// 'Deleting', and 'Failed'.</param>
 /// <param name="name">Name of the resource that is unique within a
 /// resource group. 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 ApplicationGatewayBackendHttpSettingsInner(string id = default(string), int?port = default(int?), string protocol = default(string), string cookieBasedAffinity = default(string), int?requestTimeout = default(int?), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource probe = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> authenticationCertificates = default(IList <Microsoft.Azure.Management.ResourceManager.Fluent.SubResource>), ApplicationGatewayConnectionDraining connectionDraining = default(ApplicationGatewayConnectionDraining), string hostName = default(string), bool?pickHostNameFromBackendAddress = default(bool?), string affinityCookieName = default(string), bool?probeEnabled = default(bool?), string path = default(string), string provisioningState = default(string), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     Port                           = port;
     Protocol                       = protocol;
     CookieBasedAffinity            = cookieBasedAffinity;
     RequestTimeout                 = requestTimeout;
     Probe                          = probe;
     AuthenticationCertificates     = authenticationCertificates;
     ConnectionDraining             = connectionDraining;
     HostName                       = hostName;
     PickHostNameFromBackendAddress = pickHostNameFromBackendAddress;
     AffinityCookieName             = affinityCookieName;
     ProbeEnabled                   = probeEnabled;
     Path                           = path;
     ProvisioningState              = provisioningState;
     Name                           = name;
     Etag                           = etag;
     Type                           = type;
     CustomInit();
 }
Ejemplo n.º 26
0
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualNetworkGatewayConnectionListEntityInner class.
 /// </summary>
 /// <param name="virtualNetworkGateway1">The reference to virtual
 /// network gateway resource.</param>
 /// <param name="connectionType">Gateway connection type. Possible
 /// values are: 'Ipsec','Vnet2Vnet','ExpressRoute', and 'VPNClient.
 /// Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute',
 /// 'VPNClient'</param>
 /// <param name="authorizationKey">The authorizationKey.</param>
 /// <param name="virtualNetworkGateway2">The reference to virtual
 /// network gateway resource.</param>
 /// <param name="localNetworkGateway2">The reference to local network
 /// gateway resource.</param>
 /// <param name="routingWeight">The routing weight.</param>
 /// <param name="sharedKey">The IPSec shared key.</param>
 /// <param name="connectionStatus">Virtual network Gateway connection
 /// status. Possible values are 'Unknown', 'Connecting', 'Connected'
 /// and 'NotConnected'. Possible values include: 'Unknown',
 /// 'Connecting', 'Connected', 'NotConnected'</param>
 /// <param name="tunnelConnectionStatus">Collection of all tunnels'
 /// connection health status.</param>
 /// <param name="egressBytesTransferred">The egress bytes transferred
 /// in this connection.</param>
 /// <param name="ingressBytesTransferred">The ingress bytes transferred
 /// in this connection.</param>
 /// <param name="peer">The reference to peerings resource.</param>
 /// <param name="enableBgp">EnableBgp flag</param>
 /// <param name="usePolicyBasedTrafficSelectors">Enable policy-based
 /// traffic selectors.</param>
 /// <param name="ipsecPolicies">The IPSec Policies to be considered by
 /// this connection.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// VirtualNetworkGatewayConnection resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// VirtualNetworkGatewayConnection resource. Possible values are:
 /// 'Updating', 'Deleting', and 'Failed'.</param>
 /// <param name="etag">Gets a unique read-only string that changes
 /// whenever the resource is updated.</param>
 public VirtualNetworkGatewayConnectionListEntityInner(VirtualNetworkConnectionGatewayReference virtualNetworkGateway1, string connectionType, string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string authorizationKey = default(string), VirtualNetworkConnectionGatewayReference virtualNetworkGateway2 = default(VirtualNetworkConnectionGatewayReference), VirtualNetworkConnectionGatewayReference localNetworkGateway2 = default(VirtualNetworkConnectionGatewayReference), int?routingWeight = default(int?), string sharedKey = default(string), string connectionStatus = default(string), IList <TunnelConnectionHealth> tunnelConnectionStatus = default(IList <TunnelConnectionHealth>), long?egressBytesTransferred = default(long?), long?ingressBytesTransferred = default(long?), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource peer = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), bool?enableBgp = default(bool?), bool?usePolicyBasedTrafficSelectors = default(bool?), IList <IpsecPolicy> ipsecPolicies = default(IList <IpsecPolicy>), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     AuthorizationKey       = authorizationKey;
     VirtualNetworkGateway1 = virtualNetworkGateway1;
     VirtualNetworkGateway2 = virtualNetworkGateway2;
     LocalNetworkGateway2   = localNetworkGateway2;
     ConnectionType         = connectionType;
     RoutingWeight          = routingWeight;
     SharedKey               = sharedKey;
     ConnectionStatus        = connectionStatus;
     TunnelConnectionStatus  = tunnelConnectionStatus;
     EgressBytesTransferred  = egressBytesTransferred;
     IngressBytesTransferred = ingressBytesTransferred;
     Peer      = peer;
     EnableBgp = enableBgp;
     UsePolicyBasedTrafficSelectors = usePolicyBasedTrafficSelectors;
     IpsecPolicies     = ipsecPolicies;
     ResourceGuid      = resourceGuid;
     ProvisioningState = provisioningState;
     Etag = etag;
     CustomInit();
 }
Ejemplo n.º 27
0
 /// <summary>
 /// Initializes a new instance of the KeyVaultKeyReference class.
 /// </summary>
 /// <param name="keyUrl">The URL referencing a key encryption key in
 /// Key Vault.</param>
 /// <param name="sourceVault">The relative URL of the Key Vault
 /// containing the key.</param>
 public KeyVaultKeyReference(string keyUrl, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource sourceVault)
 {
     KeyUrl      = keyUrl;
     SourceVault = sourceVault;
     CustomInit();
 }
Ejemplo n.º 28
0
 /// <summary>
 /// Initializes a new instance of the VaultSecretGroup class.
 /// </summary>
 /// <param name="sourceVault">The relative URL of the Key Vault
 /// containing all of the certificates in VaultCertificates.</param>
 /// <param name="vaultCertificates">The list of key vault references in
 /// SourceVault which contain certificates.</param>
 public VaultSecretGroup(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource sourceVault = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), IList <VaultCertificate> vaultCertificates = default(IList <VaultCertificate>))
 {
     SourceVault       = sourceVault;
     VaultCertificates = vaultCertificates;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// EffectiveNetworkSecurityGroupAssociation class.
 /// </summary>
 /// <param name="subnet">The ID of the subnet if assigned.</param>
 /// <param name="networkInterface">The ID of the network interface if
 /// assigned.</param>
 public EffectiveNetworkSecurityGroupAssociation(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource subnet = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource), Microsoft.Azure.Management.ResourceManager.Fluent.SubResource networkInterface = default(Microsoft.Azure.Management.ResourceManager.Fluent.SubResource))
 {
     Subnet           = subnet;
     NetworkInterface = networkInterface;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the KeyVaultSecretReference class.
 /// </summary>
 /// <param name="secretUrl">The URL referencing a secret in a Key
 /// Vault.</param>
 /// <param name="sourceVault">The relative URL of the Key Vault
 /// containing the secret.</param>
 public KeyVaultSecretReference(string secretUrl, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource sourceVault)
 {
     SecretUrl   = secretUrl;
     SourceVault = sourceVault;
     CustomInit();
 }