/// <summary> /// Initializes a new instance of the /// VirtualMachineScaleSetUpdateNetworkProfile class. /// </summary> /// <param name="healthProbe">A reference to a load balancer probe used /// to determine the health of an instance in the virtual machine scale /// set. The reference will be in the form: /// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.</param> /// <param name="networkInterfaceConfigurations">The list of network /// configurations.</param> /// <param name="networkApiVersion">specifies the Microsoft.Network API /// version used when creating networking resources in the Network /// Interface Configurations for Virtual Machine Scale Set with /// orchestration mode 'Flexible'. Possible values include: /// '2020-11-01'</param> public VirtualMachineScaleSetUpdateNetworkProfile(ApiEntityReference healthProbe = default(ApiEntityReference), IList <VirtualMachineScaleSetUpdateNetworkConfiguration> networkInterfaceConfigurations = default(IList <VirtualMachineScaleSetUpdateNetworkConfiguration>), string networkApiVersion = default(string)) { HealthProbe = healthProbe; NetworkInterfaceConfigurations = networkInterfaceConfigurations; NetworkApiVersion = networkApiVersion; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// VirtualMachineScaleSetIPConfiguration class. /// </summary> public VirtualMachineScaleSetIPConfiguration(string name, ApiEntityReference subnet, string id = default(string), IList <SubResource> loadBalancerBackendAddressPools = default(IList <SubResource>), IList <SubResource> loadBalancerInboundNatPools = default(IList <SubResource>)) : base(id) { Name = name; Subnet = subnet; LoadBalancerBackendAddressPools = loadBalancerBackendAddressPools; LoadBalancerInboundNatPools = loadBalancerInboundNatPools; }
/// <summary> /// Initializes a new instance of the RestorePointSourceVMDataDisk /// class. /// </summary> /// <param name="lun">Gets the logical unit number.</param> /// <param name="name">Gets the disk name.</param> /// <param name="caching">Gets the caching type. Possible values /// include: 'None', 'ReadOnly', 'ReadWrite'</param> /// <param name="diskSizeGB">Gets the initial disk size in GB for blank /// data disks, and the new desired size for existing OS and Data /// disks.</param> /// <param name="managedDisk">Gets the managed disk details</param> /// <param name="diskRestorePoint">Gets the disk restore point /// Id.</param> public RestorePointSourceVMDataDisk(int?lun = default(int?), string name = default(string), CachingTypes?caching = default(CachingTypes?), int?diskSizeGB = default(int?), ManagedDiskParameters managedDisk = default(ManagedDiskParameters), ApiEntityReference diskRestorePoint = default(ApiEntityReference)) { Lun = lun; Name = name; Caching = caching; DiskSizeGB = diskSizeGB; ManagedDisk = managedDisk; DiskRestorePoint = diskRestorePoint; CustomInit(); }
/// <summary> /// Initializes a new instance of the RestorePointSourceVMOSDisk class. /// </summary> /// <param name="osType">Gets the Operating System type. Possible /// values include: 'Windows', 'Linux'</param> /// <param name="encryptionSettings">Gets the disk encryption /// settings.</param> /// <param name="name">Gets the disk name.</param> /// <param name="caching">Gets the caching type. Possible values /// include: 'None', 'ReadOnly', 'ReadWrite'</param> /// <param name="diskSizeGB">Gets the disk size in GB.</param> /// <param name="managedDisk">Gets the managed disk details</param> /// <param name="diskRestorePoint">Gets the disk restore point /// Id.</param> public RestorePointSourceVMOSDisk(string osType = default(string), DiskEncryptionSettings encryptionSettings = default(DiskEncryptionSettings), string name = default(string), CachingTypes?caching = default(CachingTypes?), int?diskSizeGB = default(int?), ManagedDiskParameters managedDisk = default(ManagedDiskParameters), ApiEntityReference diskRestorePoint = default(ApiEntityReference)) { OsType = osType; EncryptionSettings = encryptionSettings; Name = name; Caching = caching; DiskSizeGB = diskSizeGB; ManagedDisk = managedDisk; DiskRestorePoint = diskRestorePoint; CustomInit(); }
/// <summary> /// Initializes a new instance of the RestorePoint class. /// </summary> /// <param name="id">Resource Id</param> /// <param name="name">Resource name</param> /// <param name="type">Resource type</param> /// <param name="excludeDisks">List of disk resource ids that the /// customer wishes to exclude from the restore point. If no disks are /// specified, all disks will be included.</param> /// <param name="sourceMetadata">Gets the details of the VM captured at /// the time of the restore point creation.</param> /// <param name="provisioningState">Gets the provisioning state of the /// restore point.</param> /// <param name="consistencyMode">Gets the consistency mode for the /// restore point. Please refer to https://aka.ms/RestorePoints for /// more details. Possible values include: 'CrashConsistent', /// 'FileSystemConsistent', 'ApplicationConsistent'</param> /// <param name="timeCreated">Gets the creation time of the restore /// point.</param> /// <param name="sourceRestorePoint">Resource Id of the source restore /// point from which a copy needs to be created.</param> /// <param name="instanceView">The restore point instance view.</param> public RestorePoint(string id = default(string), string name = default(string), string type = default(string), IList <ApiEntityReference> excludeDisks = default(IList <ApiEntityReference>), RestorePointSourceMetadata sourceMetadata = default(RestorePointSourceMetadata), string provisioningState = default(string), string consistencyMode = default(string), System.DateTime?timeCreated = default(System.DateTime?), ApiEntityReference sourceRestorePoint = default(ApiEntityReference), RestorePointInstanceView instanceView = default(RestorePointInstanceView)) : base(id, name, type) { ExcludeDisks = excludeDisks; SourceMetadata = sourceMetadata; ProvisioningState = provisioningState; ConsistencyMode = consistencyMode; TimeCreated = timeCreated; SourceRestorePoint = sourceRestorePoint; InstanceView = instanceView; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// VirtualMachineScaleSetUpdateIPConfiguration class. /// </summary> /// <param name="id">Resource Id</param> /// <param name="name">The IP configuration name.</param> /// <param name="subnet">The subnet.</param> /// <param name="primary">Specifies the primary IP Configuration in /// case the network interface has more than one IP /// Configuration.</param> /// <param name="publicIPAddressConfiguration">The /// publicIPAddressConfiguration.</param> /// <param name="privateIPAddressVersion">Available from Api-Version /// 2017-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="applicationGatewayBackendAddressPools">The application /// gateway backend address pools.</param> /// <param name="applicationSecurityGroups">Specifies an array of /// references to application security group.</param> /// <param name="loadBalancerBackendAddressPools">The load balancer /// backend address pools.</param> /// <param name="loadBalancerInboundNatPools">The load balancer inbound /// nat pools.</param> public VirtualMachineScaleSetUpdateIPConfiguration(string id = default(string), string name = default(string), ApiEntityReference subnet = default(ApiEntityReference), bool?primary = default(bool?), VirtualMachineScaleSetUpdatePublicIPAddressConfiguration publicIPAddressConfiguration = default(VirtualMachineScaleSetUpdatePublicIPAddressConfiguration), string privateIPAddressVersion = default(string), IList <SubResource> applicationGatewayBackendAddressPools = default(IList <SubResource>), IList <SubResource> applicationSecurityGroups = default(IList <SubResource>), IList <SubResource> loadBalancerBackendAddressPools = default(IList <SubResource>), IList <SubResource> loadBalancerInboundNatPools = default(IList <SubResource>)) : base(id) { Name = name; Subnet = subnet; Primary = primary; PublicIPAddressConfiguration = publicIPAddressConfiguration; PrivateIPAddressVersion = privateIPAddressVersion; ApplicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools; ApplicationSecurityGroups = applicationSecurityGroups; LoadBalancerBackendAddressPools = loadBalancerBackendAddressPools; LoadBalancerInboundNatPools = loadBalancerInboundNatPools; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// VirtualMachineScaleSetNetworkProfile class. /// </summary> /// <param name="healthProbe">A reference to a load balancer probe used /// to determine the health of an instance in the virtual machine scale /// set. The reference will be in the form: /// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.</param> /// <param name="networkInterfaceConfigurations">The list of network /// configurations.</param> public VirtualMachineScaleSetNetworkProfile(ApiEntityReference healthProbe = default(ApiEntityReference), IList <VirtualMachineScaleSetNetworkConfiguration> networkInterfaceConfigurations = default(IList <VirtualMachineScaleSetNetworkConfiguration>)) { HealthProbe = healthProbe; NetworkInterfaceConfigurations = networkInterfaceConfigurations; CustomInit(); }