CredentialOperations interface
Interface representing a CredentialOperations.
Methods
create |
Creates or updates a credential. |
delete(string, string, string, Credential |
Deletes a credential. |
get(string, string, string, Credential |
Gets a credential. |
list |
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.
The options parameters.
Returns
Promise<CredentialResource>
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
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
The options parameters.
Returns
Promise<CredentialResource>
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.
The options parameters.