Interface SignalRCustomCertificates
public interface SignalRCustomCertificates
Resource collection API of SignalRCustomCertificates.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new CustomCertificate resource.void
Delete a custom certificate.void
deleteById
(String id) Delete a custom certificate.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a custom certificate.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String resourceName, String certificateName, com.azure.core.util.Context context) Delete a custom certificate.Get a custom certificate.Get a custom certificate.com.azure.core.http.rest.Response<CustomCertificate>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get a custom certificate.com.azure.core.http.rest.Response<CustomCertificate>
getWithResponse
(String resourceGroupName, String resourceName, String certificateName, com.azure.core.util.Context context) Get a custom certificate.com.azure.core.http.rest.PagedIterable<CustomCertificate>
List all custom certificates.com.azure.core.http.rest.PagedIterable<CustomCertificate>
List all custom certificates.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<CustomCertificate> list(String resourceGroupName, String resourceName) List all custom certificates.- 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.resourceName
- The name of the resource.- Returns:
- custom certificates list 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.
-
list
com.azure.core.http.rest.PagedIterable<CustomCertificate> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List all custom certificates.- 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.resourceName
- The name of the resource.context
- The context to associate with this operation.- Returns:
- custom certificates list 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.
-
getWithResponse
com.azure.core.http.rest.Response<CustomCertificate> getWithResponse(String resourceGroupName, String resourceName, String certificateName, com.azure.core.util.Context context) Get a custom certificate.- 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.resourceName
- The name of the resource.certificateName
- Custom certificate name.context
- The context to associate with this operation.- Returns:
- a custom certificate 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
Get a custom certificate.- 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.resourceName
- The name of the resource.certificateName
- Custom certificate name.- Returns:
- a custom certificate.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- 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 resourceName, String certificateName, com.azure.core.util.Context context) Delete a custom certificate.- 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.resourceName
- The name of the resource.certificateName
- Custom certificate name.context
- The context to associate with this operation.- Returns:
- the
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.
-
delete
Delete a custom certificate.- 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.resourceName
- The name of the resource.certificateName
- Custom certificate name.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Get a custom certificate.- Parameters:
id
- the resource ID.- Returns:
- a custom certificate 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<CustomCertificate> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a custom certificate.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a custom certificate 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.
-
deleteById
Delete a custom certificate.- Parameters:
id
- the resource ID.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete a custom certificate.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the
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.
-
define
Begins definition for a new CustomCertificate resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new CustomCertificate definition.
-