/// <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="additionalCapabilities">Specifies additional
 /// capabilities enabled or disabled on the virtual machine in the
 /// scale set. For instance: whether the virtual machine has the
 /// capability to support attaching managed data disks with
 /// UltraSSD_LRS storage account type.</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="networkProfileConfiguration">Specifies the network
 /// profile configuration 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
 /// maintenance, 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="modelDefinitionApplied">Specifies whether the model
 /// applied to the virtual machine is the model of the virtual machine
 /// scale set or the customized model for the virtual machine.</param>
 /// <param name="protectionPolicy">Specifies the protection policy of
 /// the virtual machine.</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>
 /// <param name="zones">The virtual machine zones.</param>
 public VirtualMachineScaleSetVMInner(string location, 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), VirtualMachineScaleSetVMInstanceView instanceView = default(VirtualMachineScaleSetVMInstanceView), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), VirtualMachineScaleSetVMNetworkProfileConfiguration networkProfileConfiguration = default(VirtualMachineScaleSetVMNetworkProfileConfiguration), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), Management.ResourceManager.Fluent.SubResource availabilitySet = default(Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string licenseType = default(string), string modelDefinitionApplied = default(string), VirtualMachineScaleSetVMProtectionPolicy protectionPolicy = default(VirtualMachineScaleSetVMProtectionPolicy), Plan plan = default(Plan), IList <VirtualMachineExtensionInner> resources = default(IList <VirtualMachineExtensionInner>), IList <string> zones = default(IList <string>))
     : base(location, id, name, type, tags)
 {
     InstanceId                  = instanceId;
     Sku                         = sku;
     LatestModelApplied          = latestModelApplied;
     VmId                        = vmId;
     InstanceView                = instanceView;
     HardwareProfile             = hardwareProfile;
     StorageProfile              = storageProfile;
     AdditionalCapabilities      = additionalCapabilities;
     OsProfile                   = osProfile;
     NetworkProfile              = networkProfile;
     NetworkProfileConfiguration = networkProfileConfiguration;
     DiagnosticsProfile          = diagnosticsProfile;
     AvailabilitySet             = availabilitySet;
     ProvisioningState           = provisioningState;
     LicenseType                 = licenseType;
     ModelDefinitionApplied      = modelDefinitionApplied;
     ProtectionPolicy            = protectionPolicy;
     Plan                        = plan;
     Resources                   = resources;
     Zones                       = zones;
     CustomInit();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the VirtualMachineUpdate class.
 /// </summary>
 /// <param name="tags">Resource tags</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="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="additionalCapabilities">Specifies additional
 /// capabilities enabled or disabled on the virtual machine.</param>
 /// <param name="osProfile">Specifies the operating system settings
 /// used while creating the virtual machine. Some of the settings
 /// cannot be changed once VM is provisioned.</param>
 /// <param name="networkProfile">Specifies the network interfaces of
 /// the virtual machine.</param>
 /// <param name="securityProfile">Specifies the Security related
 /// profile settings for 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
 /// maintenance, 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. The availability set to which
 /// the VM is being added should be under the same resource group as
 /// the availability set resource. An existing VM cannot be added to an
 /// availability set. &lt;br&gt;&lt;br&gt;This property cannot exist
 /// along with a non-null properties.virtualMachineScaleSet
 /// reference.</param>
 /// <param name="virtualMachineScaleSet">Specifies information about
 /// the virtual machine scale set that the virtual machine should be
 /// assigned to. Virtual machines specified in the same virtual machine
 /// scale set are allocated to different nodes to maximize
 /// availability. Currently, a VM can only be added to virtual machine
 /// scale set at creation time. An existing VM cannot be added to a
 /// virtual machine scale set. &lt;br&gt;&lt;br&gt;This property cannot
 /// exist along with a non-null properties.availabilitySet reference.
 /// &lt;br&gt;&lt;br&gt;Minimum api‐version: 2019‐03‐01</param>
 /// <param name="proximityPlacementGroup">Specifies information about
 /// the proximity placement group that the virtual machine should be
 /// assigned to. &lt;br&gt;&lt;br&gt;Minimum api-version:
 /// 2018-04-01.</param>
 /// <param name="priority">Specifies the priority for the virtual
 /// machine. &lt;br&gt;&lt;br&gt;Minimum api-version: 2019-03-01.
 /// Possible values include: 'Regular', 'Low', 'Spot'</param>
 /// <param name="evictionPolicy">Specifies the eviction policy for the
 /// Azure Spot virtual machine and Azure Spot scale set.
 /// &lt;br&gt;&lt;br&gt;For Azure Spot virtual machines, both
 /// 'Deallocate' and 'Delete' are supported and the minimum api-version
 /// is 2019-03-01. &lt;br&gt;&lt;br&gt;For Azure Spot scale sets, both
 /// 'Deallocate' and 'Delete' are supported and the minimum api-version
 /// is 2017-10-30-preview. Possible values include: 'Deallocate',
 /// 'Delete'</param>
 /// <param name="billingProfile">Specifies the billing related details
 /// of a Azure Spot virtual machine. &lt;br&gt;&lt;br&gt;Minimum
 /// api-version: 2019-03-01.</param>
 /// <param name="host">Specifies information about the dedicated host
 /// that the virtual machine resides in. &lt;br&gt;&lt;br&gt;Minimum
 /// api-version: 2018-10-01.</param>
 /// <param name="hostGroup">Specifies information about the dedicated
 /// host group that the virtual machine resides in.
 /// &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01.
 /// &lt;br&gt;&lt;br&gt;NOTE: User cannot specify both host and
 /// hostGroup properties.</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="extensionsTimeBudget">Specifies the time alloted for
 /// all extensions to start. The time duration should be between 15
 /// minutes and 120 minutes (inclusive) and should be specified in ISO
 /// 8601 format. The default value is 90 minutes (PT1H30M).
 /// &lt;br&gt;&lt;br&gt; Minimum api-version: 2020-06-01</param>
 /// <param name="identity">The identity of the virtual machine, if
 /// configured.</param>
 /// <param name="zones">The virtual machine zones.</param>
 public VirtualMachineUpdate(IDictionary <string, string> tags = default(IDictionary <string, string>), Plan plan = default(Plan), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), SecurityProfile securityProfile = default(SecurityProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), Management.ResourceManager.Fluent.SubResource availabilitySet = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource virtualMachineScaleSet = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource proximityPlacementGroup = default(Management.ResourceManager.Fluent.SubResource), VirtualMachinePriorityTypes priority = default(VirtualMachinePriorityTypes), VirtualMachineEvictionPolicyTypes evictionPolicy = default(VirtualMachineEvictionPolicyTypes), BillingProfile billingProfile = default(BillingProfile), Management.ResourceManager.Fluent.SubResource host = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource hostGroup = default(Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), VirtualMachineInstanceView instanceView = default(VirtualMachineInstanceView), string licenseType = default(string), string vmId = default(string), string extensionsTimeBudget = default(string), VirtualMachineIdentity identity = default(VirtualMachineIdentity), IList <string> zones = default(IList <string>))
     : base(tags)
 {
     Plan                    = plan;
     HardwareProfile         = hardwareProfile;
     StorageProfile          = storageProfile;
     AdditionalCapabilities  = additionalCapabilities;
     OsProfile               = osProfile;
     NetworkProfile          = networkProfile;
     SecurityProfile         = securityProfile;
     DiagnosticsProfile      = diagnosticsProfile;
     AvailabilitySet         = availabilitySet;
     VirtualMachineScaleSet  = virtualMachineScaleSet;
     ProximityPlacementGroup = proximityPlacementGroup;
     Priority                = priority;
     EvictionPolicy          = evictionPolicy;
     BillingProfile          = billingProfile;
     Host                    = host;
     HostGroup               = hostGroup;
     ProvisioningState       = provisioningState;
     InstanceView            = instanceView;
     LicenseType             = licenseType;
     VmId                    = vmId;
     ExtensionsTimeBudget    = extensionsTimeBudget;
     Identity                = identity;
     Zones                   = zones;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ExpressRouteCircuitPeeringInner
 /// class.
 /// </summary>
 /// <param name="peeringType">The peering type. Possible values
 /// include: 'AzurePublicPeering', 'AzurePrivatePeering',
 /// 'MicrosoftPeering'</param>
 /// <param name="state">The peering state. Possible values include:
 /// 'Disabled', 'Enabled'</param>
 /// <param name="azureASN">The Azure ASN.</param>
 /// <param name="peerASN">The peer ASN.</param>
 /// <param name="primaryPeerAddressPrefix">The primary address
 /// prefix.</param>
 /// <param name="secondaryPeerAddressPrefix">The secondary address
 /// prefix.</param>
 /// <param name="primaryAzurePort">The primary port.</param>
 /// <param name="secondaryAzurePort">The secondary port.</param>
 /// <param name="sharedKey">The shared key.</param>
 /// <param name="vlanId">The VLAN ID.</param>
 /// <param name="microsoftPeeringConfig">The Microsoft peering
 /// configuration.</param>
 /// <param name="stats">Gets peering stats.</param>
 /// <param name="provisioningState">Gets the provisioning state of the
 /// public IP resource. Possible values are: 'Updating', 'Deleting',
 /// and 'Failed'.</param>
 /// <param name="gatewayManagerEtag">The GatewayManager Etag.</param>
 /// <param name="lastModifiedBy">Gets whether the provider or the
 /// customer last modified the peering.</param>
 /// <param name="routeFilter">The reference of the RouteFilter
 /// resource.</param>
 /// <param name="ipv6PeeringConfig">The IPv6 peering
 /// configuration.</param>
 /// <param name="connections">The list of circuit connections
 /// associated with Azure Private Peering for this circuit.</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 ExpressRouteCircuitPeeringInner(string id = default(string), ExpressRoutePeeringType peeringType = default(ExpressRoutePeeringType), ExpressRoutePeeringState state = default(ExpressRoutePeeringState), int?azureASN = default(int?), long?peerASN = default(long?), string primaryPeerAddressPrefix = default(string), string secondaryPeerAddressPrefix = default(string), string primaryAzurePort = default(string), string secondaryAzurePort = default(string), string sharedKey = default(string), int?vlanId = default(int?), ExpressRouteCircuitPeeringConfig microsoftPeeringConfig = default(ExpressRouteCircuitPeeringConfig), ExpressRouteCircuitStatsInner stats = default(ExpressRouteCircuitStatsInner), string provisioningState = default(string), string gatewayManagerEtag = default(string), string lastModifiedBy = default(string), Management.ResourceManager.Fluent.SubResource routeFilter = default(Management.ResourceManager.Fluent.SubResource), Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig = default(Ipv6ExpressRouteCircuitPeeringConfig), IList <ExpressRouteCircuitConnectionInner> connections = default(IList <ExpressRouteCircuitConnectionInner>), string name = default(string), string etag = default(string))
     : base(id)
 {
     PeeringType = peeringType;
     State       = state;
     AzureASN    = azureASN;
     PeerASN     = peerASN;
     PrimaryPeerAddressPrefix   = primaryPeerAddressPrefix;
     SecondaryPeerAddressPrefix = secondaryPeerAddressPrefix;
     PrimaryAzurePort           = primaryAzurePort;
     SecondaryAzurePort         = secondaryAzurePort;
     SharedKey = sharedKey;
     VlanId    = vlanId;
     MicrosoftPeeringConfig = microsoftPeeringConfig;
     Stats              = stats;
     ProvisioningState  = provisioningState;
     GatewayManagerEtag = gatewayManagerEtag;
     LastModifiedBy     = lastModifiedBy;
     RouteFilter        = routeFilter;
     Ipv6PeeringConfig  = ipv6PeeringConfig;
     Connections        = connections;
     Name = name;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualMachineScaleSetUpdateStorageProfile class.
 /// </summary>
 /// <param name="imageReference">The image reference.</param>
 /// <param name="osDisk">The OS disk.</param>
 /// <param name="dataDisks">The data disks.</param>
 public VirtualMachineScaleSetUpdateStorageProfile(Management.ResourceManager.Fluent.SubResource imageReference = default(Management.ResourceManager.Fluent.SubResource), VirtualMachineScaleSetUpdateOSDisk osDisk = default(VirtualMachineScaleSetUpdateOSDisk), IList <VirtualMachineScaleSetDataDisk> dataDisks = default(IList <VirtualMachineScaleSetDataDisk>))
 {
     ImageReference = imageReference;
     OsDisk         = osDisk;
     DataDisks      = dataDisks;
     CustomInit();
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the ManagedDiskParametersInner class.
 /// </summary>
 /// <param name="storageAccountType">Specifies the storage account type
 /// for the managed disk. NOTE: UltraSSD_LRS can only be used with data
 /// disks, it cannot be used with OS Disk. Possible values include:
 /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS',
 /// 'UltraSSD_LRS'</param>
 /// <param name="diskEncryptionSet">Specifies the customer managed disk
 /// encryption set resource id for the managed disk.</param>
 public ManagedDiskParametersInner(string id = default(string), StorageAccountTypes storageAccountType = default(StorageAccountTypes), Management.ResourceManager.Fluent.SubResource diskEncryptionSet = default(Management.ResourceManager.Fluent.SubResource))
     : base(id)
 {
     StorageAccountType = storageAccountType;
     DiskEncryptionSet  = diskEncryptionSet;
     CustomInit();
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the ApplicationGatewayInner class.
 /// </summary>
 /// <param name="sku">SKU of the application gateway resource.</param>
 /// <param name="sslPolicy">SSL policy of the application gateway
 /// resource.</param>
 /// <param name="operationalState">Operational state of the application
 /// gateway resource. Possible values include: 'Stopped', 'Starting',
 /// 'Running', 'Stopping'</param>
 /// <param name="gatewayIPConfigurations">Subnets of the application
 /// gateway resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="authenticationCertificates">Authentication
 /// certificates of the application gateway resource. For default
 /// limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="trustedRootCertificates">Trusted Root certificates of
 /// the application gateway resource. For default limits, see
 /// [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="sslCertificates">SSL certificates of the application
 /// gateway resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="frontendIPConfigurations">Frontend IP addresses of the
 /// application gateway resource. For default limits, see [Application
 /// Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="frontendPorts">Frontend ports of the application
 /// gateway resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="probes">Probes of the application gateway
 /// resource.</param>
 /// <param name="backendAddressPools">Backend address pool of the
 /// application gateway resource. For default limits, see [Application
 /// Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="backendHttpSettingsCollection">Backend http settings
 /// of the application gateway resource. For default limits, see
 /// [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="httpListeners">Http listeners of the application
 /// gateway resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="urlPathMaps">URL path map of the application gateway
 /// resource. For default limits, see [Application Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="requestRoutingRules">Request routing rules of the
 /// application gateway resource.</param>
 /// <param name="rewriteRuleSets">Rewrite rules for the application
 /// gateway resource.</param>
 /// <param name="redirectConfigurations">Redirect configurations of the
 /// application gateway resource. For default limits, see [Application
 /// Gateway
 /// limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).</param>
 /// <param name="webApplicationFirewallConfiguration">Web application
 /// firewall configuration.</param>
 /// <param name="firewallPolicy">Reference of the FirewallPolicy
 /// resource.</param>
 /// <param name="enableHttp2">Whether HTTP2 is enabled on the
 /// application gateway resource.</param>
 /// <param name="enableFips">Whether FIPS is enabled on the application
 /// gateway resource.</param>
 /// <param name="autoscaleConfiguration">Autoscale
 /// Configuration.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// application gateway resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// application gateway resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="customErrorConfigurations">Custom error configurations
 /// of the application gateway 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 where the
 /// resource needs to come from.</param>
 /// <param name="identity">The identity of the application gateway, if
 /// configured.</param>
 public ApplicationGatewayInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ApplicationGatewaySku sku = default(ApplicationGatewaySku), ApplicationGatewaySslPolicy sslPolicy = default(ApplicationGatewaySslPolicy), ApplicationGatewayOperationalState operationalState = default(ApplicationGatewayOperationalState), IList <ApplicationGatewayIPConfigurationInner> gatewayIPConfigurations = default(IList <ApplicationGatewayIPConfigurationInner>), IList <ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates = default(IList <ApplicationGatewayAuthenticationCertificateInner>), IList <ApplicationGatewayTrustedRootCertificateInner> trustedRootCertificates = default(IList <ApplicationGatewayTrustedRootCertificateInner>), IList <ApplicationGatewaySslCertificateInner> sslCertificates = default(IList <ApplicationGatewaySslCertificateInner>), IList <ApplicationGatewayFrontendIPConfigurationInner> frontendIPConfigurations = default(IList <ApplicationGatewayFrontendIPConfigurationInner>), IList <ApplicationGatewayFrontendPortInner> frontendPorts = default(IList <ApplicationGatewayFrontendPortInner>), IList <ApplicationGatewayProbeInner> probes = default(IList <ApplicationGatewayProbeInner>), IList <ApplicationGatewayBackendAddressPoolInner> backendAddressPools = default(IList <ApplicationGatewayBackendAddressPoolInner>), IList <ApplicationGatewayBackendHttpSettingsInner> backendHttpSettingsCollection = default(IList <ApplicationGatewayBackendHttpSettingsInner>), IList <ApplicationGatewayHttpListenerInner> httpListeners = default(IList <ApplicationGatewayHttpListenerInner>), IList <ApplicationGatewayUrlPathMapInner> urlPathMaps = default(IList <ApplicationGatewayUrlPathMapInner>), IList <ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules = default(IList <ApplicationGatewayRequestRoutingRuleInner>), IList <ApplicationGatewayRewriteRuleSetInner> rewriteRuleSets = default(IList <ApplicationGatewayRewriteRuleSetInner>), IList <ApplicationGatewayRedirectConfigurationInner> redirectConfigurations = default(IList <ApplicationGatewayRedirectConfigurationInner>), ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration = default(ApplicationGatewayWebApplicationFirewallConfiguration), Management.ResourceManager.Fluent.SubResource firewallPolicy = default(Management.ResourceManager.Fluent.SubResource), bool?enableHttp2 = default(bool?), bool?enableFips = default(bool?), ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration = default(ApplicationGatewayAutoscaleConfiguration), string resourceGuid = default(string), ProvisioningState provisioningState = default(ProvisioningState), IList <ApplicationGatewayCustomError> customErrorConfigurations = default(IList <ApplicationGatewayCustomError>), string etag = default(string), IList <string> zones = default(IList <string>), ManagedServiceIdentity identity = default(ManagedServiceIdentity))
     : base(location, id, name, type, tags)
 {
     Sku                                 = sku;
     SslPolicy                           = sslPolicy;
     OperationalState                    = operationalState;
     GatewayIPConfigurations             = gatewayIPConfigurations;
     AuthenticationCertificates          = authenticationCertificates;
     TrustedRootCertificates             = trustedRootCertificates;
     SslCertificates                     = sslCertificates;
     FrontendIPConfigurations            = frontendIPConfigurations;
     FrontendPorts                       = frontendPorts;
     Probes                              = probes;
     BackendAddressPools                 = backendAddressPools;
     BackendHttpSettingsCollection       = backendHttpSettingsCollection;
     HttpListeners                       = httpListeners;
     UrlPathMaps                         = urlPathMaps;
     RequestRoutingRules                 = requestRoutingRules;
     RewriteRuleSets                     = rewriteRuleSets;
     RedirectConfigurations              = redirectConfigurations;
     WebApplicationFirewallConfiguration = webApplicationFirewallConfiguration;
     FirewallPolicy                      = firewallPolicy;
     EnableHttp2                         = enableHttp2;
     EnableFips                          = enableFips;
     AutoscaleConfiguration              = autoscaleConfiguration;
     ResourceGuid                        = resourceGuid;
     ProvisioningState                   = provisioningState;
     CustomErrorConfigurations           = customErrorConfigurations;
     Etag                                = etag;
     Zones                               = zones;
     Identity                            = identity;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualNetworkGatewayConnectionInner class.
 /// </summary>
 /// <param name="virtualNetworkGateway1">The reference to virtual
 /// network gateway resource.</param>
 /// <param name="connectionType">Gateway connection type. 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="connectionProtocol">Connection protocol used for this
 /// connection. Possible values include: 'IKEv2', 'IKEv1'</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 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="trafficSelectorPolicies">The Traffic Selector Policies
 /// to be considered by this connection.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// virtual network gateway connection resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// virtual network gateway connection resource. Possible values
 /// include: 'Succeeded', 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="expressRouteGatewayBypass">Bypass ExpressRoute Gateway
 /// for data forwarding.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public VirtualNetworkGatewayConnectionInner(Management.ResourceManager.Fluent.SubResource virtualNetworkGateway1, VirtualNetworkGatewayConnectionType 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), Management.ResourceManager.Fluent.SubResource virtualNetworkGateway2 = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource localNetworkGateway2 = default(Management.ResourceManager.Fluent.SubResource), VirtualNetworkGatewayConnectionProtocol connectionProtocol = default(VirtualNetworkGatewayConnectionProtocol), int?routingWeight = default(int?), string sharedKey = default(string), VirtualNetworkGatewayConnectionStatus connectionStatus = default(VirtualNetworkGatewayConnectionStatus), IList <TunnelConnectionHealth> tunnelConnectionStatus = default(IList <TunnelConnectionHealth>), long?egressBytesTransferred = default(long?), long?ingressBytesTransferred = default(long?), Management.ResourceManager.Fluent.SubResource peer = default(Management.ResourceManager.Fluent.SubResource), bool?enableBgp = default(bool?), bool?usePolicyBasedTrafficSelectors = default(bool?), IList <IpsecPolicy> ipsecPolicies = default(IList <IpsecPolicy>), IList <TrafficSelectorPolicy> trafficSelectorPolicies = default(IList <TrafficSelectorPolicy>), string resourceGuid = default(string), ProvisioningState provisioningState = default(ProvisioningState), bool?expressRouteGatewayBypass = default(bool?), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     AuthorizationKey       = authorizationKey;
     VirtualNetworkGateway1 = virtualNetworkGateway1;
     VirtualNetworkGateway2 = virtualNetworkGateway2;
     LocalNetworkGateway2   = localNetworkGateway2;
     ConnectionType         = connectionType;
     ConnectionProtocol     = connectionProtocol;
     RoutingWeight          = routingWeight;
     SharedKey               = sharedKey;
     ConnectionStatus        = connectionStatus;
     TunnelConnectionStatus  = tunnelConnectionStatus;
     EgressBytesTransferred  = egressBytesTransferred;
     IngressBytesTransferred = ingressBytesTransferred;
     Peer      = peer;
     EnableBgp = enableBgp;
     UsePolicyBasedTrafficSelectors = usePolicyBasedTrafficSelectors;
     IpsecPolicies             = ipsecPolicies;
     TrafficSelectorPolicies   = trafficSelectorPolicies;
     ResourceGuid              = resourceGuid;
     ProvisioningState         = provisioningState;
     ExpressRouteGatewayBypass = expressRouteGatewayBypass;
     Etag = etag;
     CustomInit();
 }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the TopologyParameters class.
 /// </summary>
 /// <param name="targetResourceGroupName">The name of the target
 /// resource group to perform topology on.</param>
 /// <param name="targetVirtualNetwork">The reference of the Virtual
 /// Network resource.</param>
 /// <param name="targetSubnet">The reference of the Subnet
 /// resource.</param>
 public TopologyParameters(string targetResourceGroupName = default(string), Management.ResourceManager.Fluent.SubResource targetVirtualNetwork = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource targetSubnet = default(Management.ResourceManager.Fluent.SubResource))
 {
     TargetResourceGroupName = targetResourceGroupName;
     TargetVirtualNetwork    = targetVirtualNetwork;
     TargetSubnet            = targetSubnet;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ApplicationGatewayBackendHealthServer class.
 /// </summary>
 /// <param name="address">IP address or FQDN of backend server.</param>
 /// <param name="ipConfiguration">Reference of IP configuration of
 /// backend server.</param>
 /// <param name="health">Health of backend server. Possible values
 /// include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'</param>
 public ApplicationGatewayBackendHealthServer(string address = default(string), Management.ResourceManager.Fluent.SubResource ipConfiguration = default(Management.ResourceManager.Fluent.SubResource), ApplicationGatewayBackendHealthServerHealth health = default(ApplicationGatewayBackendHealthServerHealth))
 {
     Address         = address;
     IpConfiguration = ipConfiguration;
     Health          = health;
     CustomInit();
 }
 /// <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(Management.ResourceManager.Fluent.SubResource networkSecurityGroup = default(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();
 }
 /// <summary>
 /// Initializes a new instance of the PrivateEndpointConnectionInner
 /// class.
 /// </summary>
 /// <param name="privateEndpoint">The resource of private end
 /// point.</param>
 /// <param name="privateLinkServiceConnectionState">A collection of
 /// information about the state of the connection between service
 /// consumer and provider.</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>
 public PrivateEndpointConnectionInner(string id = default(string), Management.ResourceManager.Fluent.SubResource privateEndpoint = default(Management.ResourceManager.Fluent.SubResource), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), string name = default(string))
     : base(id)
 {
     PrivateEndpoint = privateEndpoint;
     PrivateLinkServiceConnectionState = privateLinkServiceConnectionState;
     Name = name;
     CustomInit();
 }
 /// <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, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Management.ResourceManager.Fluent.SubResource sourceVirtualMachine = default(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();
 }
Пример #13
0
 /// <summary>
 /// Initializes a new instance of the ImageUpdateInner class.
 /// </summary>
 /// <param name="tags">Resource tags</param>
 /// <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 ImageUpdateInner(IDictionary <string, string> tags = default(IDictionary <string, string>), Management.ResourceManager.Fluent.SubResource sourceVirtualMachine = default(Management.ResourceManager.Fluent.SubResource), ImageStorageProfile storageProfile = default(ImageStorageProfile), string provisioningState = default(string))
     : base(tags)
 {
     SourceVirtualMachine = sourceVirtualMachine;
     StorageProfile       = storageProfile;
     ProvisioningState    = provisioningState;
     CustomInit();
 }
Пример #14
0
 /// <summary>
 /// Initializes a new instance of the
 /// Ipv6ExpressRouteCircuitPeeringConfig class.
 /// </summary>
 /// <param name="primaryPeerAddressPrefix">The primary address
 /// prefix.</param>
 /// <param name="secondaryPeerAddressPrefix">The secondary address
 /// prefix.</param>
 /// <param name="microsoftPeeringConfig">The Microsoft peering
 /// configuration.</param>
 /// <param name="routeFilter">The reference of the RouteFilter
 /// resource.</param>
 /// <param name="state">The state of peering. Possible values include:
 /// 'Disabled', 'Enabled'</param>
 public Ipv6ExpressRouteCircuitPeeringConfig(string primaryPeerAddressPrefix = default(string), string secondaryPeerAddressPrefix = default(string), ExpressRouteCircuitPeeringConfig microsoftPeeringConfig = default(ExpressRouteCircuitPeeringConfig), Management.ResourceManager.Fluent.SubResource routeFilter = default(Management.ResourceManager.Fluent.SubResource), ExpressRouteCircuitPeeringState state = default(ExpressRouteCircuitPeeringState))
 {
     PrimaryPeerAddressPrefix   = primaryPeerAddressPrefix;
     SecondaryPeerAddressPrefix = secondaryPeerAddressPrefix;
     MicrosoftPeeringConfig     = microsoftPeeringConfig;
     RouteFilter = routeFilter;
     State       = state;
     CustomInit();
 }
Пример #15
0
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualMachineScaleSetPublicIPAddressConfiguration class.
 /// </summary>
 /// <param name="name">The publicIP address configuration name.</param>
 /// <param name="idleTimeoutInMinutes">The idle timeout of the public
 /// IP address.</param>
 /// <param name="dnsSettings">The dns settings to be applied on the
 /// publicIP addresses .</param>
 /// <param name="ipTags">The list of IP tags associated with the public
 /// IP address.</param>
 /// <param name="publicIPPrefix">The PublicIPPrefix from which to
 /// allocate publicIP addresses.</param>
 public VirtualMachineScaleSetPublicIPAddressConfiguration(string name, int?idleTimeoutInMinutes = default(int?), VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings dnsSettings = default(VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings), IList <VirtualMachineScaleSetIpTag> ipTags = default(IList <VirtualMachineScaleSetIpTag>), Management.ResourceManager.Fluent.SubResource publicIPPrefix = default(Management.ResourceManager.Fluent.SubResource))
 {
     Name = name;
     IdleTimeoutInMinutes = idleTimeoutInMinutes;
     DnsSettings          = dnsSettings;
     IpTags         = ipTags;
     PublicIPPrefix = publicIPPrefix;
     CustomInit();
 }
Пример #16
0
 /// <summary>
 /// Initializes a new instance of the ImageUpdate class.
 /// </summary>
 /// <param name="tags">Resource tags</param>
 /// <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>
 /// <param name="hyperVGeneration">Gets the HyperVGenerationType of the
 /// VirtualMachine created from the image. Possible values include:
 /// 'V1', 'V2'</param>
 public ImageUpdate(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Management.ResourceManager.Fluent.SubResource sourceVirtualMachine = default(Management.ResourceManager.Fluent.SubResource), ImageStorageProfile storageProfile = default(ImageStorageProfile), string provisioningState = default(string), HyperVGenerationTypes hyperVGeneration = default(HyperVGenerationTypes))
     : base(id, name, type, tags)
 {
     SourceVirtualMachine = sourceVirtualMachine;
     StorageProfile       = storageProfile;
     ProvisioningState    = provisioningState;
     HyperVGeneration     = hyperVGeneration;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// NetworkInterfaceTapConfigurationInner class.
 /// </summary>
 /// <param name="virtualNetworkTap">The reference of the Virtual
 /// Network Tap resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// network interface tap configuration resource. Possible values
 /// include: 'Succeeded', 'Updating', 'Deleting', '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="type">Sub Resource type.</param>
 public NetworkInterfaceTapConfigurationInner(string id = default(string), Management.ResourceManager.Fluent.SubResource virtualNetworkTap = default(Management.ResourceManager.Fluent.SubResource), ProvisioningState provisioningState = default(ProvisioningState), string name = default(string), string etag = default(string), string type = default(string))
     : base(id)
 {
     VirtualNetworkTap = virtualNetworkTap;
     ProvisioningState = provisioningState;
     Name = name;
     Etag = etag;
     Type = type;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the IPConfigurationProfileInner
 /// class.
 /// </summary>
 /// <param name="subnet">The reference of the subnet resource to create
 /// a container network interface ip configuration.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// resource.</param>
 /// <param name="name">The name of the resource. This name can be used
 /// to access the resource.</param>
 /// <param name="type">Sub Resource type.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public IPConfigurationProfileInner(string id = default(string), Management.ResourceManager.Fluent.SubResource subnet = default(Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), string name = default(string), string type = default(string), string etag = default(string))
     : base(id)
 {
     Subnet            = subnet;
     ProvisioningState = provisioningState;
     Name = name;
     Type = type;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkLinkInner class.
 /// </summary>
 /// <param name="tags">Resource tags.</param>
 /// <param name="location">The Azure Region where the resource
 /// lives</param>
 /// <param name="etag">The ETag of the virtual network link.</param>
 /// <param name="virtualNetwork">The reference of the virtual
 /// network.</param>
 /// <param name="registrationEnabled">Is auto-registration of virtual
 /// machine records in the virtual network in the Private DNS zone
 /// enabled?</param>
 /// <param name="virtualNetworkLinkState">The status of the virtual
 /// network link to the Private DNS zone. Possible values are
 /// 'InProgress' and 'Done'. This is a read-only property and any
 /// attempt to set this value will be ignored. Possible values include:
 /// 'InProgress', 'Completed'</param>
 /// <param name="provisioningState">The provisioning state of the
 /// resource. This is a read-only property and any attempt to set this
 /// value will be ignored. Possible values include: 'Creating',
 /// 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'</param>
 public VirtualNetworkLinkInner(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string location = default(string), string etag = default(string), Management.ResourceManager.Fluent.SubResource virtualNetwork = default(Management.ResourceManager.Fluent.SubResource), bool?registrationEnabled = default(bool?), VirtualNetworkLinkState virtualNetworkLinkState = default(VirtualNetworkLinkState), ProvisioningState provisioningState = default(ProvisioningState))
     : base(id, name, type, tags, location)
 {
     Etag                    = etag;
     VirtualNetwork          = virtualNetwork;
     RegistrationEnabled     = registrationEnabled;
     VirtualNetworkLinkState = virtualNetworkLinkState;
     ProvisioningState       = provisioningState;
     CustomInit();
 }
Пример #20
0
 /// <summary>
 /// Initializes a new instance of the AvailabilitySetUpdate class.
 /// </summary>
 /// <param name="tags">Resource tags</param>
 /// <param name="platformUpdateDomainCount">Update Domain
 /// count.</param>
 /// <param name="platformFaultDomainCount">Fault Domain count.</param>
 /// <param name="virtualMachines">A list of references to all virtual
 /// machines in the availability set.</param>
 /// <param name="proximityPlacementGroup">Specifies information about
 /// the proximity placement group that the availability set should be
 /// assigned to. &lt;br&gt;&lt;br&gt;Minimum api-version:
 /// 2018-04-01.</param>
 /// <param name="statuses">The resource status information.</param>
 /// <param name="sku">Sku of the availability set</param>
 public AvailabilitySetUpdate(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), int?platformUpdateDomainCount = default(int?), int?platformFaultDomainCount = default(int?), IList <Management.ResourceManager.Fluent.SubResource> virtualMachines = default(IList <Management.ResourceManager.Fluent.SubResource>), Management.ResourceManager.Fluent.SubResource proximityPlacementGroup = default(Management.ResourceManager.Fluent.SubResource), IList <InstanceViewStatus> statuses = default(IList <InstanceViewStatus>), Sku sku = default(Sku))
     : base(id, name, type, tags)
 {
     PlatformUpdateDomainCount = platformUpdateDomainCount;
     PlatformFaultDomainCount  = platformFaultDomainCount;
     VirtualMachines           = virtualMachines;
     ProximityPlacementGroup   = proximityPlacementGroup;
     Statuses = statuses;
     Sku      = sku;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the PrivateEndpointInner class.
 /// </summary>
 /// <param name="subnet">The ID of the subnet from which the private IP
 /// will be allocated.</param>
 /// <param name="networkInterfaces">An array of references to the
 /// network interfaces created for this private endpoint.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// private endpoint resource. Possible values include: 'Succeeded',
 /// 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="privateLinkServiceConnections">A grouping of
 /// information about the connection to the remote resource.</param>
 /// <param name="manualPrivateLinkServiceConnections">A grouping of
 /// information about the connection to the remote resource. Used when
 /// the network admin does not have access to approve connections to
 /// the remote resource.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public PrivateEndpointInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Management.ResourceManager.Fluent.SubResource subnet = default(Management.ResourceManager.Fluent.SubResource), IList <NetworkInterfaceInner> networkInterfaces = default(IList <NetworkInterfaceInner>), ProvisioningState provisioningState = default(ProvisioningState), IList <PrivateLinkServiceConnectionInner> privateLinkServiceConnections = default(IList <PrivateLinkServiceConnectionInner>), IList <PrivateLinkServiceConnectionInner> manualPrivateLinkServiceConnections = default(IList <PrivateLinkServiceConnectionInner>), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     Subnet                              = subnet;
     NetworkInterfaces                   = networkInterfaces;
     ProvisioningState                   = provisioningState;
     PrivateLinkServiceConnections       = privateLinkServiceConnections;
     ManualPrivateLinkServiceConnections = manualPrivateLinkServiceConnections;
     Etag = etag;
     CustomInit();
 }
Пример #22
0
 /// <summary>
 /// Initializes a new instance of the AzureFirewallIPConfigurationInner
 /// class.
 /// </summary>
 /// <param name="privateIPAddress">The Firewall Internal Load Balancer
 /// IP to be used as the next hop in User Defined Routes.</param>
 /// <param name="subnet">Reference of the subnet resource. This
 /// resource must be named 'AzureFirewallSubnet'.</param>
 /// <param name="publicIPAddress">Reference of the PublicIP resource.
 /// This field is a mandatory input if subnet is not null.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// resource. Possible values include: 'Succeeded', 'Updating',
 /// 'Deleting', '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>
 public AzureFirewallIPConfigurationInner(string id = default(string), string privateIPAddress = default(string), Management.ResourceManager.Fluent.SubResource subnet = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource publicIPAddress = default(Management.ResourceManager.Fluent.SubResource), ProvisioningState provisioningState = default(ProvisioningState), string name = default(string), string etag = default(string))
     : base(id)
 {
     PrivateIPAddress  = privateIPAddress;
     Subnet            = subnet;
     PublicIPAddress   = publicIPAddress;
     ProvisioningState = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }
Пример #23
0
 /// <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,
 /// Premium_LRS, and StandardSSD_LRS. Possible values include:
 /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'</param>
 public ImageDataDisk(int lun, Management.ResourceManager.Fluent.SubResource snapshot = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource managedDisk = default(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 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 <Management.ResourceManager.Fluent.SubResource> loadBalancingRules = default(IList <Management.ResourceManager.Fluent.SubResource>), Management.ResourceManager.Fluent.SubResource outboundNatRule = default(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 VpnGatewayInner class.
 /// </summary>
 /// <param name="virtualHub">The VirtualHub to which the gateway
 /// belongs.</param>
 /// <param name="connections">List of all vpn connections to the
 /// gateway.</param>
 /// <param name="bgpSettings">Local network gateway's BGP speaker
 /// settings.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// resource. Possible values include: 'Succeeded', 'Updating',
 /// 'Deleting', 'Failed'</param>
 /// <param name="vpnGatewayScaleUnit">The scale unit for this vpn
 /// gateway.</param>
 /// <param name="etag">Gets a unique read-only string that changes
 /// whenever the resource is updated.</param>
 public VpnGatewayInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Management.ResourceManager.Fluent.SubResource virtualHub = default(Management.ResourceManager.Fluent.SubResource), IList <VpnConnectionInner> connections = default(IList <VpnConnectionInner>), BgpSettings bgpSettings = default(BgpSettings), ProvisioningState provisioningState = default(ProvisioningState), int?vpnGatewayScaleUnit = default(int?), string etag = default(string))
     : base(location, id, name, type, tags)
 {
     VirtualHub          = virtualHub;
     Connections         = connections;
     BgpSettings         = bgpSettings;
     ProvisioningState   = provisioningState;
     VpnGatewayScaleUnit = vpnGatewayScaleUnit;
     Etag = etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the PrivateLinkServiceIpConfiguration
 /// class.
 /// </summary>
 /// <param name="privateIPAddress">The private IP address of the IP
 /// configuration.</param>
 /// <param name="privateIPAllocationMethod">The private IP address
 /// allocation method. 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="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 include: 'IPv4', 'IPv6'</param>
 /// <param name="name">The name of private link service ip
 /// configuration.</param>
 public PrivateLinkServiceIpConfiguration(string privateIPAddress = default(string), IPAllocationMethod privateIPAllocationMethod = default(IPAllocationMethod), Management.ResourceManager.Fluent.SubResource subnet = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource publicIPAddress = default(Management.ResourceManager.Fluent.SubResource), string provisioningState = default(string), IPVersion privateIPAddressVersion = default(IPVersion), string name = default(string))
 {
     PrivateIPAddress          = privateIPAddress;
     PrivateIPAllocationMethod = privateIPAllocationMethod;
     Subnet                  = subnet;
     PublicIPAddress         = publicIPAddress;
     ProvisioningState       = provisioningState;
     PrivateIPAddressVersion = privateIPAddressVersion;
     Name = name;
     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(Management.ResourceManager.Fluent.SubResource backendAddressPool, string id = default(string), int?allocatedOutboundPorts = default(int?), IList <Management.ResourceManager.Fluent.SubResource> frontendIPConfigurations = default(IList <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();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// VirtualNetworkGatewayIPConfigurationInner class.
 /// </summary>
 /// <param name="privateIPAllocationMethod">The private IP address
 /// allocation method. 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), IPAllocationMethod privateIPAllocationMethod = default(IPAllocationMethod), Management.ResourceManager.Fluent.SubResource subnet = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource publicIPAddress = default(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();
 }
Пример #29
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>
 /// <param name="enableIPForwarding">Whether IP forwarding enabled on
 /// this NIC.</param>
 public VirtualMachineScaleSetUpdateNetworkConfigurationInner(string id = default(string), string name = default(string), bool?primary = default(bool?), bool?enableAcceleratedNetworking = default(bool?), Management.ResourceManager.Fluent.SubResource networkSecurityGroup = default(Management.ResourceManager.Fluent.SubResource), VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsSettings = default(VirtualMachineScaleSetNetworkConfigurationDnsSettings), IList <VirtualMachineScaleSetUpdateIPConfigurationInner> ipConfigurations = default(IList <VirtualMachineScaleSetUpdateIPConfigurationInner>), bool?enableIPForwarding = default(bool?))
     : base(id)
 {
     Name    = name;
     Primary = primary;
     EnableAcceleratedNetworking = enableAcceleratedNetworking;
     NetworkSecurityGroup        = networkSecurityGroup;
     DnsSettings        = dnsSettings;
     IpConfigurations   = ipConfigurations;
     EnableIPForwarding = enableIPForwarding;
     CustomInit();
 }
 /// <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,
 /// Premium_LRS, and StandardSSD_LRS. Possible values include:
 /// 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS'</param>
 public ImageOSDisk(OperatingSystemTypes osType, OperatingSystemStateTypes osState, Management.ResourceManager.Fluent.SubResource snapshot = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource managedDisk = default(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();
 }