CredentialOperations class

Class representing a CredentialOperations.

Constructors

CredentialOperations(AutomationClientContext)

Create a CredentialOperations.

Methods

createOrUpdate(string, string, string, CredentialCreateOrUpdateParameters, RequestOptionsBase)

Create a credential.

createOrUpdate(string, string, string, CredentialCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Credential>)
createOrUpdate(string, string, string, CredentialCreateOrUpdateParameters, ServiceCallback<Credential>)
deleteMethod(string, string, string, RequestOptionsBase)

Delete the credential.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Retrieve the credential identified by credential name.

get(string, string, string, RequestOptionsBase, ServiceCallback<Credential>)
get(string, string, string, ServiceCallback<Credential>)
listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve a list of credentials.

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<CredentialListResult>)
listByAutomationAccount(string, string, ServiceCallback<CredentialListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of credentials.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<CredentialListResult>)
listByAutomationAccountNext(string, ServiceCallback<CredentialListResult>)
update(string, string, string, CredentialUpdateParameters, RequestOptionsBase)

Update a credential.

update(string, string, string, CredentialUpdateParameters, RequestOptionsBase, ServiceCallback<Credential>)
update(string, string, string, CredentialUpdateParameters, ServiceCallback<Credential>)

Constructor Details

CredentialOperations(AutomationClientContext)

Create a CredentialOperations.

new CredentialOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, string, CredentialCreateOrUpdateParameters, RequestOptionsBase)

Create a credential.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<CredentialCreateOrUpdateResponse>

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.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CredentialCreateOrUpdateResponse>

createOrUpdate(string, string, string, CredentialCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Credential>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Credential>)

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.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Credential>

The callback

createOrUpdate(string, string, string, CredentialCreateOrUpdateParameters, ServiceCallback<Credential>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialCreateOrUpdateParameters, callback: ServiceCallback<Credential>)

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.

callback

ServiceCallback<Credential>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Delete the credential.

function deleteMethod(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

credentialName

string

The name of credential.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, credentialName: string, options: RequestOptionsBase, callback: ServiceCallback<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
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, credentialName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

credentialName

string

The name of credential.

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

Retrieve the credential identified by credential name.

function get(resourceGroupName: string, automationAccountName: string, credentialName: string, options?: RequestOptionsBase): Promise<CredentialGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

credentialName

string

The name of credential.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CredentialGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Credential>)

function get(resourceGroupName: string, automationAccountName: string, credentialName: string, options: RequestOptionsBase, callback: ServiceCallback<Credential>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

credentialName

string

The name of credential.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Credential>

The callback

get(string, string, string, ServiceCallback<Credential>)

function get(resourceGroupName: string, automationAccountName: string, credentialName: string, callback: ServiceCallback<Credential>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

credentialName

string

The name of credential.

callback

ServiceCallback<Credential>

The callback

listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve a list of credentials.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<CredentialListByAutomationAccountResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CredentialListByAutomationAccountResponse>

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<CredentialListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<CredentialListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<CredentialListResult>

The callback

listByAutomationAccount(string, string, ServiceCallback<CredentialListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<CredentialListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

callback

ServiceCallback<CredentialListResult>

The callback

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of credentials.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<CredentialListByAutomationAccountNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CredentialListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<CredentialListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<CredentialListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<CredentialListResult>

The callback

listByAutomationAccountNext(string, ServiceCallback<CredentialListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<CredentialListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<CredentialListResult>

The callback

update(string, string, string, CredentialUpdateParameters, RequestOptionsBase)

Update a credential.

function update(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialUpdateParameters, options?: RequestOptionsBase): Promise<CredentialUpdateResponse>

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
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CredentialUpdateResponse>

update(string, string, string, CredentialUpdateParameters, RequestOptionsBase, ServiceCallback<Credential>)

function update(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Credential>)

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
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Credential>

The callback

update(string, string, string, CredentialUpdateParameters, ServiceCallback<Credential>)

function update(resourceGroupName: string, automationAccountName: string, credentialName: string, parameters: CredentialUpdateParameters, callback: ServiceCallback<Credential>)

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.

callback

ServiceCallback<Credential>

The callback