Interface ManagedClustersClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ManagedClusterInner>,InnerSupportsListing<ManagedClusterInner>
public interface ManagedClustersClient
extends InnerSupportsGet<ManagedClusterInner>, InnerSupportsListing<ManagedClusterInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ManagedClustersClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoidabortLatestOperation(String resourceGroupName, String resourceName) Aborts last operation running on managed cluster.voidabortLatestOperation(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Aborts last operation running on managed cluster.abortLatestOperationAsync(String resourceGroupName, String resourceName) Aborts last operation running on managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>abortLatestOperationWithResponseAsync(String resourceGroupName, String resourceName) Aborts last operation running on managed cluster.beginAbortLatestOperation(String resourceGroupName, String resourceName) Aborts last operation running on managed cluster.beginAbortLatestOperation(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Aborts last operation running on managed cluster.beginAbortLatestOperationAsync(String resourceGroupName, String resourceName) Aborts last operation running on managed cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters, com.azure.core.util.Context context) Creates or updates a managed cluster.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.beginDelete(String resourceGroupName, String resourceName) Deletes a managed cluster.beginDelete(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Deletes a managed cluster.beginDeleteAsync(String resourceGroupName, String resourceName) Deletes a managed cluster.beginResetAadProfile(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster.beginResetAadProfile(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters, com.azure.core.util.Context context) Reset the AAD Profile of a managed cluster.beginResetAadProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster.beginResetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) Reset the Service Principal Profile of a managed cluster.beginResetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters, com.azure.core.util.Context context) Reset the Service Principal Profile of a managed cluster.beginResetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) Reset the Service Principal Profile of a managed cluster.beginRotateClusterCertificates(String resourceGroupName, String resourceName) Rotates the certificates of a managed cluster.beginRotateClusterCertificates(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Rotates the certificates of a managed cluster.beginRotateClusterCertificatesAsync(String resourceGroupName, String resourceName) Rotates the certificates of a managed cluster.beginRotateServiceAccountSigningKeys(String resourceGroupName, String resourceName) Rotates the service account signing keys of a managed cluster.beginRotateServiceAccountSigningKeys(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Rotates the service account signing keys of a managed cluster.beginRotateServiceAccountSigningKeysAsync(String resourceGroupName, String resourceName) Rotates the service account signing keys of a managed cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) Submits a command to run against the Managed Cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String resourceName, RunCommandRequest requestPayload, com.azure.core.util.Context context) Submits a command to run against the Managed Cluster.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommandAsync(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) Submits a command to run against the Managed Cluster.beginStart(String resourceGroupName, String resourceName) Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.beginStart(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.beginStartAsync(String resourceGroupName, String resourceName) Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.Stops a Managed Cluster This can only be performed on Azure Virtual Machine Scale set backed clusters.Stops a Managed Cluster This can only be performed on Azure Virtual Machine Scale set backed clusters.beginStopAsync(String resourceGroupName, String resourceName) Stops a Managed Cluster This can only be performed on Azure Virtual Machine Scale set backed clusters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginUpdateTags(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginUpdateTags(String resourceGroupName, String resourceName, TagsObject parameters, com.azure.core.util.Context context) Updates tags on a managed cluster.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginUpdateTagsAsync(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.createOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.createOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters, com.azure.core.util.Context context) Creates or updates a managed cluster.createOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.voidDeletes a managed cluster.voidDeletes a managed cluster.deleteAsync(String resourceGroupName, String resourceName) Deletes a managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String resourceName) Deletes a managed cluster.getAccessProfile(String resourceGroupName, String resourceName, String roleName) Gets an access profile of a managed cluster.getAccessProfileAsync(String resourceGroupName, String resourceName, String roleName) Gets an access profile of a managed cluster.com.azure.core.http.rest.Response<ManagedClusterAccessProfileInner>getAccessProfileWithResponse(String resourceGroupName, String resourceName, String roleName, com.azure.core.util.Context context) Gets an access profile of a managed cluster.Mono<com.azure.core.http.rest.Response<ManagedClusterAccessProfileInner>>getAccessProfileWithResponseAsync(String resourceGroupName, String resourceName, String roleName) Gets an access profile of a managed cluster.getByResourceGroup(String resourceGroupName, String resourceName) Gets a managed cluster.getByResourceGroupAsync(String resourceGroupName, String resourceName) Gets a managed cluster.com.azure.core.http.rest.Response<ManagedClusterInner>getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a managed cluster.Mono<com.azure.core.http.rest.Response<ManagedClusterInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String resourceName) Gets a managed cluster.getCommandResult(String resourceGroupName, String resourceName, String commandId) Gets the results of a command which has been run on the Managed Cluster.getCommandResultAsync(String resourceGroupName, String resourceName, String commandId) Gets the results of a command which has been run on the Managed Cluster.getCommandResultWithResponse(String resourceGroupName, String resourceName, String commandId, com.azure.core.util.Context context) Gets the results of a command which has been run on the Managed Cluster.getCommandResultWithResponseAsync(String resourceGroupName, String resourceName, String commandId) Gets the results of a command which has been run on the Managed Cluster.getMeshRevisionProfile(String location, String mode) Gets a mesh revision profile for a specified mesh in the specified location.getMeshRevisionProfileAsync(String location, String mode) Gets a mesh revision profile for a specified mesh in the specified location.com.azure.core.http.rest.Response<MeshRevisionProfileInner>getMeshRevisionProfileWithResponse(String location, String mode, com.azure.core.util.Context context) Gets a mesh revision profile for a specified mesh in the specified location.Mono<com.azure.core.http.rest.Response<MeshRevisionProfileInner>>getMeshRevisionProfileWithResponseAsync(String location, String mode) Gets a mesh revision profile for a specified mesh in the specified location.getMeshUpgradeProfile(String resourceGroupName, String resourceName, String mode) Gets available upgrades for a service mesh in a cluster.getMeshUpgradeProfileAsync(String resourceGroupName, String resourceName, String mode) Gets available upgrades for a service mesh in a cluster.com.azure.core.http.rest.Response<MeshUpgradeProfileInner>getMeshUpgradeProfileWithResponse(String resourceGroupName, String resourceName, String mode, com.azure.core.util.Context context) Gets available upgrades for a service mesh in a cluster.Mono<com.azure.core.http.rest.Response<MeshUpgradeProfileInner>>getMeshUpgradeProfileWithResponseAsync(String resourceGroupName, String resourceName, String mode) Gets available upgrades for a service mesh in a cluster.getOSOptions(String location) Gets supported OS options in the specified subscription.getOSOptionsAsync(String location) Gets supported OS options in the specified subscription.com.azure.core.http.rest.Response<OSOptionProfileInner>getOSOptionsWithResponse(String location, String resourceType, com.azure.core.util.Context context) Gets supported OS options in the specified subscription.Mono<com.azure.core.http.rest.Response<OSOptionProfileInner>>getOSOptionsWithResponseAsync(String location, String resourceType) Gets supported OS options in the specified subscription.getUpgradeProfile(String resourceGroupName, String resourceName) Gets the upgrade profile of a managed cluster.getUpgradeProfileAsync(String resourceGroupName, String resourceName) Gets the upgrade profile of a managed cluster.com.azure.core.http.rest.Response<ManagedClusterUpgradeProfileInner>getUpgradeProfileWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets the upgrade profile of a managed cluster.Mono<com.azure.core.http.rest.Response<ManagedClusterUpgradeProfileInner>>getUpgradeProfileWithResponseAsync(String resourceGroupName, String resourceName) Gets the upgrade profile of a managed cluster.com.azure.core.http.rest.PagedIterable<ManagedClusterInner>list()Gets a list of managed clusters in the specified subscription.com.azure.core.http.rest.PagedIterable<ManagedClusterInner>list(com.azure.core.util.Context context) Gets a list of managed clusters in the specified subscription.com.azure.core.http.rest.PagedFlux<ManagedClusterInner>Gets a list of managed clusters in the specified subscription.com.azure.core.http.rest.PagedIterable<ManagedClusterInner>listByResourceGroup(String resourceGroupName) Lists managed clusters in the specified subscription and resource group.com.azure.core.http.rest.PagedIterable<ManagedClusterInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists managed clusters in the specified subscription and resource group.com.azure.core.http.rest.PagedFlux<ManagedClusterInner>listByResourceGroupAsync(String resourceGroupName) Lists managed clusters in the specified subscription and resource group.listClusterAdminCredentials(String resourceGroupName, String resourceName) Lists the admin credentials of a managed cluster.listClusterAdminCredentialsAsync(String resourceGroupName, String resourceName) Lists the admin credentials of a managed cluster.com.azure.core.http.rest.Response<CredentialResultsInner>listClusterAdminCredentialsWithResponse(String resourceGroupName, String resourceName, String serverFqdn, com.azure.core.util.Context context) Lists the admin credentials of a managed cluster.Mono<com.azure.core.http.rest.Response<CredentialResultsInner>>listClusterAdminCredentialsWithResponseAsync(String resourceGroupName, String resourceName, String serverFqdn) Lists the admin credentials of a managed cluster.listClusterMonitoringUserCredentials(String resourceGroupName, String resourceName) Lists the cluster monitoring user credentials of a managed cluster.listClusterMonitoringUserCredentialsAsync(String resourceGroupName, String resourceName) Lists the cluster monitoring user credentials of a managed cluster.com.azure.core.http.rest.Response<CredentialResultsInner>listClusterMonitoringUserCredentialsWithResponse(String resourceGroupName, String resourceName, String serverFqdn, com.azure.core.util.Context context) Lists the cluster monitoring user credentials of a managed cluster.Mono<com.azure.core.http.rest.Response<CredentialResultsInner>>listClusterMonitoringUserCredentialsWithResponseAsync(String resourceGroupName, String resourceName, String serverFqdn) Lists the cluster monitoring user credentials of a managed cluster.listClusterUserCredentials(String resourceGroupName, String resourceName) Lists the user credentials of a managed cluster.listClusterUserCredentialsAsync(String resourceGroupName, String resourceName) Lists the user credentials of a managed cluster.com.azure.core.http.rest.Response<CredentialResultsInner>listClusterUserCredentialsWithResponse(String resourceGroupName, String resourceName, String serverFqdn, Format format, com.azure.core.util.Context context) Lists the user credentials of a managed cluster.Mono<com.azure.core.http.rest.Response<CredentialResultsInner>>listClusterUserCredentialsWithResponseAsync(String resourceGroupName, String resourceName, String serverFqdn, Format format) Lists the user credentials of a managed cluster.listKubernetesVersions(String location) Gets a list of supported Kubernetes versions in the specified subscription.listKubernetesVersionsAsync(String location) Gets a list of supported Kubernetes versions in the specified subscription.com.azure.core.http.rest.Response<KubernetesVersionListResultInner>listKubernetesVersionsWithResponse(String location, com.azure.core.util.Context context) Gets a list of supported Kubernetes versions in the specified subscription.Mono<com.azure.core.http.rest.Response<KubernetesVersionListResultInner>>Gets a list of supported Kubernetes versions in the specified subscription.com.azure.core.http.rest.PagedIterable<MeshRevisionProfileInner>listMeshRevisionProfiles(String location) Lists mesh revision profiles for all meshes in the specified location.com.azure.core.http.rest.PagedIterable<MeshRevisionProfileInner>listMeshRevisionProfiles(String location, com.azure.core.util.Context context) Lists mesh revision profiles for all meshes in the specified location.com.azure.core.http.rest.PagedFlux<MeshRevisionProfileInner>listMeshRevisionProfilesAsync(String location) Lists mesh revision profiles for all meshes in the specified location.com.azure.core.http.rest.PagedIterable<MeshUpgradeProfileInner>listMeshUpgradeProfiles(String resourceGroupName, String resourceName) Lists available upgrades for all service meshes in a specific cluster.com.azure.core.http.rest.PagedIterable<MeshUpgradeProfileInner>listMeshUpgradeProfiles(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Lists available upgrades for all service meshes in a specific cluster.com.azure.core.http.rest.PagedFlux<MeshUpgradeProfileInner>listMeshUpgradeProfilesAsync(String resourceGroupName, String resourceName) Lists available upgrades for all service meshes in a specific cluster.com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner>listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String resourceName) Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster.com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner>listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster.com.azure.core.http.rest.PagedFlux<OutboundEnvironmentEndpointInner>listOutboundNetworkDependenciesEndpointsAsync(String resourceGroupName, String resourceName) Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster.voidresetAadProfile(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster.voidresetAadProfile(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters, com.azure.core.util.Context context) Reset the AAD Profile of a managed cluster.resetAadProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>resetAadProfileWithResponseAsync(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster.voidresetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) Reset the Service Principal Profile of a managed cluster.voidresetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters, com.azure.core.util.Context context) Reset the Service Principal Profile of a managed cluster.resetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) Reset the Service Principal Profile of a managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>resetServicePrincipalProfileWithResponseAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) Reset the Service Principal Profile of a managed cluster.voidrotateClusterCertificates(String resourceGroupName, String resourceName) Rotates the certificates of a managed cluster.voidrotateClusterCertificates(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Rotates the certificates of a managed cluster.rotateClusterCertificatesAsync(String resourceGroupName, String resourceName) Rotates the certificates of a managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>rotateClusterCertificatesWithResponseAsync(String resourceGroupName, String resourceName) Rotates the certificates of a managed cluster.voidrotateServiceAccountSigningKeys(String resourceGroupName, String resourceName) Rotates the service account signing keys of a managed cluster.voidrotateServiceAccountSigningKeys(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Rotates the service account signing keys of a managed cluster.rotateServiceAccountSigningKeysAsync(String resourceGroupName, String resourceName) Rotates the service account signing keys of a managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>rotateServiceAccountSigningKeysWithResponseAsync(String resourceGroupName, String resourceName) Rotates the service account signing keys of a managed cluster.runCommand(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) Submits a command to run against the Managed Cluster.runCommand(String resourceGroupName, String resourceName, RunCommandRequest requestPayload, com.azure.core.util.Context context) Submits a command to run against the Managed Cluster.runCommandAsync(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) Submits a command to run against the Managed Cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>runCommandWithResponseAsync(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) Submits a command to run against the Managed Cluster.voidStarts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.voidStarts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.startAsync(String resourceGroupName, String resourceName) Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>startWithResponseAsync(String resourceGroupName, String resourceName) Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.voidStops a Managed Cluster This can only be performed on Azure Virtual Machine Scale set backed clusters.voidStops a Managed Cluster This can only be performed on Azure Virtual Machine Scale set backed clusters.Stops a Managed Cluster This can only be performed on Azure Virtual Machine Scale set backed clusters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>stopWithResponseAsync(String resourceGroupName, String resourceName) Stops a Managed Cluster This can only be performed on Azure Virtual Machine Scale set backed clusters.updateTags(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.updateTags(String resourceGroupName, String resourceName, TagsObject parameters, com.azure.core.util.Context context) Updates tags on a managed cluster.updateTagsAsync(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateTagsWithResponseAsync(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.
-
Method Details
-
getOSOptionsWithResponseAsync
Mono<com.azure.core.http.rest.Response<OSOptionProfileInner>> getOSOptionsWithResponseAsync(String location, String resourceType) Gets supported OS options in the specified subscription.- Parameters:
location- The name of the Azure region.resourceType- The resource type for which the OS options needs to be returned.- Returns:
- supported OS options in the specified subscription along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getOSOptionsAsync
Gets supported OS options in the specified subscription.- Parameters:
location- The name of the Azure region.- Returns:
- supported OS options in the specified subscription on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getOSOptionsWithResponse
com.azure.core.http.rest.Response<OSOptionProfileInner> getOSOptionsWithResponse(String location, String resourceType, com.azure.core.util.Context context) Gets supported OS options in the specified subscription.- Parameters:
location- The name of the Azure region.resourceType- The resource type for which the OS options needs to be returned.context- The context to associate with this operation.- Returns:
- supported OS options in the specified subscription along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getOSOptions
Gets supported OS options in the specified subscription.- Parameters:
location- The name of the Azure region.- Returns:
- supported OS options in the specified subscription.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKubernetesVersionsWithResponseAsync
Mono<com.azure.core.http.rest.Response<KubernetesVersionListResultInner>> listKubernetesVersionsWithResponseAsync(String location) 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- The name of the Azure region.- Returns:
- hold values properties, which is array of KubernetesVersion along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKubernetesVersionsAsync
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- The name of the Azure region.- Returns:
- hold values properties, which is array of KubernetesVersion on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKubernetesVersionsWithResponse
com.azure.core.http.rest.Response<KubernetesVersionListResultInner> listKubernetesVersionsWithResponse(String location, com.azure.core.util.Context context) 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- The name of the Azure region.context- The context to associate with this operation.- Returns:
- hold values properties, which is array of KubernetesVersion along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKubernetesVersions
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- The name of the Azure region.- Returns:
- hold values properties, which is array of KubernetesVersion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<ManagedClusterInner> listAsync()Gets a list of managed clusters in the specified subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<ManagedClusterInner>- Returns:
- a list of managed clusters in the specified subscription as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ManagedClusterInner> list()Gets a list of managed clusters in the specified subscription.- Specified by:
listin interfaceInnerSupportsListing<ManagedClusterInner>- Returns:
- a list of managed clusters in the specified subscription as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ManagedClusterInner> list(com.azure.core.util.Context context) Gets a list of managed clusters in the specified subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- a list of managed clusters in the specified subscription as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ManagedClusterInner> listByResourceGroupAsync(String resourceGroupName) Lists managed clusters in the specified subscription and resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ManagedClusterInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- the response from the List Managed Clusters operation as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ManagedClusterInner> listByResourceGroup(String resourceGroupName) Lists managed clusters in the specified subscription and resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ManagedClusterInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- the response from the List Managed Clusters operation as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ManagedClusterInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists managed clusters in the specified subscription and resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.context- The context to associate with this operation.- Returns:
- the response from the List Managed Clusters operation as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getUpgradeProfileWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedClusterUpgradeProfileInner>> getUpgradeProfileWithResponseAsync(String resourceGroupName, String resourceName) Gets the upgrade profile of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the upgrade profile of a managed cluster along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getUpgradeProfileAsync
Mono<ManagedClusterUpgradeProfileInner> getUpgradeProfileAsync(String resourceGroupName, String resourceName) Gets the upgrade profile of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the upgrade profile of a managed cluster on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getUpgradeProfileWithResponse
com.azure.core.http.rest.Response<ManagedClusterUpgradeProfileInner> getUpgradeProfileWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets the upgrade profile of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- the upgrade profile of a managed cluster along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getUpgradeProfile
Gets the upgrade profile of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the upgrade profile of a managed cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAccessProfileWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedClusterAccessProfileInner>> getAccessProfileWithResponseAsync(String resourceGroupName, String resourceName, String roleName) Gets an access profile of a managed cluster. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) .- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.roleName- The name of the role for managed cluster accessProfile resource.- Returns:
- managed cluster Access Profile along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAccessProfileAsync
Mono<ManagedClusterAccessProfileInner> getAccessProfileAsync(String resourceGroupName, String resourceName, String roleName) Gets an access profile of a managed cluster. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) .- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.roleName- The name of the role for managed cluster accessProfile resource.- Returns:
- managed cluster Access Profile on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAccessProfileWithResponse
com.azure.core.http.rest.Response<ManagedClusterAccessProfileInner> getAccessProfileWithResponse(String resourceGroupName, String resourceName, String roleName, com.azure.core.util.Context context) Gets an access profile of a managed cluster. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) .- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.roleName- The name of the role for managed cluster accessProfile resource.context- The context to associate with this operation.- Returns:
- managed cluster Access Profile along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAccessProfile
ManagedClusterAccessProfileInner getAccessProfile(String resourceGroupName, String resourceName, String roleName) Gets an access profile of a managed cluster. **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) .- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.roleName- The name of the role for managed cluster accessProfile resource.- Returns:
- managed cluster Access Profile.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterAdminCredentialsWithResponseAsync
Mono<com.azure.core.http.rest.Response<CredentialResultsInner>> listClusterAdminCredentialsWithResponseAsync(String resourceGroupName, String resourceName, String serverFqdn) Lists the admin credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.serverFqdn- server fqdn type for credentials to be returned.- Returns:
- the list credential result response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterAdminCredentialsAsync
Mono<CredentialResultsInner> listClusterAdminCredentialsAsync(String resourceGroupName, String resourceName) Lists the admin credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list credential result response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterAdminCredentialsWithResponse
com.azure.core.http.rest.Response<CredentialResultsInner> listClusterAdminCredentialsWithResponse(String resourceGroupName, String resourceName, String serverFqdn, com.azure.core.util.Context context) Lists the admin credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.serverFqdn- server fqdn type for credentials to be returned.context- The context to associate with this operation.- Returns:
- the list credential result response along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterAdminCredentials
Lists the admin credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list credential result response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterUserCredentialsWithResponseAsync
Mono<com.azure.core.http.rest.Response<CredentialResultsInner>> listClusterUserCredentialsWithResponseAsync(String resourceGroupName, String resourceName, String serverFqdn, Format format) Lists the user credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.serverFqdn- server fqdn type for credentials to be returned.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.- Returns:
- the list credential result response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterUserCredentialsAsync
Mono<CredentialResultsInner> listClusterUserCredentialsAsync(String resourceGroupName, String resourceName) Lists the user credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list credential result response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterUserCredentialsWithResponse
com.azure.core.http.rest.Response<CredentialResultsInner> listClusterUserCredentialsWithResponse(String resourceGroupName, String resourceName, String serverFqdn, Format format, com.azure.core.util.Context context) Lists the user credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.serverFqdn- server fqdn type for credentials to be returned.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.context- The context to associate with this operation.- Returns:
- the list credential result response along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterUserCredentials
Lists the user credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list credential result response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterMonitoringUserCredentialsWithResponseAsync
Mono<com.azure.core.http.rest.Response<CredentialResultsInner>> listClusterMonitoringUserCredentialsWithResponseAsync(String resourceGroupName, String resourceName, String serverFqdn) Lists the cluster monitoring user credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.serverFqdn- server fqdn type for credentials to be returned.- Returns:
- the list credential result response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterMonitoringUserCredentialsAsync
Mono<CredentialResultsInner> listClusterMonitoringUserCredentialsAsync(String resourceGroupName, String resourceName) Lists the cluster monitoring user credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list credential result response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterMonitoringUserCredentialsWithResponse
com.azure.core.http.rest.Response<CredentialResultsInner> listClusterMonitoringUserCredentialsWithResponse(String resourceGroupName, String resourceName, String serverFqdn, com.azure.core.util.Context context) Lists the cluster monitoring user credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.serverFqdn- server fqdn type for credentials to be returned.context- The context to associate with this operation.- Returns:
- the list credential result response along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listClusterMonitoringUserCredentials
CredentialResultsInner listClusterMonitoringUserCredentials(String resourceGroupName, String resourceName) Lists the cluster monitoring user credentials of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the list credential result response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedClusterInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String resourceName) Gets a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- a managed cluster along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Gets a managed cluster.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ManagedClusterInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- a managed cluster on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ManagedClusterInner> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- a managed cluster along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Gets a managed cluster.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ManagedClusterInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- a managed cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The managed cluster to create or update.- Returns:
- managed cluster along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The managed cluster to create or update.- Returns:
- the
PollerFluxfor polling of managed cluster. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The managed cluster to create or update.- Returns:
- the
SyncPollerfor polling of managed cluster. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters, com.azure.core.util.Context context) Creates or updates a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The managed cluster to create or update.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of managed cluster. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ManagedClusterInner> createOrUpdateAsync(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The managed cluster to create or update.- Returns:
- managed cluster on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ManagedClusterInner createOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters) Creates or updates a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The managed cluster to create or update.- Returns:
- managed cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ManagedClusterInner createOrUpdate(String resourceGroupName, String resourceName, ManagedClusterInner parameters, com.azure.core.util.Context context) Creates or updates a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The managed cluster to create or update.context- The context to associate with this operation.- Returns:
- managed cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- Parameters supplied to the Update Managed Cluster Tags operation.- Returns:
- managed cluster along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateTagsAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginUpdateTagsAsync(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- Parameters supplied to the Update Managed Cluster Tags operation.- Returns:
- the
PollerFluxfor polling of managed cluster. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateTags
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginUpdateTags(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- Parameters supplied to the Update Managed Cluster Tags operation.- Returns:
- the
SyncPollerfor polling of managed cluster. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateTags
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedClusterInner>,ManagedClusterInner> beginUpdateTags(String resourceGroupName, String resourceName, TagsObject parameters, com.azure.core.util.Context context) Updates tags on a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- Parameters supplied to the Update Managed Cluster Tags operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of managed cluster. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsAsync
Mono<ManagedClusterInner> updateTagsAsync(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- Parameters supplied to the Update Managed Cluster Tags operation.- Returns:
- managed cluster on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTags
ManagedClusterInner updateTags(String resourceGroupName, String resourceName, TagsObject parameters) Updates tags on a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- Parameters supplied to the Update Managed Cluster Tags operation.- Returns:
- managed cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTags
ManagedClusterInner updateTags(String resourceGroupName, String resourceName, TagsObject parameters, com.azure.core.util.Context context) Updates tags on a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- Parameters supplied to the Update Managed Cluster Tags operation.context- The context to associate with this operation.- Returns:
- managed cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String resourceName) Deletes a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String resourceName) Deletes a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName) Deletes a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Deletes a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes a managed cluster.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resetServicePrincipalProfileWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetServicePrincipalProfileWithResponseAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The service principal profile to set on the managed cluster.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginResetServicePrincipalProfileAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginResetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The service principal profile to set on the managed cluster.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginResetServicePrincipalProfile
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The service principal profile to set on the managed cluster.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginResetServicePrincipalProfile
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters, com.azure.core.util.Context context) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The service principal profile to set on the managed cluster.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resetServicePrincipalProfileAsync
Mono<Void> resetServicePrincipalProfileAsync(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The service principal profile to set on the managed cluster.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resetServicePrincipalProfile
void resetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The service principal profile to set on the managed cluster.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resetServicePrincipalProfile
void resetServicePrincipalProfile(String resourceGroupName, String resourceName, ManagedClusterServicePrincipalProfile parameters, com.azure.core.util.Context context) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The service principal profile to set on the managed cluster.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resetAadProfileWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetAadProfileWithResponseAsync(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster. **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The AAD profile to set on the Managed Cluster.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginResetAadProfileAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginResetAadProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster. **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The AAD profile to set on the Managed Cluster.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginResetAadProfile
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetAadProfile(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster. **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The AAD profile to set on the Managed Cluster.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginResetAadProfile
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetAadProfile(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters, com.azure.core.util.Context context) Reset the AAD Profile of a managed cluster. **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The AAD profile to set on the Managed Cluster.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resetAadProfileAsync
Mono<Void> resetAadProfileAsync(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster. **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The AAD profile to set on the Managed Cluster.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resetAadProfile
void resetAadProfile(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters) Reset the AAD Profile of a managed cluster. **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The AAD profile to set on the Managed Cluster.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resetAadProfile
void resetAadProfile(String resourceGroupName, String resourceName, ManagedClusterAadProfile parameters, com.azure.core.util.Context context) Reset the AAD Profile of a managed cluster. **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.parameters- The AAD profile to set on the Managed Cluster.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
rotateClusterCertificatesWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> rotateClusterCertificatesWithResponseAsync(String resourceGroupName, String resourceName) Rotates the certificates of a managed cluster. See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRotateClusterCertificatesAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRotateClusterCertificatesAsync(String resourceGroupName, String resourceName) Rotates the certificates of a managed cluster. See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRotateClusterCertificates
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRotateClusterCertificates(String resourceGroupName, String resourceName) Rotates the certificates of a managed cluster. See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRotateClusterCertificates
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRotateClusterCertificates(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Rotates the certificates of a managed cluster. See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
rotateClusterCertificatesAsync
Rotates the certificates of a managed cluster. See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
rotateClusterCertificates
Rotates the certificates of a managed cluster. See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
rotateClusterCertificates
void rotateClusterCertificates(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Rotates the certificates of a managed cluster. See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
abortLatestOperationWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> abortLatestOperationWithResponseAsync(String resourceGroupName, String resourceName) 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, a 409 error code is returned.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginAbortLatestOperationAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginAbortLatestOperationAsync(String resourceGroupName, String resourceName) 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, a 409 error code is returned.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginAbortLatestOperation
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAbortLatestOperation(String resourceGroupName, String resourceName) 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, a 409 error code is returned.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginAbortLatestOperation
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAbortLatestOperation(String resourceGroupName, String resourceName, com.azure.core.util.Context context) 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, a 409 error code is returned.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
abortLatestOperationAsync
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, a 409 error code is returned.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
abortLatestOperation
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, a 409 error code is returned.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
abortLatestOperation
void abortLatestOperation(String resourceGroupName, String resourceName, com.azure.core.util.Context context) 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, a 409 error code is returned.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
rotateServiceAccountSigningKeysWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> rotateServiceAccountSigningKeysWithResponseAsync(String resourceGroupName, String resourceName) Rotates the service account signing keys of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRotateServiceAccountSigningKeysAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRotateServiceAccountSigningKeysAsync(String resourceGroupName, String resourceName) Rotates the service account signing keys of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRotateServiceAccountSigningKeys
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRotateServiceAccountSigningKeys(String resourceGroupName, String resourceName) Rotates the service account signing keys of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRotateServiceAccountSigningKeys
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRotateServiceAccountSigningKeys(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Rotates the service account signing keys of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
rotateServiceAccountSigningKeysAsync
Rotates the service account signing keys of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
rotateServiceAccountSigningKeys
Rotates the service account signing keys of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
rotateServiceAccountSigningKeys
void rotateServiceAccountSigningKeys(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Rotates the service account signing keys of a managed cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stopWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopWithResponseAsync(String resourceGroupName, String resourceName) 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](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStopAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStopAsync(String resourceGroupName, String resourceName) 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](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(String resourceGroupName, String resourceName) 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](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(String resourceGroupName, String resourceName, com.azure.core.util.Context context) 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](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stopAsync
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](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stop
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](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stop
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](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String resourceName) Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String resourceName) Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String resourceName) Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startAsync
Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
start
Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
start
Starts a previously stopped Managed Cluster See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
runCommandWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> runCommandWithResponseAsync(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) 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](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.requestPayload- The run command request.- Returns:
- run command result along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRunCommandAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommandAsync(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) 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](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.requestPayload- The run command request.- Returns:
- the
PollerFluxfor polling of run command result. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRunCommand
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) 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](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.requestPayload- The run command request.- Returns:
- the
SyncPollerfor polling of run command result. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRunCommand
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunCommandResultInner>,RunCommandResultInner> beginRunCommand(String resourceGroupName, String resourceName, RunCommandRequest requestPayload, com.azure.core.util.Context context) 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](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.requestPayload- The run command request.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of run command result. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
runCommandAsync
Mono<RunCommandResultInner> runCommandAsync(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) 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](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.requestPayload- The run command request.- Returns:
- run command result on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
runCommand
RunCommandResultInner runCommand(String resourceGroupName, String resourceName, RunCommandRequest requestPayload) 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](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.requestPayload- The run command request.- Returns:
- run command result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
runCommand
RunCommandResultInner runCommand(String resourceGroupName, String resourceName, RunCommandRequest requestPayload, com.azure.core.util.Context context) 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](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.requestPayload- The run command request.context- The context to associate with this operation.- Returns:
- run command result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getCommandResultWithResponseAsync
Mono<ManagedClustersGetCommandResultResponse> getCommandResultWithResponseAsync(String resourceGroupName, String resourceName, String commandId) Gets the results of a command which has been run on the Managed Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.commandId- Id of the command.- Returns:
- the results of a command which has been run on the Managed Cluster on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getCommandResultAsync
Mono<RunCommandResultInner> getCommandResultAsync(String resourceGroupName, String resourceName, String commandId) Gets the results of a command which has been run on the Managed Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.commandId- Id of the command.- Returns:
- the results of a command which has been run on the Managed Cluster on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getCommandResultWithResponse
ManagedClustersGetCommandResultResponse getCommandResultWithResponse(String resourceGroupName, String resourceName, String commandId, com.azure.core.util.Context context) Gets the results of a command which has been run on the Managed Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.commandId- Id of the command.context- The context to associate with this operation.- Returns:
- the results of a command which has been run on the Managed Cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getCommandResult
RunCommandResultInner getCommandResult(String resourceGroupName, String resourceName, String commandId) Gets the results of a command which has been run on the Managed Cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.commandId- Id of the command.- Returns:
- the results of a command which has been run on the Managed Cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listOutboundNetworkDependenciesEndpointsAsync
com.azure.core.http.rest.PagedFlux<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpointsAsync(String resourceGroupName, String resourceName) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
cluster as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listOutboundNetworkDependenciesEndpoints
com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String resourceName) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
cluster as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listOutboundNetworkDependenciesEndpoints
com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String resourceName, com.azure.core.util.Context context) 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:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed
cluster as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listMeshRevisionProfilesAsync
com.azure.core.http.rest.PagedFlux<MeshRevisionProfileInner> listMeshRevisionProfilesAsync(String location) 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- The name of the Azure region.- Returns:
- holds an array of MeshRevisionsProfiles as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listMeshRevisionProfiles
com.azure.core.http.rest.PagedIterable<MeshRevisionProfileInner> listMeshRevisionProfiles(String location) 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- The name of the Azure region.- Returns:
- holds an array of MeshRevisionsProfiles as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listMeshRevisionProfiles
com.azure.core.http.rest.PagedIterable<MeshRevisionProfileInner> listMeshRevisionProfiles(String location, com.azure.core.util.Context context) 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- The name of the Azure region.context- The context to associate with this operation.- Returns:
- holds an array of MeshRevisionsProfiles as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getMeshRevisionProfileWithResponseAsync
Mono<com.azure.core.http.rest.Response<MeshRevisionProfileInner>> getMeshRevisionProfileWithResponseAsync(String location, String mode) 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:
location- The name of the Azure region.mode- The mode of the mesh.- Returns:
- mesh revision profile for a mesh along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getMeshRevisionProfileAsync
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:
location- The name of the Azure region.mode- The mode of the mesh.- Returns:
- mesh revision profile for a mesh on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getMeshRevisionProfileWithResponse
com.azure.core.http.rest.Response<MeshRevisionProfileInner> getMeshRevisionProfileWithResponse(String location, String mode, com.azure.core.util.Context context) 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:
location- The name of the Azure region.mode- The mode of the mesh.context- The context to associate with this operation.- Returns:
- mesh revision profile for a mesh along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getMeshRevisionProfile
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:
location- The name of the Azure region.mode- The mode of the mesh.- Returns:
- mesh revision profile for a mesh.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listMeshUpgradeProfilesAsync
com.azure.core.http.rest.PagedFlux<MeshUpgradeProfileInner> listMeshUpgradeProfilesAsync(String resourceGroupName, String resourceName) Lists available upgrades for all service meshes in a specific cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- holds an array of MeshUpgradeProfiles as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listMeshUpgradeProfiles
com.azure.core.http.rest.PagedIterable<MeshUpgradeProfileInner> listMeshUpgradeProfiles(String resourceGroupName, String resourceName) Lists available upgrades for all service meshes in a specific cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.- Returns:
- holds an array of MeshUpgradeProfiles as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listMeshUpgradeProfiles
com.azure.core.http.rest.PagedIterable<MeshUpgradeProfileInner> listMeshUpgradeProfiles(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Lists available upgrades for all service meshes in a specific cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.context- The context to associate with this operation.- Returns:
- holds an array of MeshUpgradeProfiles as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getMeshUpgradeProfileWithResponseAsync
Mono<com.azure.core.http.rest.Response<MeshUpgradeProfileInner>> getMeshUpgradeProfileWithResponseAsync(String resourceGroupName, String resourceName, String mode) Gets available upgrades for a service mesh in a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.mode- The mode of the mesh.- Returns:
- available upgrades for a service mesh in a cluster along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getMeshUpgradeProfileAsync
Mono<MeshUpgradeProfileInner> getMeshUpgradeProfileAsync(String resourceGroupName, String resourceName, String mode) Gets available upgrades for a service mesh in a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.mode- The mode of the mesh.- Returns:
- available upgrades for a service mesh in a cluster on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getMeshUpgradeProfileWithResponse
com.azure.core.http.rest.Response<MeshUpgradeProfileInner> getMeshUpgradeProfileWithResponse(String resourceGroupName, String resourceName, String mode, com.azure.core.util.Context context) Gets available upgrades for a service mesh in a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.mode- The mode of the mesh.context- The context to associate with this operation.- Returns:
- available upgrades for a service mesh in a cluster along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getMeshUpgradeProfile
MeshUpgradeProfileInner getMeshUpgradeProfile(String resourceGroupName, String resourceName, String mode) Gets available upgrades for a service mesh in a cluster.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.mode- The mode of the mesh.- Returns:
- available upgrades for a service mesh in a cluster.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-