@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
222 lines (221 loc) • 8.46 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class Credentials extends pulumi.CustomResource {
/**
* Get an existing Credentials resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CredentialsState, opts?: pulumi.CustomResourceOptions): Credentials;
/**
* Returns true if the given object is an instance of Credentials. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Credentials;
/**
* Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
*/
readonly allowContextlessRequests: pulumi.Output<boolean | undefined>;
/**
* The set of entities allowed to use the credential.
*/
readonly allowedEntities: pulumi.Output<outputs.CredentialsAllowedEntities | undefined>;
/**
* The certificate in the string format.
*/
readonly certificate: pulumi.Output<string | undefined>;
/**
* The list contains summary data related to the use of credentials
*
* @deprecated `credentialUsageSummary` will be removed in future versions. It's not getting filled anymore, because it's runtime data
*/
readonly credentialUsageSummaries: pulumi.Output<outputs.CredentialsCredentialUsageSummary[] | undefined>;
/**
* A short description of the credentials set
*/
readonly description: pulumi.Output<string | undefined>;
/**
* External Vault Configuration
*/
readonly external: pulumi.Output<outputs.CredentialsExternal | undefined>;
/**
* The certificate format. Possible values are `PEM`, `PKCS12` and `UNKNOWN`.
*/
readonly format: pulumi.Output<string | undefined>;
/**
* The name of the credentials set
*/
readonly name: pulumi.Output<string>;
/**
* The credentials set is available to every user (`false`) or to owner only (`true`)
*/
readonly ownerAccessOnly: pulumi.Output<boolean | undefined>;
readonly password: pulumi.Output<string | undefined>;
/**
* For certificate authentication specifies whether it's public certificate auth (`true`) or not (`false`).
*/
readonly public: pulumi.Output<boolean | undefined>;
/**
* The scope of the credentials set. Possible values are `ALL`, `APP_ENGINE`, `EXTENSION` and `SYNTHETIC`
*
* @deprecated Deprecated(v279), please use `scopes` instead.
*/
readonly scope: pulumi.Output<string | undefined>;
/**
* The set of scopes of the credentials set. Possible values are `APP_ENGINE` and `SYNTHETIC`
*/
readonly scopes: pulumi.Output<string[] | undefined>;
/**
* Token in the string format. Specifying a token implies `Token Authentication`.
*/
readonly token: pulumi.Output<string | undefined>;
/**
* The username of the credentials set.
*/
readonly username: pulumi.Output<string | undefined>;
/**
* Create a Credentials resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CredentialsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Credentials resources.
*/
export interface CredentialsState {
/**
* Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
*/
allowContextlessRequests?: pulumi.Input<boolean>;
/**
* The set of entities allowed to use the credential.
*/
allowedEntities?: pulumi.Input<inputs.CredentialsAllowedEntities>;
/**
* The certificate in the string format.
*/
certificate?: pulumi.Input<string>;
/**
* The list contains summary data related to the use of credentials
*
* @deprecated `credentialUsageSummary` will be removed in future versions. It's not getting filled anymore, because it's runtime data
*/
credentialUsageSummaries?: pulumi.Input<pulumi.Input<inputs.CredentialsCredentialUsageSummary>[]>;
/**
* A short description of the credentials set
*/
description?: pulumi.Input<string>;
/**
* External Vault Configuration
*/
external?: pulumi.Input<inputs.CredentialsExternal>;
/**
* The certificate format. Possible values are `PEM`, `PKCS12` and `UNKNOWN`.
*/
format?: pulumi.Input<string>;
/**
* The name of the credentials set
*/
name?: pulumi.Input<string>;
/**
* The credentials set is available to every user (`false`) or to owner only (`true`)
*/
ownerAccessOnly?: pulumi.Input<boolean>;
password?: pulumi.Input<string>;
/**
* For certificate authentication specifies whether it's public certificate auth (`true`) or not (`false`).
*/
public?: pulumi.Input<boolean>;
/**
* The scope of the credentials set. Possible values are `ALL`, `APP_ENGINE`, `EXTENSION` and `SYNTHETIC`
*
* @deprecated Deprecated(v279), please use `scopes` instead.
*/
scope?: pulumi.Input<string>;
/**
* The set of scopes of the credentials set. Possible values are `APP_ENGINE` and `SYNTHETIC`
*/
scopes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Token in the string format. Specifying a token implies `Token Authentication`.
*/
token?: pulumi.Input<string>;
/**
* The username of the credentials set.
*/
username?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Credentials resource.
*/
export interface CredentialsArgs {
/**
* Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
*/
allowContextlessRequests?: pulumi.Input<boolean>;
/**
* The set of entities allowed to use the credential.
*/
allowedEntities?: pulumi.Input<inputs.CredentialsAllowedEntities>;
/**
* The certificate in the string format.
*/
certificate?: pulumi.Input<string>;
/**
* The list contains summary data related to the use of credentials
*
* @deprecated `credentialUsageSummary` will be removed in future versions. It's not getting filled anymore, because it's runtime data
*/
credentialUsageSummaries?: pulumi.Input<pulumi.Input<inputs.CredentialsCredentialUsageSummary>[]>;
/**
* A short description of the credentials set
*/
description?: pulumi.Input<string>;
/**
* External Vault Configuration
*/
external?: pulumi.Input<inputs.CredentialsExternal>;
/**
* The certificate format. Possible values are `PEM`, `PKCS12` and `UNKNOWN`.
*/
format?: pulumi.Input<string>;
/**
* The name of the credentials set
*/
name?: pulumi.Input<string>;
/**
* The credentials set is available to every user (`false`) or to owner only (`true`)
*/
ownerAccessOnly?: pulumi.Input<boolean>;
password?: pulumi.Input<string>;
/**
* For certificate authentication specifies whether it's public certificate auth (`true`) or not (`false`).
*/
public?: pulumi.Input<boolean>;
/**
* The scope of the credentials set. Possible values are `ALL`, `APP_ENGINE`, `EXTENSION` and `SYNTHETIC`
*
* @deprecated Deprecated(v279), please use `scopes` instead.
*/
scope?: pulumi.Input<string>;
/**
* The set of scopes of the credentials set. Possible values are `APP_ENGINE` and `SYNTHETIC`
*/
scopes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Token in the string format. Specifying a token implies `Token Authentication`.
*/
token?: pulumi.Input<string>;
/**
* The username of the credentials set.
*/
username?: pulumi.Input<string>;
}