CredentialOperations interface

Interface representing a CredentialOperations.

Methods

createOrUpdate(string, string, string, CredentialResource, CredentialOperationsCreateOrUpdateOptionalParams)

Creates or updates a credential.

delete(string, string, string, CredentialOperationsDeleteOptionalParams)

Deletes a credential.

get(string, string, string, CredentialOperationsGetOptionalParams)

Gets a credential.

listByFactory(string, string, CredentialOperationsListByFactoryOptionalParams)

List credentials.

Method Details

createOrUpdate(string, string, string, CredentialResource, CredentialOperationsCreateOrUpdateOptionalParams)

Creates or updates a credential.

function createOrUpdate(resourceGroupName: string, factoryName: string, credentialName: string, credential: CredentialResource, options?: CredentialOperationsCreateOrUpdateOptionalParams): Promise<CredentialResource>

Parameters

resourceGroupName

string

The resource group name.

factoryName

string

The factory name.

credentialName

string

Credential name

credential
CredentialResource

Credential resource definition.

options
CredentialOperationsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, CredentialOperationsDeleteOptionalParams)

Deletes a credential.

function delete(resourceGroupName: string, factoryName: string, credentialName: string, options?: CredentialOperationsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The resource group name.

factoryName

string

The factory name.

credentialName

string

Credential name

options
CredentialOperationsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, CredentialOperationsGetOptionalParams)

Gets a credential.

function get(resourceGroupName: string, factoryName: string, credentialName: string, options?: CredentialOperationsGetOptionalParams): Promise<CredentialResource>

Parameters

resourceGroupName

string

The resource group name.

factoryName

string

The factory name.

credentialName

string

Credential name

options
CredentialOperationsGetOptionalParams

The options parameters.

Returns

listByFactory(string, string, CredentialOperationsListByFactoryOptionalParams)

List credentials.

function listByFactory(resourceGroupName: string, factoryName: string, options?: CredentialOperationsListByFactoryOptionalParams): PagedAsyncIterableIterator<CredentialResource, CredentialResource[], PageSettings>

Parameters

resourceGroupName

string

The resource group name.

factoryName

string

The factory name.

options
CredentialOperationsListByFactoryOptionalParams

The options parameters.

Returns