Share via


MockableContainerRegistryArmClient.GetContainerRegistryCacheRuleResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ContainerRegistryCacheRuleResource object.

Applies to