你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithApply 接口

定义

虚拟机规模集更新的阶段,其中包含要更新的资源的输入。

public interface IWithApply : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithAcceleratedNetworking, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithAdditionalCapabilities, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApplicationGateway, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApplicationSecurityGroup, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithAvailabilityZone, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithBillingProfile, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithBootDiagnostics, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithCapacity, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithExtension, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithIpForwarding, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithManagedDataDisk, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithNetworkSecurityGroup, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithoutPrimaryLoadBalancer, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithoutPrimaryLoadBalancerBackend, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithoutPrimaryLoadBalancerNatPool, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithSinglePlacementGroup, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithSku, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithSystemAssignedManagedServiceIdentity, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithUnmanagedDataDisk, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithUserAssignedManagedServiceIdentity, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithVirtualMachinePublicIp, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Update.IUpdateWithTags<Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSet>
type IWithApply = interface
    interface IAppliable<IVirtualMachineScaleSet>
    interface IIndexable
    interface IUpdateWithTags<IWithApply>
    interface IWithManagedDataDisk
    interface IWithUnmanagedDataDisk
    interface IWithSku
    interface IWithAdditionalCapabilities
    interface IWithCapacity
    interface IWithExtension
    interface IWithoutPrimaryLoadBalancer
    interface IWithoutPrimaryLoadBalancerBackend
    interface IWithoutPrimaryLoadBalancerNatPool
    interface IWithSystemAssignedManagedServiceIdentity
    interface IBeta
    interface IWithUserAssignedManagedServiceIdentity
    interface IWithBootDiagnostics
    interface IWithBillingProfile
    interface IWithAvailabilityZone
    interface IWithVirtualMachinePublicIp
    interface IWithAcceleratedNetworking
    interface IWithIpForwarding
    interface IWithNetworkSecurityGroup
    interface IWithSinglePlacementGroup
    interface IWithApplicationGateway
    interface IWithApplicationSecurityGroup
Public Interface IWithApply
Implements IAppliable(Of IVirtualMachineScaleSet), IBeta, IUpdateWithTags(Of IWithApply), IWithAcceleratedNetworking, IWithAdditionalCapabilities, IWithApplicationGateway, IWithApplicationSecurityGroup, IWithAvailabilityZone, IWithBillingProfile, IWithBootDiagnostics, IWithCapacity, IWithExtension, IWithIpForwarding, IWithManagedDataDisk, IWithNetworkSecurityGroup, IWithoutPrimaryLoadBalancer, IWithoutPrimaryLoadBalancerBackend, IWithoutPrimaryLoadBalancerNatPool, IWithSinglePlacementGroup, IWithSku, IWithSystemAssignedManagedServiceIdentity, IWithUnmanagedDataDisk, IWithUserAssignedManagedServiceIdentity, IWithVirtualMachinePublicIp
派生
实现

属性

Key

虚拟机规模集更新的阶段,其中包含要更新的资源的输入。

(继承自 IIndexable)

方法

Apply()

执行更新请求。

