public static Response <ArmDeploymentResource> GetArmDeployment(this ResourceGroupResource resourceGroupResource, string deploymentName, CancellationToken cancellationToken = default) { return(resourceGroupResource.GetArmDeployments().Get(deploymentName, cancellationToken)); }
public static async Task <Response <ArmDeploymentResource> > GetArmDeploymentAsync(this ResourceGroupResource resourceGroupResource, string deploymentName, CancellationToken cancellationToken = default) { return(await resourceGroupResource.GetArmDeployments().GetAsync(deploymentName, cancellationToken).ConfigureAwait(false)); }