Interface ConnectedEnvironmentsCertificates
public interface ConnectedEnvironmentsCertificates
Resource collection API of ConnectedEnvironmentsCertificates.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Certificate resource.voidDeletes the specified Certificate.voiddeleteById(String id) Deletes the specified Certificate.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the specified Certificate.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String connectedEnvironmentName, String certificateName, com.azure.core.util.Context context) Deletes the specified Certificate.Get the specified Certificate.Get the specified Certificate.com.azure.core.http.rest.Response<Certificate> getByIdWithResponse(String id, com.azure.core.util.Context context) Get the specified Certificate.com.azure.core.http.rest.Response<Certificate> getWithResponse(String resourceGroupName, String connectedEnvironmentName, String certificateName, com.azure.core.util.Context context) Get the specified Certificate.com.azure.core.http.rest.PagedIterable<Certificate> Get the Certificates in a given connected environment.com.azure.core.http.rest.PagedIterable<Certificate> list(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get the Certificates in a given connected environment.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Certificate> list(String resourceGroupName, String connectedEnvironmentName) Get the Certificates in a given connected environment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the Connected Environment.- Returns:
- the Certificates in a given connected environment 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<Certificate> list(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get the Certificates in a given connected environment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the Connected Environment.context- The context to associate with this operation.- Returns:
- the Certificates in a given connected environment 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.
-
getWithResponse
com.azure.core.http.rest.Response<Certificate> getWithResponse(String resourceGroupName, String connectedEnvironmentName, String certificateName, com.azure.core.util.Context context) Get the specified Certificate.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the Connected Environment.certificateName- Name of the Certificate.context- The context to associate with this operation.- Returns:
- the specified Certificate 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 the specified Certificate.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the Connected Environment.certificateName- Name of the Certificate.- Returns:
- the specified 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String connectedEnvironmentName, String certificateName, com.azure.core.util.Context context) Deletes the specified Certificate.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the Connected Environment.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
Deletes the specified Certificate.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the Connected Environment.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.
-
getById
Get the specified Certificate.- Parameters:
id- the resource ID.- Returns:
- the specified Certificate 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<Certificate> getByIdWithResponse(String id, com.azure.core.util.Context context) Get the specified Certificate.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- the specified Certificate 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.
-
deleteById
Deletes the specified Certificate.- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the specified 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.DefaultErrorResponseErrorException- 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 Certificate resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new Certificate definition.
-