Language

ContainerServiceSafeguardsExtensions.GetDeploymentSafeguard Method

Definition

Gets an object representing a DeploymentSafeguardResource along with the instance operations that can be performed on it in the ArmClient <item> Mocking. To mock this method, please mock GetDeploymentSafeguard(ResourceIdentifier) instead. </item>

public static Azure.ResourceManager.ContainerServiceSafeguards.DeploymentSafeguardResource GetDeploymentSafeguard(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetDeploymentSafeguard : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerServiceSafeguards.DeploymentSafeguardResource
<Extension()>
Public Function GetDeploymentSafeguard (client As ArmClient, scope As ResourceIdentifier) As DeploymentSafeguardResource

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

Returns a DeploymentSafeguardResource object.

Exceptions

client is null.

Applies to