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>

GetContainerServiceGuardrailsAvailableVersion(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 GetContainerServiceGuardrailsAvailableVersion(AzureLocation, String, CancellationToken) instead. </item>

GetContainerServiceGuardrailsAvailableVersionAsync(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 GetContainerServiceGuardrailsAvailableVersionAsync(AzureLocation, String, CancellationToken) instead. </item>

GetContainerServiceGuardrailsAvailableVersionResource(ArmClient, ResourceIdentifier)

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

GetContainerServiceGuardrailsAvailableVersions(SubscriptionResource, AzureLocation)

Gets a collection of ContainerServiceGuardrailsAvailableVersions in the SubscriptionResource<item> Mocking. To mock this method, please mock GetContainerServiceGuardrailsAvailableVersions(AzureLocation) 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>

GetContainerServiceSafeguardsAvailableVersion(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 GetContainerServiceSafeguardsAvailableVersion(AzureLocation, String, CancellationToken) instead. </item>

GetContainerServiceSafeguardsAvailableVersionAsync(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 GetContainerServiceSafeguardsAvailableVersionAsync(AzureLocation, String, CancellationToken) instead. </item>

GetContainerServiceSafeguardsAvailableVersionResource(ArmClient, ResourceIdentifier)

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

GetContainerServiceSafeguardsAvailableVersions(SubscriptionResource, AzureLocation)

Gets a collection of ContainerServiceSafeguardsAvailableVersions in the SubscriptionResource<item> Mocking. To mock this method, please mock GetContainerServiceSafeguardsAvailableVersions(AzureLocation) 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>

GetMaintenanceWindow(ResourceGroupResource, String, CancellationToken)

Gets the specified maintenance window. <item> Mocking. To mock this method, please mock GetMaintenanceWindow(String, CancellationToken) instead. </item>

GetMaintenanceWindowAsync(ResourceGroupResource, String, CancellationToken)

Gets the specified maintenance window. <item> Mocking. To mock this method, please mock GetMaintenanceWindowAsync(String, CancellationToken) instead. </item>

GetMaintenanceWindowResource(ArmClient, ResourceIdentifier)

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

GetMaintenanceWindows(ResourceGroupResource)

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

GetMaintenanceWindows(SubscriptionResource, CancellationToken)

Lists maintenance windows in the specified subscription. <item> Mocking. To mock this method, please mock GetMaintenanceWindows(CancellationToken) instead. </item>

GetMaintenanceWindowsAsync(SubscriptionResource, CancellationToken)

Lists maintenance windows in the specified subscription. <item> Mocking. To mock this method, please mock GetMaintenanceWindowsAsync(CancellationToken) 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>

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