Share via


MockableContainerRegistryArmClient.GetContainerRegistryResource Method

Definition

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

public virtual Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource GetContainerRegistryResource (Azure.Core.ResourceIdentifier id);
abstract member GetContainerRegistryResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource
override this.GetContainerRegistryResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerRegistry.ContainerRegistryResource
Public Overridable Function GetContainerRegistryResource (id As ResourceIdentifier) As ContainerRegistryResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ContainerRegistryResource object.

Applies to