Interface SiteCertificatesClient
public interface SiteCertificatesClient
An instance of this class provides access to all the operations defined in SiteCertificatesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String name, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate under a given site.createOrUpdateAsync(String resourceGroupName, String name, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate under a given site.createOrUpdateSlot(String resourceGroupName, String name, String slot, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate in a given site and deployment slot.createOrUpdateSlotAsync(String resourceGroupName, String name, String slot, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate in a given site and deployment slot.com.azure.core.http.rest.Response<CertificateInner> createOrUpdateSlotWithResponse(String resourceGroupName, String name, String slot, String certificateName, CertificateInner certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate in a given site and deployment slot.Mono<com.azure.core.http.rest.Response<CertificateInner>> createOrUpdateSlotWithResponseAsync(String resourceGroupName, String name, String slot, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate in a given site and deployment slot.com.azure.core.http.rest.Response<CertificateInner> createOrUpdateWithResponse(String resourceGroupName, String name, String certificateName, CertificateInner certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate under a given site.Mono<com.azure.core.http.rest.Response<CertificateInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String name, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate under a given site.voidDelete a certificate from the site.deleteAsync(String resourceGroupName, String name, String certificateName) Delete a certificate from the site.voiddeleteSlot(String resourceGroupName, String name, String slot, String certificateName) Delete a certificate for a given site and deployment slot.deleteSlotAsync(String resourceGroupName, String name, String slot, String certificateName) Delete a certificate for a given site and deployment slot.com.azure.core.http.rest.Response<Void> deleteSlotWithResponse(String resourceGroupName, String name, String slot, String certificateName, com.azure.core.util.Context context) Delete a certificate for a given site and deployment slot.deleteSlotWithResponseAsync(String resourceGroupName, String name, String slot, String certificateName) Delete a certificate for a given site and deployment slot.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String name, String certificateName, com.azure.core.util.Context context) Delete a certificate from the site.deleteWithResponseAsync(String resourceGroupName, String name, String certificateName) Delete a certificate from the site.Get a certificate belonging to a given site.Get a certificate belonging to a given site.Get a certificate for a given site and deployment slot.getSlotAsync(String resourceGroupName, String name, String slot, String certificateName) Get a certificate for a given site and deployment slot.com.azure.core.http.rest.Response<CertificateInner> getSlotWithResponse(String resourceGroupName, String name, String slot, String certificateName, com.azure.core.util.Context context) Get a certificate for a given site and deployment slot.Mono<com.azure.core.http.rest.Response<CertificateInner>> getSlotWithResponseAsync(String resourceGroupName, String name, String slot, String certificateName) Get a certificate for a given site and deployment slot.com.azure.core.http.rest.Response<CertificateInner> getWithResponse(String resourceGroupName, String name, String certificateName, com.azure.core.util.Context context) Get a certificate belonging to a given site.Mono<com.azure.core.http.rest.Response<CertificateInner>> getWithResponseAsync(String resourceGroupName, String name, String certificateName) Get a certificate belonging to a given site.com.azure.core.http.rest.PagedIterable<CertificateInner> Get all certificates in a resource group under a site.com.azure.core.http.rest.PagedIterable<CertificateInner> Get all certificates in a resource group under a site.com.azure.core.http.rest.PagedFlux<CertificateInner> Get all certificates in a resource group under a site.com.azure.core.http.rest.PagedIterable<CertificateInner> Get all certificates in a resource group for a given site and a deployment slot.com.azure.core.http.rest.PagedIterable<CertificateInner> Get all certificates in a resource group for a given site and a deployment slot.com.azure.core.http.rest.PagedFlux<CertificateInner> listSlotAsync(String resourceGroupName, String name, String slot) Get all certificates in a resource group for a given site and a deployment slot.update(String resourceGroupName, String name, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate under a given site.updateAsync(String resourceGroupName, String name, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate under a given site.updateSlot(String resourceGroupName, String name, String slot, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate for a site and deployment slot.updateSlotAsync(String resourceGroupName, String name, String slot, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate for a site and deployment slot.com.azure.core.http.rest.Response<CertificateInner> updateSlotWithResponse(String resourceGroupName, String name, String slot, String certificateName, CertificatePatchResource certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate for a site and deployment slot.Mono<com.azure.core.http.rest.Response<CertificateInner>> updateSlotWithResponseAsync(String resourceGroupName, String name, String slot, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate for a site and deployment slot.com.azure.core.http.rest.Response<CertificateInner> updateWithResponse(String resourceGroupName, String name, String certificateName, CertificatePatchResource certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate under a given site.Mono<com.azure.core.http.rest.Response<CertificateInner>> updateWithResponseAsync(String resourceGroupName, String name, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate under a given site.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<CertificateInner> listAsync(String resourceGroupName, String name) Get all certificates in a resource group under a site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.- Returns:
- all certificates in a resource group under a site as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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<CertificateInner> list(String resourceGroupName, String name) Get all certificates in a resource group under a site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.- Returns:
- all certificates in a resource group under a site as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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<CertificateInner> list(String resourceGroupName, String name, com.azure.core.util.Context context) Get all certificates in a resource group under a site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.context- The context to associate with this operation.- Returns:
- all certificates in a resource group under a site as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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<CertificateInner>> getWithResponseAsync(String resourceGroupName, String name, String certificateName) Get a certificate belonging to a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.- Returns:
- a certificate belonging to a given site along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Get a certificate belonging to a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.- Returns:
- a certificate belonging to a given site on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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<CertificateInner> getWithResponse(String resourceGroupName, String name, String certificateName, com.azure.core.util.Context context) Get a certificate belonging to a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.context- The context to associate with this operation.- Returns:
- a certificate belonging to a given site along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get a certificate belonging to a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.- Returns:
- a certificate belonging to a given site.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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<CertificateInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String name, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate under a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<CertificateInner> createOrUpdateAsync(String resourceGroupName, String name, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate under a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<CertificateInner> createOrUpdateWithResponse(String resourceGroupName, String name, String certificateName, CertificateInner certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate under a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.context- The context to associate with this operation.- Returns:
- sSL certificate for an app along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
CertificateInner createOrUpdate(String resourceGroupName, String name, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate under a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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<Void>> deleteWithResponseAsync(String resourceGroupName, String name, String certificateName) Delete a certificate from the site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Delete a certificate from the site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String name, String certificateName, com.azure.core.util.Context context) Delete a certificate from the site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete a certificate from the site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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<CertificateInner>> updateWithResponseAsync(String resourceGroupName, String name, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate under a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<CertificateInner> updateAsync(String resourceGroupName, String name, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate under a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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<CertificateInner> updateWithResponse(String resourceGroupName, String name, String certificateName, CertificatePatchResource certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate under a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.context- The context to associate with this operation.- Returns:
- sSL certificate for an app along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
CertificateInner update(String resourceGroupName, String name, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate under a given site.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSlotAsync
com.azure.core.http.rest.PagedFlux<CertificateInner> listSlotAsync(String resourceGroupName, String name, String slot) Get all certificates in a resource group for a given site and a deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.- Returns:
- all certificates in a resource group for a given site and a deployment slot as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSlot
com.azure.core.http.rest.PagedIterable<CertificateInner> listSlot(String resourceGroupName, String name, String slot) Get all certificates in a resource group for a given site and a deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.- Returns:
- all certificates in a resource group for a given site and a deployment slot as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listSlot
com.azure.core.http.rest.PagedIterable<CertificateInner> listSlot(String resourceGroupName, String name, String slot, com.azure.core.util.Context context) Get all certificates in a resource group for a given site and a deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.context- The context to associate with this operation.- Returns:
- all certificates in a resource group for a given site and a deployment slot as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getSlotWithResponseAsync
Mono<com.azure.core.http.rest.Response<CertificateInner>> getSlotWithResponseAsync(String resourceGroupName, String name, String slot, String certificateName) Get a certificate for a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.- Returns:
- a certificate for a given site and deployment slot along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getSlotAsync
Mono<CertificateInner> getSlotAsync(String resourceGroupName, String name, String slot, String certificateName) Get a certificate for a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.- Returns:
- a certificate for a given site and deployment slot on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getSlotWithResponse
com.azure.core.http.rest.Response<CertificateInner> getSlotWithResponse(String resourceGroupName, String name, String slot, String certificateName, com.azure.core.util.Context context) Get a certificate for a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.context- The context to associate with this operation.- Returns:
- a certificate for a given site and deployment slot along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getSlot
CertificateInner getSlot(String resourceGroupName, String name, String slot, String certificateName) Get a certificate for a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.- Returns:
- a certificate for a given site and deployment slot.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateSlotWithResponseAsync
Mono<com.azure.core.http.rest.Response<CertificateInner>> createOrUpdateSlotWithResponseAsync(String resourceGroupName, String name, String slot, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate in a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateSlotAsync
Mono<CertificateInner> createOrUpdateSlotAsync(String resourceGroupName, String name, String slot, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate in a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateSlotWithResponse
com.azure.core.http.rest.Response<CertificateInner> createOrUpdateSlotWithResponse(String resourceGroupName, String name, String slot, String certificateName, CertificateInner certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate in a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.context- The context to associate with this operation.- Returns:
- sSL certificate for an app along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateSlot
CertificateInner createOrUpdateSlot(String resourceGroupName, String name, String slot, String certificateName, CertificateInner certificateEnvelope) Create or update a certificate in a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteSlotWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteSlotWithResponseAsync(String resourceGroupName, String name, String slot, String certificateName) Delete a certificate for a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteSlotAsync
Mono<Void> deleteSlotAsync(String resourceGroupName, String name, String slot, String certificateName) Delete a certificate for a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteSlotWithResponse
com.azure.core.http.rest.Response<Void> deleteSlotWithResponse(String resourceGroupName, String name, String slot, String certificateName, com.azure.core.util.Context context) Delete a certificate for a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteSlot
Delete a certificate for a given site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateSlotWithResponseAsync
Mono<com.azure.core.http.rest.Response<CertificateInner>> updateSlotWithResponseAsync(String resourceGroupName, String name, String slot, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate for a site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateSlotAsync
Mono<CertificateInner> updateSlotAsync(String resourceGroupName, String name, String slot, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate for a site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateSlotWithResponse
com.azure.core.http.rest.Response<CertificateInner> updateSlotWithResponse(String resourceGroupName, String name, String slot, String certificateName, CertificatePatchResource certificateEnvelope, com.azure.core.util.Context context) Create or update a certificate for a site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.context- The context to associate with this operation.- Returns:
- sSL certificate for an app along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateSlot
CertificateInner updateSlot(String resourceGroupName, String name, String slot, String certificateName, CertificatePatchResource certificateEnvelope) Create or update a certificate for a site and deployment slot.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.name- Name of the site.slot- Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.certificateName- Name of the certificate.certificateEnvelope- Details of certificate, if it exists already.- Returns:
- sSL certificate for an app.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-