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

Name Description
GetAgentPoolSnapshot(ResourceGroupResource, String, CancellationToken)

Gets a snapshot. <item> Mocking. To mock this method, please mock GetAgentPoolSnapshot(String, CancellationToken) instead. </item>

GetAgentPoolSnapshotAsync(ResourceGroupResource, String, CancellationToken)

Gets a snapshot. <item> Mocking. To mock this method, please mock GetAgentPoolSnapshotAsync(String, CancellationToken) instead. </item>

GetAgentPoolSnapshotResource(ArmClient, ResourceIdentifier)

Gets an object representing a AgentPoolSnapshotResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetAgentPoolSnapshotResource(ResourceIdentifier) instead. </item>

GetAgentPoolSnapshots(ResourceGroupResource)

Gets a collection of AgentPoolSnapshots in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetAgentPoolSnapshots() instead. </item>

GetAgentPoolSnapshots(SubscriptionResource, CancellationToken)

Gets a list of snapshots in the specified subscription. <item> Mocking. To mock this method, please mock GetAgentPoolSnapshots(CancellationToken) instead. </item>

GetAgentPoolSnapshotsAsync(SubscriptionResource, CancellationToken)

Gets a list of snapshots in the specified subscription. <item> Mocking. To mock this method, please mock GetAgentPoolSnapshotsAsync(CancellationToken) instead. </item>

GetAgentPoolUpgradeProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a AgentPoolUpgradeProfileResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetAgentPoolUpgradeProfileResource(ResourceIdentifier) instead. </item>

GetContainerServiceAgentPoolResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceAgentPoolResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetContainerServiceAgentPoolResource(ResourceIdentifier) instead. </item>

GetContainerServiceMachineResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceMachineResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetContainerServiceMachineResource(ResourceIdentifier) instead. </item>

GetContainerServiceMaintenanceConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceMaintenanceConfigurationResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetContainerServiceMaintenanceConfigurationResource(ResourceIdentifier) instead. </item>

GetContainerServiceManagedCluster(ResourceGroupResource, String, CancellationToken)

Gets a managed cluster. <item> Mocking. To mock this method, please mock GetContainerServiceManagedCluster(String, CancellationToken) instead. </item>

GetContainerServiceManagedClusterAsync(ResourceGroupResource, String, CancellationToken)

Gets a managed cluster. <item> Mocking. To mock this method, please mock GetContainerServiceManagedClusterAsync(String, CancellationToken) instead. </item>

GetContainerServiceManagedClusterResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceManagedClusterResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetContainerServiceManagedClusterResource(ResourceIdentifier) instead. </item>

GetContainerServiceManagedClusters(ResourceGroupResource)

Gets a collection of ContainerServiceManagedClusters in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetContainerServiceManagedClusters() instead. </item>

GetContainerServiceManagedClusters(SubscriptionResource, CancellationToken)

Gets a list of managed clusters in the specified subscription. <item> Mocking. To mock this method, please mock GetContainerServiceManagedClusters(CancellationToken) instead. </item>

GetContainerServiceManagedClustersAsync(SubscriptionResource, CancellationToken)

Gets a list of managed clusters in the specified subscription. <item> Mocking. To mock this method, please mock GetContainerServiceManagedClustersAsync(CancellationToken) instead. </item>

GetContainerServicePrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServicePrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetContainerServicePrivateEndpointConnectionResource(ResourceIdentifier) instead. </item>

GetContainerServiceTrustedAccessRoleBindingResource(ArmClient, ResourceIdentifier)

Gets an object representing a ContainerServiceTrustedAccessRoleBindingResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetContainerServiceTrustedAccessRoleBindingResource(ResourceIdentifier) instead. </item>

GetGuardrailsAvailableVersion(SubscriptionResource, AzureLocation, String, CancellationToken)

