Compartir a través de


NetworkExtensions.GetVpnGatewayResource(ArmClient, ResourceIdentifier) Método

Definición

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

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

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

Se aplica a