Share via


MockableContainerInstanceArmClient.GetContainerGroupResource Method

Definition

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

public virtual Azure.ResourceManager.ContainerInstance.ContainerGroupResource GetContainerGroupResource (Azure.Core.ResourceIdentifier id);
abstract member GetContainerGroupResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerInstance.ContainerGroupResource
override this.GetContainerGroupResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerInstance.ContainerGroupResource
Public Overridable Function GetContainerGroupResource (id As ResourceIdentifier) As ContainerGroupResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ContainerGroupResource object.

Applies to