共用方式為


MockableNetworkArmClient.GetPrivateEndpointResource Method

Definition

Gets an object representing a PrivateEndpointResource 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 PrivateEndpointResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PrivateEndpointResource object.

Applies to