UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

76 lines (75 loc) 2.26 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a test base credential Resource * * Uses Azure REST API version 2023-11-01-preview. */ export declare function getCredential(args: GetCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetCredentialResult>; export interface GetCredentialArgs { /** * The credential resource name. */ credentialName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The resource name of the Test Base Account. */ testBaseAccountName: string; } /** * The test base credential resource. */ export interface GetCredentialResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Credential type. */ readonly credentialType: string; /** * Credential display name. */ readonly displayName: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.testbase.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Gets a test base credential Resource * * Uses Azure REST API version 2023-11-01-preview. */ export declare function getCredentialOutput(args: GetCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCredentialResult>; export interface GetCredentialOutputArgs { /** * The credential resource name. */ credentialName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The resource name of the Test Base Account. */ testBaseAccountName: pulumi.Input<string>; }