ResourcesExtensions.GetArmDeploymentAsync Method

Definition

Overloads

GetArmDeploymentAsync(ManagementGroupResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource
GetArmDeploymentAsync(ResourceGroupResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource
GetArmDeploymentAsync(SubscriptionResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource
GetArmDeploymentAsync(TenantResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource

GetArmDeploymentAsync(ManagementGroupResource, String, CancellationToken)

Source:
ResourcesExtensions.cs
Source:
ResourcesExtensions.cs

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>> GetArmDeploymentAsync (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member GetArmDeploymentAsync : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>>
<Extension()>
Public Function GetArmDeploymentAsync (managementGroupResource As ManagementGroupResource, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmDeploymentResource))

Parameters

managementGroupResource
ManagementGroupResource

The ManagementGroupResource instance the method will execute against.

deploymentName
String

The name of the deployment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

managementGroupResource or deploymentName is null.

deploymentName is an empty string, and was expected to be non-empty.

Applies to

GetArmDeploymentAsync(ResourceGroupResource, String, CancellationToken)

Source:
ResourcesExtensions.cs
Source:
ResourcesExtensions.cs

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>> GetArmDeploymentAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member GetArmDeploymentAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>>
<Extension()>
Public Function GetArmDeploymentAsync (resourceGroupResource As ResourceGroupResource, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmDeploymentResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

deploymentName
String

The name of the deployment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or deploymentName is null.

deploymentName is an empty string, and was expected to be non-empty.

Applies to

GetArmDeploymentAsync(SubscriptionResource, String, CancellationToken)

Source:
ResourcesExtensions.cs
Source:
ResourcesExtensions.cs

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>> GetArmDeploymentAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member GetArmDeploymentAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>>
<Extension()>
Public Function GetArmDeploymentAsync (subscriptionResource As SubscriptionResource, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmDeploymentResource))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

deploymentName
String

The name of the deployment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

subscriptionResource or deploymentName is null.

deploymentName is an empty string, and was expected to be non-empty.

Applies to

GetArmDeploymentAsync(TenantResource, String, CancellationToken)

Source:
ResourcesExtensions.cs
Source:
ResourcesExtensions.cs

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: ArmDeploymentResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>> GetArmDeploymentAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member GetArmDeploymentAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>>
<Extension()>
Public Function GetArmDeploymentAsync (tenantResource As TenantResource, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmDeploymentResource))

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

deploymentName
String

The name of the deployment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

tenantResource or deploymentName is null.

deploymentName is an empty string, and was expected to be non-empty.

Applies to