Share via


ResourcesExtensions.GetArmDeployment Method

Definition

Overloads

GetArmDeployment(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
GetArmDeployment(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
GetArmDeployment(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
GetArmDeployment(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

GetArmDeployment(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 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)

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

GetArmDeployment(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 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)

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

GetArmDeployment(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 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)

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

GetArmDeployment(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 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)

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