CredentialOperations class
Class representing a CredentialOperations.
Constructors
Credential |
Create a CredentialOperations. |
Methods
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<CredentialCreateOrUpdateResponse>
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
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
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<CredentialGetResponse>
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
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
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
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
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
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
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<CredentialUpdateResponse>
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
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
The callback