Share via


MockableHybridNetworkArmClient.GetSiteResource(ResourceIdentifier) Method

Definition

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

public virtual Azure.ResourceManager.HybridNetwork.SiteResource GetSiteResource (Azure.Core.ResourceIdentifier id);
abstract member GetSiteResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.HybridNetwork.SiteResource
override this.GetSiteResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.HybridNetwork.SiteResource
Public Overridable Function GetSiteResource (id As ResourceIdentifier) As SiteResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SiteResource object.

Applies to