共用方式為


MockablePeeringArmClient.GetPeeringServiceResource(ResourceIdentifier) Method

Definition

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

public virtual Azure.ResourceManager.Peering.PeeringServiceResource GetPeeringServiceResource (Azure.Core.ResourceIdentifier id);
abstract member GetPeeringServiceResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Peering.PeeringServiceResource
override this.GetPeeringServiceResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Peering.PeeringServiceResource
Public Overridable Function GetPeeringServiceResource (id As ResourceIdentifier) As PeeringServiceResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PeeringServiceResource object.

Applies to