Condividi tramite


ContainerServiceExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.ContainerService.

public static class ContainerServiceExtensions
type ContainerServiceExtensions = class
Public Module ContainerServiceExtensions
Inheritance
ContainerServiceExtensions

Methods

GetAgentPoolSnapshot(ResourceGroupResource, String, CancellationToken)

Gets a snapshot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}
  • Operation Id: Snapshots_Get
  • Default Api Version: 2023-10-01
  • Resource: AgentPoolSnapshotResource
GetAgentPoolSnapshotAsync(ResourceGroupResource, String, CancellationToken)

Gets a snapshot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/snapshots/{resourceName}
  • Operation Id: Snapshots_Get
  • Default Api Version: 2023-10-01
  • Resource: AgentPoolSnapshotResource
GetAgentPoolSnapshotResource(ArmClient, ResourceIdentifier)

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. MockingTo mock this method, please mock GetAgentPoolSnapshotResource(ResourceIdentifier) instead.

GetAgentPoolSnapshots(ResourceGroupResource)

Gets a collection of AgentPoolSnapshotResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAgentPoolSnapshots() instead.

GetAgentPoolSnapshots(SubscriptionResource, CancellationToken)

Gets a list of snapshots in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots
  • Operation Id: Snapshots_List
  • Default Api Version: 2023-10-01
  • Resource: AgentPoolSnapshotResource
GetAgentPoolSnapshotsAsync(SubscriptionResource, CancellationToken)

Gets a list of snapshots in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/snapshots
  • Operation Id: Snapshots_List
  • Default Api Version: 2023-10-01
  • Resource: AgentPoolSnapshotResource
GetAgentPoolUpgradeProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing an AgentPoolUpgradeProfileResource 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 an AgentPoolUpgradeProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAgentPoolUpgradeProfileResource(ResourceIdentifier) instead.

GetContainerServiceAgentPoolResource(ArmClient, ResourceIdentifier)

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. MockingTo mock this method, please mock GetContainerServiceAgentPoolResource(ResourceIdentifier) instead.

GetContainerServiceFleet(ResourceGroupResource, String, CancellationToken)

Gets a Fleet.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_Get
GetContainerServiceFleetAsync(ResourceGroupResource, String, CancellationToken)

Gets a Fleet.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}
  • Operation Id: Fleets_Get
GetContainerServiceFleetMemberResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceFleetMemberResource 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 ContainerServiceFleetMemberResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerServiceFleetMemberResource(ResourceIdentifier) instead.

GetContainerServiceFleetResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceFleetResource 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 ContainerServiceFleetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerServiceFleetResource(ResourceIdentifier) instead.

GetContainerServiceFleets(ResourceGroupResource)

Gets a collection of ContainerServiceFleetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerServiceFleets() instead.

GetContainerServiceFleets(SubscriptionResource, CancellationToken)

Lists fleets in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_List
GetContainerServiceFleetsAsync(SubscriptionResource, CancellationToken)

Lists fleets in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/fleets
  • Operation Id: Fleets_List
GetContainerServiceMaintenanceConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceMaintenanceConfigurationResource 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 ContainerServiceMaintenanceConfigurationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerServiceMaintenanceConfigurationResource(ResourceIdentifier) instead.

GetContainerServiceManagedCluster(ResourceGroupResource, String, CancellationToken)

Gets a managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
GetContainerServiceManagedClusterAsync(ResourceGroupResource, String, CancellationToken)

Gets a managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
  • Operation Id: ManagedClusters_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
GetContainerServiceManagedClusterResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceManagedClusterResource 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 ContainerServiceManagedClusterResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerServiceManagedClusterResource(ResourceIdentifier) instead.

GetContainerServiceManagedClusters(ResourceGroupResource)

Gets a collection of ContainerServiceManagedClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetContainerServiceManagedClusters() instead.

GetContainerServiceManagedClusters(SubscriptionResource, CancellationToken)

Gets a list of managed clusters in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters
  • Operation Id: ManagedClusters_List
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
GetContainerServiceManagedClustersAsync(SubscriptionResource, CancellationToken)

