共用方式為


MockableContainerServiceArmClient.GetContainerServiceAgentPoolResource Method

Definition

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

public virtual Azure.ResourceManager.ContainerService.ContainerServiceAgentPoolResource GetContainerServiceAgentPoolResource (Azure.Core.ResourceIdentifier id);
abstract member GetContainerServiceAgentPoolResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerService.ContainerServiceAgentPoolResource
override this.GetContainerServiceAgentPoolResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerService.ContainerServiceAgentPoolResource
Public Overridable Function GetContainerServiceAgentPoolResource (id As ResourceIdentifier) As ContainerServiceAgentPoolResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ContainerServiceAgentPoolResource object.

Applies to