azure.mgmt.containerservice.v2023_06_02_preview.operations module — Azure SDK for Python 2.0.0 documentation
Andrew White
Published Feb 16, 2026
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.AgentPoolsOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’sagent_poolsattribute.- begin_abort_latest_operation(resource_group_name:str, resource_name:str, agent_pool_name:str, **kwargs:Any) → LROPoller[None][source]¶
Aborts last operation running on agent pool.
Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, an error is returned.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_create_or_update(resource_group_name:str, resource_name:str, agent_pool_name:str, parameters:_models.AgentPool, *, content_type:str='application/json', **kwargs:Any) → LROPoller[_models.AgentPool][source]¶
- begin_create_or_update(resource_group_name:str, resource_name:str, agent_pool_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → LROPoller[_models.AgentPool]
Creates or updates an agent pool in the specified managed cluster.
Creates or updates an agent pool in the specified managed cluster.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
agent_pool_name (str) – The name of the agent pool. Required.
parameters (AgentPool orIO[bytes]) – The agent pool to create or update. Is either a AgentPool type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either AgentPool or the result of cls(response)
- Return type:
- Raises:
- begin_delete(resource_group_name:str, resource_name:str, agent_pool_name:str, ignore_pod_disruption_budget:bool|None=None, **kwargs:Any) → LROPoller[None][source]¶
Deletes an agent pool in the specified managed cluster.
Deletes an agent pool in the specified managed cluster.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
agent_pool_name (str) – The name of the agent pool. Required.
ignore_pod_disruption_budget (bool) – ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget. Default value is None.
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_upgrade_node_image_version(resource_group_name:str, resource_name:str, agent_pool_name:str, **kwargs:Any) → LROPoller[AgentPool][source]¶
Upgrades the node image version of an agent pool to the latest.
Upgrading the node image version of an agent pool applies the newest OS and runtime updates to the nodes. AKS provides one new image per week with the latest updates. For more details on node image versions, see: .
- Parameters:
- Returns:
An instance of LROPoller that returns either AgentPool or the result of cls(response)
- Return type:
- Raises:
- get(resource_group_name:str, resource_name:str, agent_pool_name:str, **kwargs:Any) → AgentPool[source]¶
Gets the specified managed cluster agent pool.
Gets the specified managed cluster agent pool.
- Parameters:
- Returns:
AgentPool or the result of cls(response)
- Return type:
- Raises:
- get_available_agent_pool_versions(resource_group_name:str, resource_name:str, **kwargs:Any) → AgentPoolAvailableVersions[source]¶
Gets a list of supported Kubernetes versions for the specified agent pool.
See supported Kubernetes versions for more details about the version lifecycle.
- Parameters:
- Returns:
AgentPoolAvailableVersions or the result of cls(response)
- Return type:
- Raises:
- get_upgrade_profile(resource_group_name:str, resource_name:str, agent_pool_name:str, **kwargs:Any) → AgentPoolUpgradeProfile[source]¶
Gets the upgrade profile for an agent pool.
Gets the upgrade profile for an agent pool.
- Parameters:
- Returns:
AgentPoolUpgradeProfile or the result of cls(response)
- Return type:
- Raises:
- list(resource_group_name:str, resource_name:str, **kwargs:Any) → Iterable[AgentPool][source]¶
Gets a list of agent pools in the specified managed cluster.
Gets a list of agent pools in the specified managed cluster.
- Parameters:
- Returns:
An iterator like instance of either AgentPool or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.MaintenanceConfigurationsOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’smaintenance_configurationsattribute.- create_or_update(resource_group_name:str, resource_name:str, config_name:str, parameters:_models.MaintenanceConfiguration, *, content_type:str='application/json', **kwargs:Any) → _models.MaintenanceConfiguration[source]¶
- create_or_update(resource_group_name:str, resource_name:str, config_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → _models.MaintenanceConfiguration
Creates or updates a maintenance configuration in the specified managed cluster.
Creates or updates a maintenance configuration in the specified managed cluster.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
config_name (str) – The name of the maintenance configuration. Required.
parameters (MaintenanceConfiguration or IO[bytes]) – The maintenance configuration to create or update. Is either a MaintenanceConfiguration type or a IO[bytes] type. Required.
- Returns:
MaintenanceConfiguration or the result of cls(response)
- Return type:
- Raises:
- delete(resource_group_name:str, resource_name:str, config_name:str, **kwargs:Any) → None[source]¶
Deletes a maintenance configuration.
Deletes a maintenance configuration.
- Parameters:
- Returns:
None or the result of cls(response)
- Return type:
None
- Raises:
- get(resource_group_name:str, resource_name:str, config_name:str, **kwargs:Any) → MaintenanceConfiguration[source]¶
Gets the specified maintenance configuration of a managed cluster.
Gets the specified maintenance configuration of a managed cluster.
- Parameters:
- Returns:
MaintenanceConfiguration or the result of cls(response)
- Return type:
- Raises:
- list_by_managed_cluster(resource_group_name:str, resource_name:str, **kwargs:Any) → Iterable[MaintenanceConfiguration][source]¶
Gets a list of maintenance configurations in the specified managed cluster.
Gets a list of maintenance configurations in the specified managed cluster.
- Parameters:
- Returns:
An iterator like instance of either MaintenanceConfiguration or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.ManagedClusterSnapshotsOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’smanaged_cluster_snapshotsattribute.- create_or_update(resource_group_name:str, resource_name:str, parameters:_models.ManagedClusterSnapshot, *, content_type:str='application/json', **kwargs:Any) → _models.ManagedClusterSnapshot[source]¶
- create_or_update(resource_group_name:str, resource_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → _models.ManagedClusterSnapshot
Creates or updates a managed cluster snapshot.
Creates or updates a managed cluster snapshot.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
parameters (ManagedClusterSnapshot or IO[bytes]) – The managed cluster snapshot to create or update. Is either a ManagedClusterSnapshot type or a IO[bytes] type. Required.
- Returns:
ManagedClusterSnapshot or the result of cls(response)
- Return type:
- Raises:
- delete(resource_group_name:str, resource_name:str, **kwargs:Any) → None[source]¶
Deletes a managed cluster snapshot.
Deletes a managed cluster snapshot.
- Parameters:
- Returns:
None or the result of cls(response)
- Return type:
None
- Raises:
- get(resource_group_name:str, resource_name:str, **kwargs:Any) → ManagedClusterSnapshot[source]¶
Gets a managed cluster snapshot.
Gets a managed cluster snapshot.
- Parameters:
- Returns:
ManagedClusterSnapshot or the result of cls(response)
- Return type:
- Raises:
- list(**kwargs:Any) → Iterable[ManagedClusterSnapshot][source]¶
Gets a list of managed cluster snapshots in the specified subscription.
Gets a list of managed cluster snapshots in the specified subscription.
- Returns:
An iterator like instance of either ManagedClusterSnapshot or the result of cls(response)
- Return type:
- Raises:
- list_by_resource_group(resource_group_name:str, **kwargs:Any) → Iterable[ManagedClusterSnapshot][source]¶
Lists managed cluster snapshots in the specified subscription and resource group.
Lists managed cluster snapshots in the specified subscription and resource group.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
- Returns:
An iterator like instance of either ManagedClusterSnapshot or the result of cls(response)
- Return type:
- Raises:
- update_tags(resource_group_name:str, resource_name:str, parameters:_models.TagsObject, *, content_type:str='application/json', **kwargs:Any) → _models.ManagedClusterSnapshot[source]¶
- update_tags(resource_group_name:str, resource_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → _models.ManagedClusterSnapshot
Updates tags on a managed cluster snapshot.
Updates tags on a managed cluster snapshot.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
parameters (TagsObject orIO[bytes]) – Parameters supplied to the Update managed cluster snapshot Tags operation. Is either a TagsObject type or a IO[bytes] type. Required.
- Returns:
ManagedClusterSnapshot or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.ManagedClustersOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’smanaged_clustersattribute.- begin_abort_latest_operation(resource_group_name:str, resource_name:str, **kwargs:Any) → LROPoller[None][source]¶
Aborts last operation running on managed cluster.
Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, an error is returned.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_create_or_update(resource_group_name:str, resource_name:str, parameters:_models.ManagedCluster, *, content_type:str='application/json', **kwargs:Any) → LROPoller[_models.ManagedCluster][source]¶
- begin_create_or_update(resource_group_name:str, resource_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → LROPoller[_models.ManagedCluster]
Creates or updates a managed cluster.
Creates or updates a managed cluster.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
parameters (ManagedCluster orIO[bytes]) – The managed cluster to create or update. Is either a ManagedCluster type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either ManagedCluster or the result of cls(response)
- Return type:
- Raises:
- begin_delete(resource_group_name:str, resource_name:str, ignore_pod_disruption_budget:bool|None=None, **kwargs:Any) → LROPoller[None][source]¶
Deletes a managed cluster.
Deletes a managed cluster.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
ignore_pod_disruption_budget (bool) – ignore-pod-disruption-budget=true to delete those pods on a node without considering Pod Disruption Budget. Default value is None.
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_reset_aad_profile(resource_group_name:str, resource_name:str, parameters:_models.ManagedClusterAADProfile, *, content_type:str='application/json', **kwargs:Any) → LROPoller[None][source]¶
- begin_reset_aad_profile(resource_group_name:str, resource_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → LROPoller[None]
Reset the AAD Profile of a managed cluster.
WARNING: This API will be deprecated. Please see AKS-managed Azure Active Directory integration to update your cluster with AKS-managed Azure AD.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
parameters (ManagedClusterAADProfile or IO[bytes]) – The AAD profile to set on the Managed Cluster. Is either a ManagedClusterAADProfile type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_reset_service_principal_profile(resource_group_name:str, resource_name:str, parameters:_models.ManagedClusterServicePrincipalProfile, *, content_type:str='application/json', **kwargs:Any) → LROPoller[None][source]¶
- begin_reset_service_principal_profile(resource_group_name:str, resource_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → LROPoller[None]
Reset the Service Principal Profile of a managed cluster.
This action cannot be performed on a cluster that is not using a service principal.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
parameters (ManagedClusterServicePrincipalProfileor IO[bytes]) – The service principal profile to set on the managed cluster. Is either a ManagedClusterServicePrincipalProfile type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_rotate_cluster_certificates(resource_group_name:str, resource_name:str, **kwargs:Any) → LROPoller[None][source]¶
Rotates the certificates of a managed cluster.
See Certificate rotation for more details about rotating managed cluster certificates.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_rotate_service_account_signing_keys(resource_group_name:str, resource_name:str, **kwargs:Any) → LROPoller[None][source]¶
Rotates the service account signing keys of a managed cluster.
Rotates the service account signing keys of a managed cluster.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_run_command(resource_group_name:str, resource_name:str, request_payload:_models.RunCommandRequest, *, content_type:str='application/json', **kwargs:Any) → LROPoller[_models.RunCommandResult][source]¶
- begin_run_command(resource_group_name:str, resource_name:str, request_payload:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → LROPoller[_models.RunCommandResult]
Submits a command to run against the Managed Cluster.
AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see AKS Run Command.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
request_payload (RunCommandRequest or IO[bytes]) – The run command request. Is either a RunCommandRequest type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either RunCommandResult or the result of cls(response)
- Return type:
- Raises:
- begin_start(resource_group_name:str, resource_name:str, **kwargs:Any) → LROPoller[None][source]¶
Starts a previously stopped Managed Cluster.
See starting a cluster for more details about starting a cluster.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_stop(resource_group_name:str, resource_name:str, **kwargs:Any) → LROPoller[None][source]¶
Stops a Managed Cluster.
This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See stopping a cluster for more details about stopping a cluster.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_update_tags(resource_group_name:str, resource_name:str, parameters:_models.TagsObject, *, content_type:str='application/json', **kwargs:Any) → LROPoller[_models.ManagedCluster][source]¶
- begin_update_tags(resource_group_name:str, resource_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → LROPoller[_models.ManagedCluster]
Updates tags on a managed cluster.
Updates tags on a managed cluster.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
parameters (TagsObject orIO[bytes]) – Parameters supplied to the Update Managed Cluster Tags operation. Is either a TagsObject type or a IO[bytes] type. Required.
- Returns:
An instance of LROPoller that returns either ManagedCluster or the result of cls(response)
- Return type:
- Raises:
- get(resource_group_name:str, resource_name:str, **kwargs:Any) → ManagedCluster[source]¶
Gets a managed cluster.
Gets a managed cluster.
- Parameters:
- Returns:
ManagedCluster or the result of cls(response)
- Return type:
- Raises:
- get_access_profile(resource_group_name:str, resource_name:str, role_name:str, **kwargs:Any) → ManagedClusterAccessProfile[source]¶
Gets an access profile of a managed cluster.
WARNING: This API will be deprecated. Instead use ListClusterUserCredentials orListClusterAdminCredentials .
- Parameters:
- Returns:
ManagedClusterAccessProfile or the result of cls(response)
- Return type:
- Raises:
- get_command_result(resource_group_name:str, resource_name:str, command_id:str, **kwargs:Any) → RunCommandResult|None[source]¶
Gets the results of a command which has been run on the Managed Cluster.
Gets the results of a command which has been run on the Managed Cluster.
- Parameters:
- Returns:
RunCommandResult or None or the result of cls(response)
- Return type:
RunCommandResult or None
- Raises:
- get_mesh_revision_profile(location:str, mode:str, **kwargs:Any) → MeshRevisionProfile[source]¶
Gets a mesh revision profile for a specified mesh in the specified location.
Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades.
- Parameters:
- Returns:
MeshRevisionProfile or the result of cls(response)
- Return type:
- Raises:
- get_mesh_upgrade_profile(resource_group_name:str, resource_name:str, mode:str, **kwargs:Any) → MeshUpgradeProfile[source]¶
Gets available upgrades for a service mesh in a cluster.
Gets available upgrades for a service mesh in a cluster.
- Parameters:
- Returns:
MeshUpgradeProfile or the result of cls(response)
- Return type:
- Raises:
- get_os_options(location:str, resource_type:str|None=None, **kwargs:Any) → OSOptionProfile[source]¶
Gets supported OS options in the specified subscription.
Gets supported OS options in the specified subscription.
- Parameters:
- Returns:
OSOptionProfile or the result of cls(response)
- Return type:
- Raises:
- get_upgrade_profile(resource_group_name:str, resource_name:str, **kwargs:Any) → ManagedClusterUpgradeProfile[source]¶
Gets the upgrade profile of a managed cluster.
Gets the upgrade profile of a managed cluster.
- Parameters:
- Returns:
ManagedClusterUpgradeProfile or the result of cls(response)
- Return type:
- Raises:
- list(**kwargs:Any) → Iterable[ManagedCluster][source]¶
Gets a list of managed clusters in the specified subscription.
Gets a list of managed clusters in the specified subscription.
- Returns:
An iterator like instance of either ManagedCluster or the result of cls(response)
- Return type:
- Raises:
- list_by_resource_group(resource_group_name:str, **kwargs:Any) → Iterable[ManagedCluster][source]¶
Lists managed clusters in the specified subscription and resource group.
Lists managed clusters in the specified subscription and resource group.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
- Returns:
An iterator like instance of either ManagedCluster or the result of cls(response)
- Return type:
- Raises:
- list_cluster_admin_credentials(resource_group_name:str, resource_name:str, server_fqdn:str|None=None, **kwargs:Any) → CredentialResults[source]¶
Lists the admin credentials of a managed cluster.
Lists the admin credentials of a managed cluster.
- Parameters:
- Returns:
CredentialResults or the result of cls(response)
- Return type:
- Raises:
- list_cluster_monitoring_user_credentials(resource_group_name:str, resource_name:str, server_fqdn:str|None=None, **kwargs:Any) → CredentialResults[source]¶
Lists the cluster monitoring user credentials of a managed cluster.
Lists the cluster monitoring user credentials of a managed cluster.
- Parameters:
- Returns:
CredentialResults or the result of cls(response)
- Return type:
- Raises:
- list_cluster_user_credentials(resource_group_name:str, resource_name:str, server_fqdn:str|None=None, format:str|Format|None=None, **kwargs:Any) → CredentialResults[source]¶
Lists the user credentials of a managed cluster.
Lists the user credentials of a managed cluster.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
server_fqdn (str) – server fqdn type for credentials to be returned. Default value is None.
format (str or Format) – Only apply to AAD clusters, specifies the format of returned kubeconfig. Format ‘azure’ will return azure auth-provider kubeconfig; format ‘exec’ will return exec format kubeconfig, which requires kubelogin binary in the path. Known values are: “azure” and “exec”. Default value is None.
- Returns:
CredentialResults or the result of cls(response)
- Return type:
- Raises:
- list_kubernetes_versions(location:str, **kwargs:Any) → KubernetesVersionListResult[source]¶
Gets a list of supported Kubernetes versions in the specified subscription.
Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version.
- Parameters:
location (str) – The name of Azure region. Required.
- Returns:
KubernetesVersionListResult or the result of cls(response)
- Return type:
- Raises:
- list_mesh_revision_profiles(location:str, **kwargs:Any) → Iterable[MeshRevisionProfile][source]¶
Lists mesh revision profiles for all meshes in the specified location.
Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades.
- Parameters:
location (str) – The name of Azure region. Required.
- Returns:
An iterator like instance of either MeshRevisionProfile or the result of cls(response)
- Return type:
- Raises:
- list_mesh_upgrade_profiles(resource_group_name:str, resource_name:str, **kwargs:Any) → Iterable[MeshUpgradeProfile][source]¶
Lists available upgrades for all service meshes in a specific cluster.
Lists available upgrades for all service meshes in a specific cluster.
- Parameters:
- Returns:
An iterator like instance of either MeshUpgradeProfile or the result of cls(response)
- Return type:
- Raises:
- list_outbound_network_dependencies_endpoints(resource_group_name:str, resource_name:str, **kwargs:Any) → Iterable[OutboundEnvironmentEndpoint][source]¶
Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster.
Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint.
- Parameters:
- Returns:
An iterator like instance of either OutboundEnvironmentEndpoint or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.Operations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’soperationsattribute.- list(**kwargs:Any) → Iterable[OperationValue][source]¶
Gets a list of operations.
Gets a list of operations.
- Returns:
An iterator like instance of either OperationValue or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.PrivateEndpointConnectionsOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’sprivate_endpoint_connectionsattribute.- begin_delete(resource_group_name:str, resource_name:str, private_endpoint_connection_name:str, **kwargs:Any) → LROPoller[None][source]¶
Deletes a private endpoint connection.
Deletes a private endpoint connection.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- get(resource_group_name:str, resource_name:str, private_endpoint_connection_name:str, **kwargs:Any) → PrivateEndpointConnection[source]¶
Gets the specified private endpoint connection.
To learn more about private clusters, see: .
- Parameters:
- Returns:
PrivateEndpointConnection or the result of cls(response)
- Return type:
- Raises:
- list(resource_group_name:str, resource_name:str, **kwargs:Any) → PrivateEndpointConnectionListResult[source]¶
Gets a list of private endpoint connections in the specified managed cluster.
To learn more about private clusters, see: .
- Parameters:
- Returns:
PrivateEndpointConnectionListResult or the result of cls(response)
- Return type:
- Raises:
- update(resource_group_name:str, resource_name:str, private_endpoint_connection_name:str, parameters:_models.PrivateEndpointConnection, *, content_type:str='application/json', **kwargs:Any) → _models.PrivateEndpointConnection[source]¶
- update(resource_group_name:str, resource_name:str, private_endpoint_connection_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → _models.PrivateEndpointConnection
Updates a private endpoint connection.
Updates a private endpoint connection.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
private_endpoint_connection_name (str) – The name of the private endpoint connection. Required.
parameters (PrivateEndpointConnection or IO[bytes]) – The updated private endpoint connection. Is either a PrivateEndpointConnection type or a IO[bytes] type. Required.
- Returns:
PrivateEndpointConnection or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.PrivateLinkResourcesOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’sprivate_link_resourcesattribute.- list(resource_group_name:str, resource_name:str, **kwargs:Any) → PrivateLinkResourcesListResult[source]¶
Gets a list of private link resources in the specified managed cluster.
To learn more about private clusters, see: .
- Parameters:
- Returns:
PrivateLinkResourcesListResult or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.ResolvePrivateLinkServiceIdOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’sresolve_private_link_service_idattribute.- post(resource_group_name:str, resource_name:str, parameters:_models.PrivateLinkResource, *, content_type:str='application/json', **kwargs:Any) → _models.PrivateLinkResource[source]¶
- post(resource_group_name:str, resource_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → _models.PrivateLinkResource
Gets the private link service ID for the specified managed cluster.
Gets the private link service ID for the specified managed cluster.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
parameters (PrivateLinkResourceor IO[bytes]) – Parameters required in order to resolve a private link service ID. Is either a PrivateLinkResource type or a IO[bytes] type. Required.
- Returns:
PrivateLinkResource or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.SnapshotsOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’ssnapshotsattribute.- create_or_update(resource_group_name:str, resource_name:str, parameters:_models.Snapshot, *, content_type:str='application/json', **kwargs:Any) → _models.Snapshot[source]¶
- create_or_update(resource_group_name:str, resource_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → _models.Snapshot
Creates or updates a snapshot.
Creates or updates a snapshot.
- Parameters:
- Returns:
Snapshot or the result of cls(response)
- Return type:
- Raises:
- delete(resource_group_name:str, resource_name:str, **kwargs:Any) → None[source]¶
Deletes a snapshot.
Deletes a snapshot.
- Parameters:
- Returns:
None or the result of cls(response)
- Return type:
None
- Raises:
- get(resource_group_name:str, resource_name:str, **kwargs:Any) → Snapshot[source]¶
Gets a snapshot.
Gets a snapshot.
- Parameters:
- Returns:
Snapshot or the result of cls(response)
- Return type:
- Raises:
- list(**kwargs:Any) → Iterable[Snapshot][source]¶
Gets a list of snapshots in the specified subscription.
Gets a list of snapshots in the specified subscription.
- Returns:
An iterator like instance of either Snapshot or the result of cls(response)
- Return type:
- Raises:
- list_by_resource_group(resource_group_name:str, **kwargs:Any) → Iterable[Snapshot][source]¶
Lists snapshots in the specified subscription and resource group.
Lists snapshots in the specified subscription and resource group.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
- Returns:
An iterator like instance of either Snapshot or the result of cls(response)
- Return type:
- Raises:
- update_tags(resource_group_name:str, resource_name:str, parameters:_models.TagsObject, *, content_type:str='application/json', **kwargs:Any) → _models.Snapshot[source]¶
- update_tags(resource_group_name:str, resource_name:str, parameters:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → _models.Snapshot
Updates tags on a snapshot.
Updates tags on a snapshot.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
parameters (TagsObject orIO[bytes]) – Parameters supplied to the Update snapshot Tags operation. Is either a TagsObject type or a IO[bytes] type. Required.
- Returns:
Snapshot or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.TrustedAccessRoleBindingsOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’strusted_access_role_bindingsattribute.- create_or_update(resource_group_name:str, resource_name:str, trusted_access_role_binding_name:str, trusted_access_role_binding:_models.TrustedAccessRoleBinding, *, content_type:str='application/json', **kwargs:Any) → _models.TrustedAccessRoleBinding[source]¶
- create_or_update(resource_group_name:str, resource_name:str, trusted_access_role_binding_name:str, trusted_access_role_binding:IO[bytes], *, content_type:str='application/json', **kwargs:Any) → _models.TrustedAccessRoleBinding
Create or update a trusted access role binding.
Create or update a trusted access role binding.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
resource_name (str) – The name of the managed cluster resource. Required.
trusted_access_role_binding_name (str) – The name of trusted access role binding. Required.
trusted_access_role_binding (TrustedAccessRoleBinding or IO[bytes]) – A trusted access role binding. Is either a TrustedAccessRoleBinding type or a IO[bytes] type. Required.
- Returns:
TrustedAccessRoleBinding or the result of cls(response)
- Return type:
- Raises:
- delete(resource_group_name:str, resource_name:str, trusted_access_role_binding_name:str, **kwargs:Any) → None[source]¶
Delete a trusted access role binding.
Delete a trusted access role binding.
- Parameters:
- Returns:
None or the result of cls(response)
- Return type:
None
- Raises:
- get(resource_group_name:str, resource_name:str, trusted_access_role_binding_name:str, **kwargs:Any) → TrustedAccessRoleBinding[source]¶
Get a trusted access role binding.
Get a trusted access role binding.
- Parameters:
- Returns:
TrustedAccessRoleBinding or the result of cls(response)
- Return type:
- Raises:
- list(resource_group_name:str, resource_name:str, **kwargs:Any) → Iterable[TrustedAccessRoleBinding][source]¶
List trusted access role bindings.
List trusted access role bindings.
- Parameters:
- Returns:
An iterator like instance of either TrustedAccessRoleBinding or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶
- classazure.mgmt.containerservice.v2023_06_02_preview.operations.TrustedAccessRolesOperations(*args, **kwargs)[source]¶
Bases:
objectWarning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
ContainerServiceClient’strusted_access_rolesattribute.- list(location:str, **kwargs:Any) → Iterable[TrustedAccessRole][source]¶
List supported trusted access roles.
List supported trusted access roles.
- Parameters:
location (str) – The name of Azure region. Required.
- Returns:
An iterator like instance of either TrustedAccessRole or the result of cls(response)
- Return type:
- Raises:
- models=<module 'azure.mgmt.containerservice.v2023_06_02_preview.models' from '/mnt/vss/_work/1/s/sdk/containerservice/azure-mgmt-containerservice/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/containerservice/v2023_06_02_preview/models/__init__.py'>¶