(继承自 IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

异步执行更新请求。

(继承自 IAppliable<T>)
DefineNewExtension(String)

开始定义要附加到规模集中的虚拟机的扩展引用。

(继承自 IWithExtension)
UpdateExtension(String)

开始说明对分配给规模集中虚拟机的现有扩展的更新。

(继承自 IWithExtension)
WithAcceleratedNetworking()

指定应为虚拟机规模集启用加速网络。

(继承自 IWithAcceleratedNetworking)
WithAdditionalCapabilities(AdditionalCapabilities)

Set 指定在虚拟机规模集中的虚拟机上启用或禁用的其他功能。 例如:虚拟机是否能够支持附加具有UltraSSD_LRS存储帐户类型的托管数据磁盘。

(继承自 IWithAdditionalCapabilities)
WithAvailabilityZone(AvailabilityZoneId)

指定虚拟机规模集的可用性区域。

(继承自 IWithAvailabilityZone)
WithBootDiagnostics()

指定需要在虚拟机规模集中启用启动诊断。

(继承自 IWithBootDiagnostics)
WithBootDiagnostics(ICreatable<IStorageAccount>)

指定需要在虚拟机规模集中启用启动诊断。

(继承自 IWithBootDiagnostics)
WithBootDiagnostics(IStorageAccount)

指定需要在虚拟机规模集中启用启动诊断。

(继承自 IWithBootDiagnostics)
WithBootDiagnostics(String)

指定需要在虚拟机规模集中启用启动诊断。

(继承自 IWithBootDiagnostics)
WithCapacity(Int32)

指定规模集中的新虚拟机数。

(继承自 IWithCapacity)
WithExistingApplicationGatewayBackendPool(String)

指定应用程序网关后端池应与虚拟机规模集相关联。

(继承自 IWithApplicationGateway)
WithExistingApplicationSecurityGroup(IApplicationSecurityGroup)

指定所提供的应用程序安全组应与虚拟机规模集相关联。

(继承自 IWithApplicationSecurityGroup)
WithExistingApplicationSecurityGroupId(String)

指定所提供的应用程序安全组应与虚拟机规模集相关联。

(继承自 IWithApplicationSecurityGroup)
WithExistingNetworkSecurityGroup(INetworkSecurityGroup)

指定虚拟机规模集的网络安全组。

(继承自 IWithNetworkSecurityGroup)
WithExistingNetworkSecurityGroupId(String)

指定虚拟机规模集的网络安全组。

(继承自 IWithNetworkSecurityGroup)
WithExistingUserAssignedManagedServiceIdentity(IIdentity)

指定要与虚拟机关联的现有用户分配标识。

(继承自 IWithUserAssignedManagedServiceIdentity)
WithIpForwarding()

指定应为虚拟机规模集启用 IP 转发。

(继承自 IWithIpForwarding)
WithMaxPrice(Nullable<Double>)

指定规模集中低优先级虚拟机的计费相关详细信息。

(继承自 IWithBillingProfile)
WithNewDataDisk(Int32)

指定需要使用给定大小隐式创建托管磁盘。

(继承自 IWithManagedDataDisk)
WithNewDataDisk(Int32, Int32, CachingTypes)

指定需要使用给定设置隐式创建托管磁盘。

(继承自 IWithManagedDataDisk)
WithNewDataDisk(Int32, Int32, CachingTypes, StorageAccountTypes)

指定需要使用给定设置隐式创建托管磁盘。

(继承自 IWithManagedDataDisk)
WithNewUserAssignedManagedServiceIdentity(ICreatable<IIdentity>)

指定要与虚拟机关联的尚未创建的用户分配标识的定义。

(继承自 IWithUserAssignedManagedServiceIdentity)
WithoutAcceleratedNetworking()

指定应为虚拟机规模集禁用加速网络。

(继承自 IWithAcceleratedNetworking)
WithoutApplicationGatewayBackendPool(String)

指定应从虚拟机规模集中删除关联的现有应用程序网关。

(继承自 IWithApplicationGateway)
WithoutApplicationSecurityGroup(String)

指定应从虚拟机规模集中删除提供的应用程序安全组。

(继承自 IWithApplicationSecurityGroup)
WithoutBootDiagnostics()

指定需要在虚拟机规模集中禁用启动诊断。

(继承自 IWithBootDiagnostics)
WithoutDataDisk(Int32)

从虚拟机规模集实例中分离具有给定 LUN 的托管数据磁盘。

(继承自 IWithManagedDataDisk)
WithoutExtension(String)

从规模集中的虚拟机中删除具有指定名称的扩展。

(继承自 IWithExtension)
WithoutIpForwarding()

指定应为虚拟机规模集禁用 IP 转发。

(继承自 IWithIpForwarding)
WithoutNetworkSecurityGroup()

指定应删除网络安全组关联(如果存在)。

(继承自 IWithNetworkSecurityGroup)
WithoutPrimaryInternalLoadBalancer()

删除内部负载均衡器与主网络接口配置之间的关联。 这会删除主网络接口配置与负载均衡器中所有后端和入站 NAT 池之间的关联。

(继承自 IWithoutPrimaryLoadBalancer)
WithoutPrimaryInternalLoadBalancerBackends(String[])

删除主网络接口配置与内部负载均衡器的指定后端之间的关联。

(继承自 IWithoutPrimaryLoadBalancerBackend)
WithoutPrimaryInternalLoadBalancerNatPools(String[])

删除主网络接口配置与内部负载均衡器的指定入站 NAT 池之间的关联。

(继承自 IWithoutPrimaryLoadBalancerNatPool)
WithoutPrimaryInternetFacingLoadBalancer()

删除面向 Internet 的负载均衡器与主网络接口配置之间的关联。 这会删除主网络接口配置与负载均衡器中所有后端和入站 NAT 池之间的关联。

(继承自 IWithoutPrimaryLoadBalancer)
WithoutPrimaryInternetFacingLoadBalancerBackends(String[])

删除主网络接口配置与面向 Internet 的负载均衡器的指定后端之间的关联。

(继承自 IWithoutPrimaryLoadBalancerBackend)
WithoutPrimaryInternetFacingLoadBalancerNatPools(String[])

删除面向 Internet 的负载均衡器的主网络接口配置与指定入站 NAT 池之间的关联。

(继承自 IWithoutPrimaryLoadBalancerNatPool)
WithoutSinglePlacementGroup()

指定应为虚拟机规模集禁用单个放置组。

(继承自 IWithSinglePlacementGroup)
WithoutSystemAssignedManagedServiceIdentity()

指定需要在虚拟机规模集中禁用系统分配 (本地) 托管服务标识。

(继承自 IWithSystemAssignedManagedServiceIdentity)
WithoutTag(String)

从资源中删除标记。

(继承自 IUpdateWithTags<T>)
WithoutUserAssignedManagedServiceIdentity(String)

指定应删除与虚拟机关联的用户分配标识。

(继承自 IWithUserAssignedManagedServiceIdentity)
WithSinglePlacementGroup()

指定应为虚拟机规模集启用单个放置组。

(继承自 IWithSinglePlacementGroup)
WithSku(IVirtualMachineScaleSetSku)

指定规模集中虚拟机的 SKU。

(继承自 IWithSku)
WithSku(VirtualMachineScaleSetSkuTypes)

指定规模集中虚拟机的 SKU。

(继承自 IWithSku)
WithSystemAssignedManagedServiceIdentity()

指定需要在虚拟机规模集中启用系统分配 (本地) 托管服务标识。

(继承自 IWithSystemAssignedManagedServiceIdentity)
WithTag(String, String)

将标记添加到资源。

(继承自 IUpdateWithTags<T>)
WithTags(IDictionary<String,String>)

将资源的标记指定为 {@link Map}。

(继承自 IUpdateWithTags<T>)
WithVirtualMachinePublicIp()

指定规模集中的虚拟机应具有公共 IP 地址。

(继承自 IWithVirtualMachinePublicIp)
WithVirtualMachinePublicIp(String)

指定规模集中的虚拟机应具有公共 IP 地址。

(继承自 IWithVirtualMachinePublicIp)
WithVirtualMachinePublicIp(VirtualMachineScaleSetPublicIPAddressConfiguration)

指定规模集中的虚拟机应具有公共 IP 地址。

(继承自 IWithVirtualMachinePublicIp)

适用于