Interface ServerTrustCertificatesClient
public interface ServerTrustCertificatesClient
An instance of this class provides access to all the operations defined in ServerTrustCertificatesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerTrustCertificateInner>, ServerTrustCertificateInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerTrustCertificateInner>, ServerTrustCertificateInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters, com.azure.core.util.Context context) Uploads a server trust certificate from box to Sql Managed Instance.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerTrustCertificateInner>, ServerTrustCertificateInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.beginDelete(String resourceGroupName, String managedInstanceName, String certificateName) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.beginDelete(String resourceGroupName, String managedInstanceName, String certificateName, com.azure.core.util.Context context) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.beginDeleteAsync(String resourceGroupName, String managedInstanceName, String certificateName) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.createOrUpdate(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.createOrUpdate(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters, com.azure.core.util.Context context) Uploads a server trust certificate from box to Sql Managed Instance.createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.voidDeletes a server trust certificate that was uploaded from box to Sql Managed Instance.voiddelete(String resourceGroupName, String managedInstanceName, String certificateName, com.azure.core.util.Context context) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.deleteAsync(String resourceGroupName, String managedInstanceName, String certificateName) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String managedInstanceName, String certificateName) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.Gets a server trust certificate that was uploaded from box to Sql Managed Instance.Gets a server trust certificate that was uploaded from box to Sql Managed Instance.com.azure.core.http.rest.Response<ServerTrustCertificateInner> getWithResponse(String resourceGroupName, String managedInstanceName, String certificateName, com.azure.core.util.Context context) Gets a server trust certificate that was uploaded from box to Sql Managed Instance.Mono<com.azure.core.http.rest.Response<ServerTrustCertificateInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String certificateName) Gets a server trust certificate that was uploaded from box to Sql Managed Instance.com.azure.core.http.rest.PagedIterable<ServerTrustCertificateInner> listByInstance(String resourceGroupName, String managedInstanceName) Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.com.azure.core.http.rest.PagedIterable<ServerTrustCertificateInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.com.azure.core.http.rest.PagedFlux<ServerTrustCertificateInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName) Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.
-
Method Details
-
listByInstanceAsync
com.azure.core.http.rest.PagedFlux<ServerTrustCertificateInner> listByInstanceAsync(String resourceGroupName, String managedInstanceName) Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- a list of server trust certificates that were uploaded from box to the given Sql Managed Instance 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.
-
listByInstance
com.azure.core.http.rest.PagedIterable<ServerTrustCertificateInner> listByInstance(String resourceGroupName, String managedInstanceName) Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.- Returns:
- a list of server trust certificates that were uploaded from box to the given Sql Managed Instance 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.
-
listByInstance
com.azure.core.http.rest.PagedIterable<ServerTrustCertificateInner> listByInstance(String resourceGroupName, String managedInstanceName, com.azure.core.util.Context context) Gets a list of server trust certificates that were uploaded from box to the given Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.context- The context to associate with this operation.- Returns:
- a list of server trust certificates that were uploaded from box to the given Sql Managed Instance 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<ServerTrustCertificateInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String certificateName) Gets a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to get.- Returns:
- a server trust certificate that was uploaded from box to Sql Managed Instance 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<ServerTrustCertificateInner> getAsync(String resourceGroupName, String managedInstanceName, String certificateName) Gets a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to get.- Returns:
- a server trust certificate that was uploaded from box to Sql Managed Instance 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<ServerTrustCertificateInner> getWithResponse(String resourceGroupName, String managedInstanceName, String certificateName, com.azure.core.util.Context context) Gets a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to get.context- The context to associate with this operation.- Returns:
- a server trust certificate that was uploaded from box to Sql Managed Instance 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
ServerTrustCertificateInner get(String resourceGroupName, String managedInstanceName, String certificateName) Gets a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to get.- Returns:
- a server trust certificate that was uploaded from box to Sql Managed Instance.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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 managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to upload.parameters- The server trust certificate info.- Returns:
- server trust certificate imported from box to enable connection between box and Sql Managed Instance
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<ServerTrustCertificateInner>,ServerTrustCertificateInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to upload.parameters- The server trust certificate info.- Returns:
- the
PollerFluxfor polling of server trust certificate imported from box to enable connection between box and Sql Managed Instance. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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<ServerTrustCertificateInner>,ServerTrustCertificateInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to upload.parameters- The server trust certificate info.- Returns:
- the
SyncPollerfor polling of server trust certificate imported from box to enable connection between box and Sql Managed Instance. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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<ServerTrustCertificateInner>,ServerTrustCertificateInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters, com.azure.core.util.Context context) Uploads a server trust certificate from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to upload.parameters- The server trust certificate info.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of server trust certificate imported from box to enable connection between box and Sql Managed Instance. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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<ServerTrustCertificateInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to upload.parameters- The server trust certificate info.- Returns:
- server trust certificate imported from box to enable connection between box and Sql Managed Instance 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
ServerTrustCertificateInner createOrUpdate(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters) Uploads a server trust certificate from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to upload.parameters- The server trust certificate info.- Returns:
- server trust certificate imported from box to enable connection between box and Sql Managed Instance.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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
ServerTrustCertificateInner createOrUpdate(String resourceGroupName, String managedInstanceName, String certificateName, ServerTrustCertificateInner parameters, com.azure.core.util.Context context) Uploads a server trust certificate from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to upload.parameters- The server trust certificate info.context- The context to associate with this operation.- Returns:
- server trust certificate imported from box to enable connection between box and Sql Managed Instance.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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 managedInstanceName, String certificateName) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to delete.- 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 managedInstanceName, String certificateName) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to delete.- 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 managedInstanceName, String certificateName) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to delete.- 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 managedInstanceName, String certificateName, com.azure.core.util.Context context) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to delete.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
Mono<Void> deleteAsync(String resourceGroupName, String managedInstanceName, String certificateName) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to delete.- 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 server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to delete.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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 managedInstanceName, String certificateName, com.azure.core.util.Context context) Deletes a server trust certificate that was uploaded from box to Sql Managed Instance.- Parameters:
resourceGroupName- The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.managedInstanceName- The name of the managed instance.certificateName- Name of of the certificate to delete.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.
-