CredentialOperations interface
Interface representing a CredentialOperations.
Methods
create |
Create a credential. |
delete(string, string, string, Credential |
Delete the credential. |
get(string, string, string, Credential |
Retrieve the credential identified by credential name. |
list |
Retrieve a list of credentials. |
update(string, string, string, Credential |
Update a credential. |
Method Details
createOrUpdate(string, string, string, CredentialCreateOrUpdateParameters, CredentialCreateOrUpdateOptionalParams)
Create a credential.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialCreateOrUpdateParameters, options?: CredentialCreateOrUpdateOptionalParams): Promise<Credential_2>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- credentialName
-
string
The parameters supplied to the create or update credential operation.
- parameters
- CredentialCreateOrUpdateParameters
The parameters supplied to the create or update credential operation.
The options parameters.
Returns
Promise<Credential>
delete(string, string, string, CredentialDeleteOptionalParams)
Delete the credential.
function delete(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: CredentialDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- credentialName
-
string
The name of credential.
- options
- CredentialDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, CredentialGetOptionalParams)
Retrieve the credential identified by credential name.
function get(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: CredentialGetOptionalParams): Promise<Credential_2>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- credentialName
-
string
The name of credential.
- options
- CredentialGetOptionalParams
The options parameters.
Returns
Promise<Credential>
listByAutomationAccount(string, string, CredentialListByAutomationAccountOptionalParams)
Retrieve a list of credentials.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: CredentialListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Credential_2, Credential_2[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The options parameters.
Returns
update(string, string, string, CredentialUpdateParameters, CredentialUpdateOptionalParams)
Update a credential.
function update(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialUpdateParameters, options?: CredentialUpdateOptionalParams): Promise<Credential_2>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- credentialName
-
string
The parameters supplied to the Update credential operation.
- parameters
- CredentialUpdateParameters
The parameters supplied to the Update credential operation.
- options
- CredentialUpdateOptionalParams
The options parameters.
Returns
Promise<Credential>
Azure SDK for JavaScript