public interface Certificates
Modifier and Type | Method and Description |
---|---|
Certificate.DefinitionStages.Blank |
define(String name)
Begins definition for a new Certificate resource.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String certificateName)
Delete the certificate.
|
void |
deleteById(String id)
Delete the certificate.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
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.
|
Certificate |
get(String resourceGroupName,
String automationAccountName,
String certificateName)
Retrieve the certificate identified by certificate name.
|
Certificate |
getById(String id)
Retrieve the certificate identified by certificate name.
|
com.azure.core.http.rest.Response<Certificate> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Retrieve the certificate identified by certificate name.
|
com.azure.core.http.rest.Response<Certificate> |
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<Certificate> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of certificates.
|
com.azure.core.http.rest.PagedIterable<Certificate> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
com.azure.core.util.Context context)
Retrieve a list of certificates.
|
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.Certificate 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<Certificate> 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.com.azure.core.http.rest.PagedIterable<Certificate> 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<Certificate> 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.Certificate getById(String id)
id
- the resource ID.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<Certificate> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.void deleteById(String id)
id
- the resource ID.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> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.Certificate.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.