Gets a list of managed clusters in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters
  • Operation Id: ManagedClusters_List
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceManagedClusterResource
GetContainerServicePrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServicePrivateEndpointConnectionResource 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 ContainerServicePrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerServicePrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetContainerServiceTrustedAccessRoleBindingResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceTrustedAccessRoleBindingResource 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 ContainerServiceTrustedAccessRoleBindingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetContainerServiceTrustedAccessRoleBindingResource(ResourceIdentifier) instead.

GetKubernetesVersionsManagedCluster(SubscriptionResource, AzureLocation, CancellationToken)

Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions
  • Operation Id: ManagedClusters_ListKubernetesVersions
  • Default Api Version: 2023-10-01
GetKubernetesVersionsManagedClusterAsync(SubscriptionResource, AzureLocation, CancellationToken)

Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions
  • Operation Id: ManagedClusters_ListKubernetesVersions
  • Default Api Version: 2023-10-01
GetManagedClusterSnapshot(ResourceGroupResource, String, CancellationToken)

Gets a managed cluster snapshot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}
  • Operation Id: ManagedClusterSnapshots_Get
GetManagedClusterSnapshotAsync(ResourceGroupResource, String, CancellationToken)

Gets a managed cluster snapshot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}
  • Operation Id: ManagedClusterSnapshots_Get
GetManagedClusterSnapshotResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedClusterSnapshotResource 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 ManagedClusterSnapshotResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetManagedClusterSnapshotResource(ResourceIdentifier) instead.

GetManagedClusterSnapshots(ResourceGroupResource)

Gets a collection of ManagedClusterSnapshotResources in the ResourceGroupResource. MockingTo mock this method, please mock GetManagedClusterSnapshots() instead.

GetManagedClusterSnapshots(SubscriptionResource, CancellationToken)

Gets a list of managed cluster snapshots in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedclustersnapshots
  • Operation Id: ManagedClusterSnapshots_List
GetManagedClusterSnapshotsAsync(SubscriptionResource, CancellationToken)

Gets a list of managed cluster snapshots in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedclustersnapshots
  • Operation Id: ManagedClusterSnapshots_List
GetManagedClusterUpgradeProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedClusterUpgradeProfileResource 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 ManagedClusterUpgradeProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetManagedClusterUpgradeProfileResource(ResourceIdentifier) instead.

GetMeshRevisionProfile(SubscriptionResource, AzureLocation, String, CancellationToken)

Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles/{mode}
  • Operation Id: ManagedClusters_GetMeshRevisionProfile
  • Default Api Version: 2023-10-01
  • Resource: MeshRevisionProfileResource
GetMeshRevisionProfileAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles/{mode}
  • Operation Id: ManagedClusters_GetMeshRevisionProfile
  • Default Api Version: 2023-10-01
  • Resource: MeshRevisionProfileResource
GetMeshRevisionProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a MeshRevisionProfileResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a MeshRevisionProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMeshRevisionProfileResource(ResourceIdentifier) instead.

GetMeshRevisionProfiles(SubscriptionResource, AzureLocation)

Gets a collection of MeshRevisionProfileResources in the SubscriptionResource. MockingTo mock this method, please mock GetMeshRevisionProfiles(AzureLocation) instead.

GetMeshUpgradeProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a MeshUpgradeProfileResource 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 MeshUpgradeProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetMeshUpgradeProfileResource(ResourceIdentifier) instead.

GetOSOptionProfile(SubscriptionResource, AzureLocation)

Gets an object representing a OSOptionProfileResource along with the instance operations that can be performed on it in the SubscriptionResource.

GetOSOptionProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing an OSOptionProfileResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation) to create an OSOptionProfileResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOSOptionProfileResource(ResourceIdentifier) instead.

GetTrustedAccessRoles(SubscriptionResource, AzureLocation, CancellationToken)

List supported trusted access roles.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/trustedAccessRoles
  • Operation Id: TrustedAccessRoles_List
  • Default Api Version: 2023-10-01
GetTrustedAccessRolesAsync(SubscriptionResource, AzureLocation, CancellationToken)

List supported trusted access roles.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/trustedAccessRoles
  • Operation Id: TrustedAccessRoles_List
  • Default Api Version: 2023-10-01

Applies to