@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.8 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a credential.
*
* Uses Azure REST API version 2018-06-01.
*/
export declare function getCredentialOperation(args: GetCredentialOperationArgs, opts?: pulumi.InvokeOptions): Promise<GetCredentialOperationResult>;
export interface GetCredentialOperationArgs {
/**
* Credential name
*/
credentialName: string;
/**
* The factory name.
*/
factoryName: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
/**
* Credential resource type.
*/
export interface GetCredentialOperationResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Etag identifies change in the resource.
*/
readonly etag: string;
/**
* The resource identifier.
*/
readonly id: string;
/**
* The resource name.
*/
readonly name: string;
/**
* Properties of credentials.
*/
readonly properties: outputs.datafactory.ManagedIdentityCredentialResponse | outputs.datafactory.ServicePrincipalCredentialResponse;
/**
* The resource type.
*/
readonly type: string;
}
/**
* Gets a credential.
*
* Uses Azure REST API version 2018-06-01.
*/
export declare function getCredentialOperationOutput(args: GetCredentialOperationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCredentialOperationResult>;
export interface GetCredentialOperationOutputArgs {
/**
* Credential name
*/
credentialName: pulumi.Input<string>;
/**
* The factory name.
*/
factoryName: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}