Compartir a través de


SubscriptionExtensions.GetTenantPolicyResource Método

Definición

Obtiene un objeto que representa junto TenantPolicyResource con las operaciones de instancia que se pueden realizar en él, pero sin datos. Puede usar CreateResourceIdentifier() para crear un TenantPolicyResourceResourceIdentifier a partir de sus componentes.

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

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 TenantPolicyResource.

Se aplica a