Interface ManagedNamespacesClient
public interface ManagedNamespacesClient
An instance of this class provides access to all the operations defined in ManagedNamespacesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedNamespaceInner>, ManagedNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ManagedNamespaceInner>, ManagedNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters, com.azure.core.util.Context context) Creates or updates a namespace managed by ARM for the specified managed cluster.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ManagedNamespaceInner>, ManagedNamespaceInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster.beginDelete(String resourceGroupName, String resourceName, String managedNamespaceName) Deletes a namespace.beginDelete(String resourceGroupName, String resourceName, String managedNamespaceName, com.azure.core.util.Context context) Deletes a namespace.beginDeleteAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Deletes a namespace.createOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster.createOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters, com.azure.core.util.Context context) Creates or updates a namespace managed by ARM for the specified managed cluster.createOrUpdateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster.voidDeletes a namespace.voiddelete(String resourceGroupName, String resourceName, String managedNamespaceName, com.azure.core.util.Context context) Deletes a namespace.deleteAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Deletes a namespace.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Deletes a namespace.Gets the specified namespace of a managed cluster.Gets the specified namespace of a managed cluster.com.azure.core.http.rest.Response<ManagedNamespaceInner> getWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, com.azure.core.util.Context context) Gets the specified namespace of a managed cluster.Mono<com.azure.core.http.rest.Response<ManagedNamespaceInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Gets the specified namespace of a managed cluster.com.azure.core.http.rest.PagedIterable<ManagedNamespaceInner> listByManagedCluster(String resourceGroupName, String resourceName) Gets a list of managed namespaces in the specified managed cluster.com.azure.core.http.rest.PagedIterable<ManagedNamespaceInner> listByManagedCluster(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of managed namespaces in the specified managed cluster.com.azure.core.http.rest.PagedFlux<ManagedNamespaceInner> listByManagedClusterAsync(String resourceGroupName, String resourceName) Gets a list of managed namespaces in the specified managed cluster.listCredential(String resourceGroupName, String resourceName, String managedNamespaceName) Lists the credentials of a namespace.listCredentialAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Lists the credentials of a namespace.com.azure.core.http.rest.Response<CredentialResultsInner> listCredentialWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, com.azure.core.util.Context context) Lists the credentials of a namespace.Mono<com.azure.core.http.rest.Response<CredentialResultsInner>> listCredentialWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Lists the credentials of a namespace.update(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters) Updates tags on a managed namespace.updateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters) Updates tags on a managed namespace.com.azure.core.http.rest.Response<ManagedNamespaceInner> updateWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters, com.azure.core.util.Context context) Updates tags on a managed namespace.Mono<com.azure.core.http.rest.Response<ManagedNamespaceInner>> updateWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters) Updates tags on a managed namespace.
-
Method Details
-
listByManagedClusterAsync
com.azure.core.http.rest.PagedFlux<ManagedNamespaceInner> listByManagedClusterAsync(String resourceGroupName, String resourceName) Gets a list of managed namespaces in the specified 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 list of managed namespaces 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.
-
listByManagedCluster
com.azure.core.http.rest.PagedIterable<ManagedNamespaceInner> listByManagedCluster(String resourceGroupName, String resourceName) Gets a list of managed namespaces in the specified 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 list of managed namespaces 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.
-
listByManagedCluster
com.azure.core.http.rest.PagedIterable<ManagedNamespaceInner> listByManagedCluster(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets a list of managed namespaces in the specified 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 list of managed namespaces 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedNamespaceInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Gets the specified namespace 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.managedNamespaceName- The name of the managed namespace.- Returns:
- the specified namespace 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.
-
getAsync
Mono<ManagedNamespaceInner> getAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Gets the specified namespace 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.managedNamespaceName- The name of the managed namespace.- Returns:
- the specified namespace 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.
-
getWithResponse
com.azure.core.http.rest.Response<ManagedNamespaceInner> getWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, com.azure.core.util.Context context) Gets the specified namespace 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.managedNamespaceName- The name of the managed namespace.context- The context to associate with this operation.- Returns:
- the specified namespace 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.
-
get
ManagedNamespaceInner get(String resourceGroupName, String resourceName, String managedNamespaceName) Gets the specified namespace 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.managedNamespaceName- The name of the managed namespace.- Returns:
- the specified namespace 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster. Users can configure aspects like resource quotas, network ingress/egress policies, and more. See aka.ms/aks/managed-namespaces for more details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- The namespace to create or update.- Returns:
- namespace managed by ARM 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<ManagedNamespaceInner>, ManagedNamespaceInner> beginCreateOrUpdateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster. Users can configure aspects like resource quotas, network ingress/egress policies, and more. See aka.ms/aks/managed-namespaces for more details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- The namespace to create or update.- Returns:
- the
PollerFluxfor polling of namespace managed by ARM. - 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<ManagedNamespaceInner>, ManagedNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster. Users can configure aspects like resource quotas, network ingress/egress policies, and more. See aka.ms/aks/managed-namespaces for more details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- The namespace to create or update.- Returns:
- the
SyncPollerfor polling of namespace managed by ARM. - 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<ManagedNamespaceInner>, ManagedNamespaceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters, com.azure.core.util.Context context) Creates or updates a namespace managed by ARM for the specified managed cluster. Users can configure aspects like resource quotas, network ingress/egress policies, and more. See aka.ms/aks/managed-namespaces for more details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- The namespace to create or update.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of namespace managed by ARM. - 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<ManagedNamespaceInner> createOrUpdateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster. Users can configure aspects like resource quotas, network ingress/egress policies, and more. See aka.ms/aks/managed-namespaces for more details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- The namespace to create or update.- Returns:
- namespace managed by ARM 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
ManagedNamespaceInner createOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters) Creates or updates a namespace managed by ARM for the specified managed cluster. Users can configure aspects like resource quotas, network ingress/egress policies, and more. See aka.ms/aks/managed-namespaces for more details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- The namespace to create or update.- Returns:
- namespace managed by ARM.
- 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
ManagedNamespaceInner createOrUpdate(String resourceGroupName, String resourceName, String managedNamespaceName, ManagedNamespaceInner parameters, com.azure.core.util.Context context) Creates or updates a namespace managed by ARM for the specified managed cluster. Users can configure aspects like resource quotas, network ingress/egress policies, and more. See aka.ms/aks/managed-namespaces for more details.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- The namespace to create or update.context- The context to associate with this operation.- Returns:
- namespace managed by ARM.
- 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, String managedNamespaceName) Deletes a namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.- 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, String managedNamespaceName) Deletes a namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.- 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, String managedNamespaceName) Deletes a namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.- 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, String managedNamespaceName, com.azure.core.util.Context context) Deletes a namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.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 namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.- 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 namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.- 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
void delete(String resourceGroupName, String resourceName, String managedNamespaceName, com.azure.core.util.Context context) Deletes a namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ManagedNamespaceInner>> updateWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters) Updates tags on a managed namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- Parameters supplied to the patch namespace operation, we only support patch tags for now.- Returns:
- namespace managed by ARM 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.
-
updateAsync
Mono<ManagedNamespaceInner> updateAsync(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters) Updates tags on a managed namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- Parameters supplied to the patch namespace operation, we only support patch tags for now.- Returns:
- namespace managed by ARM 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.
-
updateWithResponse
com.azure.core.http.rest.Response<ManagedNamespaceInner> updateWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters, com.azure.core.util.Context context) Updates tags on a managed namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- Parameters supplied to the patch namespace operation, we only support patch tags for now.context- The context to associate with this operation.- Returns:
- namespace managed by ARM 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.
-
update
ManagedNamespaceInner update(String resourceGroupName, String resourceName, String managedNamespaceName, TagsObject parameters) Updates tags on a managed namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.parameters- Parameters supplied to the patch namespace operation, we only support patch tags for now.- Returns:
- namespace managed by ARM.
- 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.
-
listCredentialWithResponseAsync
Mono<com.azure.core.http.rest.Response<CredentialResultsInner>> listCredentialWithResponseAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Lists the credentials of a namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.- 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.
-
listCredentialAsync
Mono<CredentialResultsInner> listCredentialAsync(String resourceGroupName, String resourceName, String managedNamespaceName) Lists the credentials of a namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.- 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.
-
listCredentialWithResponse
com.azure.core.http.rest.Response<CredentialResultsInner> listCredentialWithResponse(String resourceGroupName, String resourceName, String managedNamespaceName, com.azure.core.util.Context context) Lists the credentials of a namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.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.
-
listCredential
CredentialResultsInner listCredential(String resourceGroupName, String resourceName, String managedNamespaceName) Lists the credentials of a namespace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.resourceName- The name of the managed cluster resource.managedNamespaceName- The name of the managed namespace.- 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.
-