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

StepResource 构造函数

定义

重载

StepResource()

初始化 StepResource 类的新实例。

StepResource(String, StepProperties, String, String, String, IDictionary<String,String>)

初始化 StepResource 类的新实例。

StepResource()

初始化 StepResource 类的新实例。

public StepResource ();
Public Sub New ()

适用于

StepResource(String, StepProperties, String, String, String, IDictionary<String,String>)

初始化 StepResource 类的新实例。

public StepResource (string location, Microsoft.Azure.Management.DeploymentManager.Models.StepProperties properties, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.DeploymentManager.Models.StepResource : string * Microsoft.Azure.Management.DeploymentManager.Models.StepProperties * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.DeploymentManager.Models.StepResource
Public Sub New (location As String, properties As StepProperties, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing)

参数

location
String

资源所在的地理位置

properties
StepProperties

定义步骤的属性。

id
String

资源的完全限定资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

资源的名称

type
String

资源类型。 Ex- Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。

tags
IDictionary<String,String>

资源标记。

适用于