语言

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

ArmDevOpsInfrastructureModelFactory.DevOpsVmssFabricProfile Method

Definition

The agents will run on Virtual Machine Scale Sets.

public static Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsVmssFabricProfile DevOpsVmssFabricProfile(Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsAzureSku sku = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolVmImage> images = default, Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsOSProfile osProfile = default, Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStorageProfile storageProfile = default, Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsNetworkProfile networkProfile = default);
static member DevOpsVmssFabricProfile : Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsAzureSku * seq<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsPoolVmImage> * Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsOSProfile * Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsStorageProfile * Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsNetworkProfile -> Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsVmssFabricProfile
Public Shared Function DevOpsVmssFabricProfile (Optional sku As DevOpsAzureSku = Nothing, Optional images As IEnumerable(Of DevOpsPoolVmImage) = Nothing, Optional osProfile As DevOpsOSProfile = Nothing, Optional storageProfile As DevOpsStorageProfile = Nothing, Optional networkProfile As DevOpsNetworkProfile = Nothing) As DevOpsVmssFabricProfile

Parameters

sku
DevOpsAzureSku

The Azure SKU of the machines in the pool.

images
IEnumerable<DevOpsPoolVmImage>

The VM images of the machines in the pool.

osProfile
DevOpsOSProfile

The OS profile of the machines in the pool.

storageProfile
DevOpsStorageProfile

The storage profile of the machines in the pool.

networkProfile
DevOpsNetworkProfile

The network profile of the machines in the pool.

Returns

A new DevOpsVmssFabricProfile instance for mocking.

Applies to