Delen via


MockableNetworkArmClient.GetVpnSiteResource(ResourceIdentifier) Method

Definition

Gets an object representing a VpnSiteResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a VpnSiteResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Network.VpnSiteResource GetVpnSiteResource (Azure.Core.ResourceIdentifier id);
abstract member GetVpnSiteResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.VpnSiteResource
override this.GetVpnSiteResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.VpnSiteResource
Public Overridable Function GetVpnSiteResource (id As ResourceIdentifier) As VpnSiteResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VpnSiteResource object.

Applies to