CredentialOperations interface
表示 CredentialOperations 的接口。
方法
方法详细信息
createOrUpdate(string, string, string, CredentialResource, CredentialOperationsCreateOrUpdateOptionalParams)
创建或更新凭据。
function createOrUpdate(resourceGroupName: string, factoryName: string, credentialName: string, credential: CredentialResource, options?: CredentialOperationsCreateOrUpdateOptionalParams): Promise<CredentialResource>
参数
- resourceGroupName
-
string
资源组名称。
- factoryName
-
string
工厂名称。
- credentialName
-
string
凭据名称
- credential
- CredentialResource
凭据资源定义。
选项参数。
返回
Promise<CredentialResource>
delete(string, string, string, CredentialOperationsDeleteOptionalParams)
删除凭据。
function delete(resourceGroupName: string, factoryName: string, credentialName: string, options?: CredentialOperationsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组名称。
- factoryName
-
string
工厂名称。
- credentialName
-
string
凭据名称
选项参数。
返回
Promise<void>
get(string, string, string, CredentialOperationsGetOptionalParams)
获取凭据。
function get(resourceGroupName: string, factoryName: string, credentialName: string, options?: CredentialOperationsGetOptionalParams): Promise<CredentialResource>
参数
- resourceGroupName
-
string
资源组名称。
- factoryName
-
string
工厂名称。
- credentialName
-
string
凭据名称
选项参数。
返回
Promise<CredentialResource>
listByFactory(string, string, CredentialOperationsListByFactoryOptionalParams)
列出凭据。
function listByFactory(resourceGroupName: string, factoryName: string, options?: CredentialOperationsListByFactoryOptionalParams): PagedAsyncIterableIterator<CredentialResource, CredentialResource[], PageSettings>
参数
- resourceGroupName
-
string
资源组名称。
- factoryName
-
string
工厂名称。
选项参数。