Share via


MockableContainerRegistryArmClient.GetContainerRegistryTokenResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ContainerRegistryTokenResource object.

Applies to