Contains Guardrails version along with its support info and whether it is a default version. <item> Mocking. To mock this method, please mock GetGuardrailsAvailableVersion(AzureLocation, String, CancellationToken) instead. </item>

GetGuardrailsAvailableVersionAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Contains Guardrails version along with its support info and whether it is a default version. <item> Mocking. To mock this method, please mock GetGuardrailsAvailableVersionAsync(AzureLocation, String, CancellationToken) instead. </item>

GetGuardrailsAvailableVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing a GuardrailsAvailableVersionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetGuardrailsAvailableVersionResource(ResourceIdentifier) instead. </item>

GetGuardrailsAvailableVersions(SubscriptionResource, AzureLocation)

Gets a collection of GuardrailsAvailableVersions in the SubscriptionResource<item> Mocking. To mock this method, please mock GetGuardrailsAvailableVersions(AzureLocation) instead. </item>

GetManagedClusterIdentityBindingResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedClusterIdentityBindingResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetManagedClusterIdentityBindingResource(ResourceIdentifier) instead. </item>

GetManagedClusterJwtAuthenticatorResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedClusterJwtAuthenticatorResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetManagedClusterJwtAuthenticatorResource(ResourceIdentifier) instead. </item>

GetManagedClusterKubernetesVersions(SubscriptionResource, AzureLocation, CancellationToken)

Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version <item> Mocking. To mock this method, please mock GetManagedClusterKubernetesVersions(AzureLocation, CancellationToken) instead. </item>

GetManagedClusterKubernetesVersionsAsync(SubscriptionResource, AzureLocation, CancellationToken)

Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version <item> Mocking. To mock this method, please mock GetManagedClusterKubernetesVersionsAsync(AzureLocation, CancellationToken) instead. </item>

GetManagedClusterLoadBalancerResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedClusterLoadBalancerResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetManagedClusterLoadBalancerResource(ResourceIdentifier) instead. </item>

GetManagedClusterMeshMembershipResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedClusterMeshMembershipResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetManagedClusterMeshMembershipResource(ResourceIdentifier) instead. </item>

GetManagedClusterNamespaceResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedClusterNamespaceResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetManagedClusterNamespaceResource(ResourceIdentifier) instead. </item>

GetManagedClusterSnapshot(ResourceGroupResource, String, CancellationToken)

Gets a managed cluster snapshot. <item> Mocking. To mock this method, please mock GetManagedClusterSnapshot(String, CancellationToken) instead. </item>

GetManagedClusterSnapshotAsync(ResourceGroupResource, String, CancellationToken)

Gets a managed cluster snapshot. <item> Mocking. To mock this method, please mock GetManagedClusterSnapshotAsync(String, CancellationToken) instead. </item>

GetManagedClusterSnapshotResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedClusterSnapshotResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetManagedClusterSnapshotResource(ResourceIdentifier) instead. </item>

GetManagedClusterSnapshots(ResourceGroupResource)

Gets a collection of ManagedClusterSnapshots in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetManagedClusterSnapshots() instead. </item>

GetManagedClusterSnapshots(SubscriptionResource, CancellationToken)

Gets a list of managed cluster snapshots in the specified subscription. <item> Mocking. To mock this method, please mock GetManagedClusterSnapshots(CancellationToken) instead. </item>

GetManagedClusterSnapshotsAsync(SubscriptionResource, CancellationToken)

Gets a list of managed cluster snapshots in the specified subscription. <item> Mocking. To mock this method, please mock GetManagedClusterSnapshotsAsync(CancellationToken) instead. </item>

GetManagedClusterUpgradeProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a ManagedClusterUpgradeProfileResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetManagedClusterUpgradeProfileResource(ResourceIdentifier) instead. </item>

GetMeshRevisionProfile(SubscriptionResource, AzureLocation, String, CancellationToken)

Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades <item> Mocking. To mock this method, please mock GetMeshRevisionProfile(AzureLocation, String, CancellationToken) instead. </item>

GetMeshRevisionProfileAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades <item> Mocking. To mock this method, please mock GetMeshRevisionProfileAsync(AzureLocation, String, CancellationToken) instead. </item>

GetMeshRevisionProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a MeshRevisionProfileResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetMeshRevisionProfileResource(ResourceIdentifier) instead. </item>

GetMeshRevisionProfiles(SubscriptionResource, AzureLocation)

Gets a collection of MeshRevisionProfiles in the SubscriptionResource<item> Mocking. To mock this method, please mock GetMeshRevisionProfiles(AzureLocation) instead. </item>

GetMeshUpgradeProfileResource(ArmClient, ResourceIdentifier)

Gets an object representing a MeshUpgradeProfileResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetMeshUpgradeProfileResource(ResourceIdentifier) instead. </item>

GetNodeImageVersions(SubscriptionResource, AzureLocation, CancellationToken)

Only returns the latest version of each node image. For example there may be an AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible in this list. <item> Mocking. To mock this method, please mock GetNodeImageVersions(AzureLocation, CancellationToken) instead. </item>

GetNodeImageVersionsAsync(SubscriptionResource, AzureLocation, CancellationToken)

Only returns the latest version of each node image. For example there may be an AKSUbuntu-1804gen2containerd-2024.01.26, but only AKSUbuntu-1804gen2containerd-2024.02.02 is visible in this list. <item> Mocking. To mock this method, please mock GetNodeImageVersionsAsync(AzureLocation, CancellationToken) instead. </item>

GetSafeguardsAvailableVersion(SubscriptionResource, AzureLocation, String, CancellationToken)

Contains Safeguards version along with its support info and whether it is a default version. <item> Mocking. To mock this method, please mock GetSafeguardsAvailableVersion(AzureLocation, String, CancellationToken) instead. </item>

GetSafeguardsAvailableVersionAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Contains Safeguards version along with its support info and whether it is a default version. <item> Mocking. To mock this method, please mock GetSafeguardsAvailableVersionAsync(AzureLocation, String, CancellationToken) instead. </item>

GetSafeguardsAvailableVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing a SafeguardsAvailableVersionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetSafeguardsAvailableVersionResource(ResourceIdentifier) instead. </item>

GetSafeguardsAvailableVersions(SubscriptionResource, AzureLocation)

Gets a collection of SafeguardsAvailableVersions in the SubscriptionResource<item> Mocking. To mock this method, please mock GetSafeguardsAvailableVersions(AzureLocation) instead. </item>

GetTrustedAccessRoles(SubscriptionResource, AzureLocation, CancellationToken)

List supported trusted access roles. <item> Mocking. To mock this method, please mock GetTrustedAccessRoles(AzureLocation, CancellationToken) instead. </item>

GetTrustedAccessRolesAsync(SubscriptionResource, AzureLocation, CancellationToken)

List supported trusted access roles. <item> Mocking. To mock this method, please mock GetTrustedAccessRolesAsync(AzureLocation, CancellationToken) instead. </item>

GetVmSkus(SubscriptionResource, AzureLocation, Nullable<Boolean>, CancellationToken)

Gets the list of VM SKUs accepted by AKS when creating node pools in a specified location. AKS will perform a best effort approach to provision the requested VM SKUs, but availability is not guaranteed. <item> Mocking. To mock this method, please mock GetVmSkus(AzureLocation, Nullable<Boolean>, CancellationToken) instead. </item>

GetVmSkusAsync(SubscriptionResource, AzureLocation, Nullable<Boolean>, CancellationToken)

Gets the list of VM SKUs accepted by AKS when creating node pools in a specified location. AKS will perform a best effort approach to provision the requested VM SKUs, but availability is not guaranteed. <item> Mocking. To mock this method, please mock GetVmSkusAsync(AzureLocation, Nullable<Boolean>, CancellationToken) instead. </item>

Applies to