Compartir a través de


NetAppExtensions.GetSnapshotPolicyResource Método

Definición

Obtiene un objeto que representa junto SnapshotPolicyResource con las operaciones de instancia que se pueden realizar en él, pero sin datos. Puede usar CreateResourceIdentifier(String, String, String, String) para crear un objeto SnapshotPolicyResourceResourceIdentifier a partir de sus componentes. MockingPara simular este método, simulación GetSnapshotPolicyResource(ResourceIdentifier) en su lugar.

public static Azure.ResourceManager.NetApp.SnapshotPolicyResource GetSnapshotPolicyResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetSnapshotPolicyResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.NetApp.SnapshotPolicyResource
<Extension()>
Public Function GetSnapshotPolicyResource (client As ArmClient, id As ResourceIdentifier) As SnapshotPolicyResource

Parámetros

client
ArmClient

Instancia ArmClient en la que se ejecutará el método.

id
ResourceIdentifier

Identificador de recurso del recurso que se va a obtener.

Devoluciones

Devuelve un objeto SnapshotPolicyResource.

Se aplica a