public interface CredentialsClient
Modifier and Type | Method and Description |
---|---|
CredentialInner |
createOrUpdate(String resourceGroupName,
String automationAccountName,
String credentialName,
CredentialCreateOrUpdateParameters parameters)
Create a credential.
|
com.azure.core.http.rest.Response<CredentialInner> |
createOrUpdateWithResponse(String resourceGroupName,
String automationAccountName,
String credentialName,
CredentialCreateOrUpdateParameters parameters,
com.azure.core.util.Context context)
Create a credential.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String credentialName)
Delete the credential.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String automationAccountName,
String credentialName,
com.azure.core.util.Context context)
Delete the credential.
|
CredentialInner |
get(String resourceGroupName,
String automationAccountName,
String credentialName)
Retrieve the credential identified by credential name.
|
com.azure.core.http.rest.Response<CredentialInner> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String credentialName,
com.azure.core.util.Context context)
Retrieve the credential identified by credential name.
|
com.azure.core.http.rest.PagedIterable<CredentialInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of credentials.
|
com.azure.core.http.rest.PagedIterable<CredentialInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
com.azure.core.util.Context context)
Retrieve a list of credentials.
|
CredentialInner |
update(String resourceGroupName,
String automationAccountName,
String credentialName,
CredentialUpdateParameters parameters)
Update a credential.
|
com.azure.core.http.rest.Response<CredentialInner> |
updateWithResponse(String resourceGroupName,
String automationAccountName,
String credentialName,
CredentialUpdateParameters parameters,
com.azure.core.util.Context context)
Update a credential.
|
void delete(String resourceGroupName, String automationAccountName, String credentialName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.credentialName
- The name of credential.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 credentialName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.credentialName
- The name of credential.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.CredentialInner get(String resourceGroupName, String automationAccountName, String credentialName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.credentialName
- The name of credential.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<CredentialInner> getWithResponse(String resourceGroupName, String automationAccountName, String credentialName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.credentialName
- The name of credential.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.CredentialInner createOrUpdate(String resourceGroupName, String automationAccountName, String credentialName, CredentialCreateOrUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.credentialName
- The parameters supplied to the create or update credential operation.parameters
- The parameters supplied to the create or update credential 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<CredentialInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String credentialName, CredentialCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.credentialName
- The parameters supplied to the create or update credential operation.parameters
- The parameters supplied to the create or update credential 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.CredentialInner update(String resourceGroupName, String automationAccountName, String credentialName, CredentialUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.credentialName
- The parameters supplied to the Update credential operation.parameters
- The parameters supplied to the Update credential 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<CredentialInner> updateWithResponse(String resourceGroupName, String automationAccountName, String credentialName, CredentialUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.credentialName
- The parameters supplied to the Update credential operation.parameters
- The parameters supplied to the Update credential 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<CredentialInner> 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<CredentialInner> 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.