你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourcesExtensions.GetArmDeployment 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetArmDeployment(ManagementGroupResource, String, CancellationToken) |
获取部署。
|
GetArmDeployment(ResourceGroupResource, String, CancellationToken) |
获取部署。
|
GetArmDeployment(SubscriptionResource, String, CancellationToken) |
获取部署。
|
GetArmDeployment(TenantResource, String, CancellationToken) |
获取部署。
|
GetArmDeployment(ManagementGroupResource, String, CancellationToken)
获取部署。
- 请求路径/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
- 操作IdDeployments_GetAtScope
public static Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource> GetArmDeployment (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member GetArmDeployment : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>
<Extension()>
Public Function GetArmDeployment (managementGroupResource As ManagementGroupResource, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ArmDeploymentResource)
参数
- managementGroupResource
- ManagementGroupResource
方法 ManagementGroupResource 将对其执行的实例。
- deploymentName
- String
部署的名称。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
例外
deploymentName
是一个空字符串,预期为非空。
deploymentName
为 null。
适用于
GetArmDeployment(ResourceGroupResource, String, CancellationToken)
获取部署。
- 请求路径/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
- 操作IdDeployments_GetAtScope
public static Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource> GetArmDeployment (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member GetArmDeployment : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>
<Extension()>
Public Function GetArmDeployment (resourceGroupResource As ResourceGroupResource, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ArmDeploymentResource)
参数
- resourceGroupResource
- ResourceGroupResource
方法 ResourceGroupResource 将对其执行的实例。
- deploymentName
- String
部署的名称。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
例外
deploymentName
是一个空字符串,预期为非空。
deploymentName
为 null。
适用于
GetArmDeployment(SubscriptionResource, String, CancellationToken)
获取部署。
- 请求路径/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
- 操作IdDeployments_GetAtScope
public static Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource> GetArmDeployment (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member GetArmDeployment : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>
<Extension()>
Public Function GetArmDeployment (subscriptionResource As SubscriptionResource, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ArmDeploymentResource)
参数
- subscriptionResource
- SubscriptionResource
方法 SubscriptionResource 将对其执行的实例。
- deploymentName
- String
部署的名称。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
例外
deploymentName
是一个空字符串,预期为非空。
deploymentName
为 null。
适用于
GetArmDeployment(TenantResource, String, CancellationToken)
获取部署。
- 请求路径/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
- 操作IdDeployments_GetAtScope
public static Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource> GetArmDeployment (this Azure.ResourceManager.Resources.TenantResource tenantResource, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member GetArmDeployment : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>
<Extension()>
Public Function GetArmDeployment (tenantResource As TenantResource, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ArmDeploymentResource)
参数
- tenantResource
- TenantResource
方法 TenantResource 将对其执行的实例。
- deploymentName
- String
部署的名称。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
例外
deploymentName
是一个空字符串,预期为非空。
deploymentName
为 null。