共用方式為


MockableContainerServiceArmClient.GetAgentPoolSnapshotResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a AgentPoolSnapshotResource object.

Applies to