Interface ManagedClustersClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ManagedClusterInner>,InnerSupportsListing<ManagedClusterInner>
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.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 ClusterbeginStart(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Starts a previously stopped Managed ClusterbeginStartAsync(String resourceGroupName, String resourceName) Starts a previously stopped Managed ClusterStops a Managed ClusterStops a Managed ClusterbeginStopAsync(String resourceGroupName, String resourceName) Stops a Managed Clustercom.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.com.azure.core.http.rest.Response<RunCommandResultInner>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.Mono<com.azure.core.http.rest.Response<RunCommandResultInner>>getCommandResultWithResponseAsync(String resourceGroupName, String resourceName, String commandId) Gets the results of a command which has been run on the Managed Cluster.getOSOptions(String location) Gets supported OS options in the specified subscription.getOSOptionsAsync(String location) Gets supported OS options in the specified subscription.getOSOptionsAsync(String location, String resourceType) 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.listClusterAdminCredentialsAsync(String resourceGroupName, String resourceName, String serverFqdn) 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.listClusterMonitoringUserCredentialsAsync(String resourceGroupName, String resourceName, String serverFqdn) 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.listClusterUserCredentialsAsync(String resourceGroupName, String resourceName, String serverFqdn, Format format) 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.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.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 ClustervoidStarts a previously stopped Managed ClusterstartAsync(String resourceGroupName, String resourceName) Starts a previously stopped Managed ClusterMono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>startWithResponseAsync(String resourceGroupName, String resourceName) Starts a previously stopped Managed ClustervoidStops a Managed ClustervoidStops a Managed ClusterStops a Managed ClusterMono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>stopWithResponseAsync(String resourceGroupName, String resourceName) Stops a Managed ClusterupdateTags(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 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 Azure region.resourceType- The resource type for which the OS options needs to be returned.- 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.
-
getOSOptionsAsync
Gets supported OS options in the specified subscription.- Parameters:
location- The name of 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.
-
getOSOptions
Gets supported OS options in the specified subscription.- Parameters:
location- The name of 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.
-
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 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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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, 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 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.
-
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.
-
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.
-
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.
-
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, 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 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.
-
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.
-
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.
-
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.
-
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, 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 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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.- 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.- 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.- 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.- 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.- 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.- 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.- 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.
-
stopWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopWithResponseAsync(String resourceGroupName, String resourceName) Stops a Managed ClusterThis 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 ClusterThis 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 ClusterThis 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 ClusterThis 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 ClusterThis 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 ClusterThis 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 ClusterThis 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 ClusterSee [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 ClusterSee [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 ClusterSee [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 ClusterSee [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 ClusterSee [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 ClusterSee [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 ClusterSee [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<com.azure.core.http.rest.Response<RunCommandResultInner>> 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 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.
-
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.
-
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.
-
getCommandResultWithResponse
com.azure.core.http.rest.Response<RunCommandResultInner> 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 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.
-
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.
-