public interface CertificatesClient
Modifier and Type | Method and Description |
---|---|
CertificateInner |
createOrUpdate(String resourceGroupName,
String automationAccountName,
String certificateName,
CertificateCreateOrUpdateParameters parameters)
Create a certificate.
|
com.azure.core.http.rest.Response<CertificateInner> |
createOrUpdateWithResponse(String resourceGroupName,
String automationAccountName,
String certificateName,
CertificateCreateOrUpdateParameters parameters,
com.azure.core.util.Context context)
Create a certificate.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String certificateName)
Delete the certificate.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String automationAccountName,
String certificateName,
com.azure.core.util.Context context)
Delete the certificate.
|
CertificateInner |
get(String resourceGroupName,
String automationAccountName,
String certificateName)
Retrieve the certificate identified by certificate name.
|
com.azure.core.http.rest.Response<CertificateInner> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String certificateName,
com.azure.core.util.Context context)
Retrieve the certificate identified by certificate name.
|
com.azure.core.http.rest.PagedIterable<CertificateInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of certificates.
|
com.azure.core.http.rest.PagedIterable<CertificateInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
com.azure.core.util.Context context)
Retrieve a list of certificates.
|
CertificateInner |
update(String resourceGroupName,
String automationAccountName,
String certificateName,
CertificateUpdateParameters parameters)
Update a certificate.
|
com.azure.core.http.rest.Response<CertificateInner> |
updateWithResponse(String resourceGroupName,
String automationAccountName,
String certificateName,
CertificateUpdateParameters parameters,
com.azure.core.util.Context context)
Update a certificate.
|
void delete(String resourceGroupName, String automationAccountName, String certificateName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.certificateName
- The name of certificate.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String certificateName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.certificateName
- The name of certificate.context
- The context to associate with this operation.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.CertificateInner get(String resourceGroupName, String automationAccountName, String certificateName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.certificateName
- The name of certificate.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.com.azure.core.http.rest.Response<CertificateInner> getWithResponse(String resourceGroupName, String automationAccountName, String certificateName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.certificateName
- The name of certificate.context
- The context to associate with this operation.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.CertificateInner createOrUpdate(String resourceGroupName, String automationAccountName, String certificateName, CertificateCreateOrUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.certificateName
- The parameters supplied to the create or update certificate operation.parameters
- The parameters supplied to the create or update certificate operation.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.com.azure.core.http.rest.Response<CertificateInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String certificateName, CertificateCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.certificateName
- The parameters supplied to the create or update certificate operation.parameters
- The parameters supplied to the create or update certificate operation.context
- The context to associate with this operation.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.CertificateInner update(String resourceGroupName, String automationAccountName, String certificateName, CertificateUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.certificateName
- The parameters supplied to the update certificate operation.parameters
- The parameters supplied to the update certificate operation.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.com.azure.core.http.rest.Response<CertificateInner> updateWithResponse(String resourceGroupName, String automationAccountName, String certificateName, CertificateUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.certificateName
- The parameters supplied to the update certificate operation.parameters
- The parameters supplied to the update certificate operation.context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<CertificateInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.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.com.azure.core.http.rest.PagedIterable<CertificateInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.