@pulumi/alicloud
Version:
A Pulumi package for creating and managing AliCloud resources.
191 lines (190 loc) • 8.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
/**
* The provider type for the alicloud package. By default, resources use package-wide configuration
* settings, however an explicit `Provider` instance may be created and passed during resource
* construction to achieve fine-grained programmatic control over provider settings. See the
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
*/
export declare class Provider extends pulumi.ProviderResource {
/**
* Returns true if the given object is an instance of Provider. 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 Provider;
/**
* The access key for API operations. You can retrieve this from the 'Security Management' section of the Alibaba Cloud console.
*/
readonly accessKey: pulumi.Output<string | undefined>;
/**
* The account ID for some service API operations. You can retrieve this from the 'Security Settings' section of the Alibaba Cloud console.
*/
readonly accountId: pulumi.Output<string | undefined>;
readonly accountType: pulumi.Output<string | undefined>;
readonly configurationSource: pulumi.Output<string | undefined>;
/**
* The URI of sidecar credentials service.
*/
readonly credentialsUri: pulumi.Output<string | undefined>;
/**
* The RAM Role Name attached on a ECS instance for API operations. You can retrieve this from the 'Access Control' section of the Alibaba Cloud console.
*/
readonly ecsRoleName: pulumi.Output<string | undefined>;
/**
* @deprecated Field 'fc' has been deprecated from provider version 1.28.0. New field 'fc' which in nested endpoints instead.
*/
readonly fc: pulumi.Output<string | undefined>;
/**
* @deprecated Field 'log_endpoint' has been deprecated from provider version 1.28.0. New field 'log' which in nested endpoints instead.
*/
readonly logEndpoint: pulumi.Output<string | undefined>;
/**
* @deprecated Field 'mns_endpoint' has been deprecated from provider version 1.28.0. New field 'mns' which in nested endpoints instead.
*/
readonly mnsEndpoint: pulumi.Output<string | undefined>;
/**
* @deprecated Field 'ots_instance_name' has been deprecated from provider version 1.10.0. New field 'instance_name' of resource 'alicloud_ots_table' instead.
*/
readonly otsInstanceName: pulumi.Output<string | undefined>;
/**
* The profile for API operations. If not set, the default profile created with `aliyun configure` will be used.
*/
readonly profile: pulumi.Output<string | undefined>;
readonly protocol: pulumi.Output<string | undefined>;
/**
* The region where Alibaba Cloud operations will take place. Examples are cn-beijing, cn-hangzhou, eu-central-1, etc.
*/
readonly region: pulumi.Output<string | undefined>;
/**
* The secret key for API operations. You can retrieve this from the 'Security Management' section of the Alibaba Cloud console.
*/
readonly secretKey: pulumi.Output<string | undefined>;
/**
* The security transport for the assume role invoking.
*/
readonly secureTransport: pulumi.Output<string | undefined>;
/**
* security token. A security token is only required if you are using Security Token Service.
*/
readonly securityToken: pulumi.Output<string | undefined>;
readonly securityTransport: pulumi.Output<string | undefined>;
/**
* The path to the shared credentials file. If not set this defaults to ~/.aliyun/config.json
*/
readonly sharedCredentialsFile: pulumi.Output<string | undefined>;
/**
* The source ip for the assume role invoking.
*/
readonly sourceIp: pulumi.Output<string | undefined>;
/**
* Create a Provider 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?: ProviderArgs, opts?: pulumi.ResourceOptions);
/**
* This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
*/
terraformConfig(): pulumi.Output<Provider.TerraformConfigResult>;
}
/**
* The set of arguments for constructing a Provider resource.
*/
export interface ProviderArgs {
/**
* The access key for API operations. You can retrieve this from the 'Security Management' section of the Alibaba Cloud console.
*/
accessKey?: pulumi.Input<string>;
/**
* The account ID for some service API operations. You can retrieve this from the 'Security Settings' section of the Alibaba Cloud console.
*/
accountId?: pulumi.Input<string>;
accountType?: pulumi.Input<string>;
assumeRole?: pulumi.Input<inputs.ProviderAssumeRole>;
assumeRoleWithOidc?: pulumi.Input<inputs.ProviderAssumeRoleWithOidc>;
/**
* The maximum timeout of the client connection server.
*/
clientConnectTimeout?: pulumi.Input<number>;
/**
* The maximum timeout of the client read request.
*/
clientReadTimeout?: pulumi.Input<number>;
configurationSource?: pulumi.Input<string>;
/**
* The URI of sidecar credentials service.
*/
credentialsUri?: pulumi.Input<string>;
/**
* The RAM Role Name attached on a ECS instance for API operations. You can retrieve this from the 'Access Control' section of the Alibaba Cloud console.
*/
ecsRoleName?: pulumi.Input<string>;
endpoints?: pulumi.Input<pulumi.Input<inputs.ProviderEndpoint>[]>;
/**
* @deprecated Field 'fc' has been deprecated from provider version 1.28.0. New field 'fc' which in nested endpoints instead.
*/
fc?: pulumi.Input<string>;
/**
* @deprecated Field 'log_endpoint' has been deprecated from provider version 1.28.0. New field 'log' which in nested endpoints instead.
*/
logEndpoint?: pulumi.Input<string>;
/**
* The maximum retry timeout of the request.
*/
maxRetryTimeout?: pulumi.Input<number>;
/**
* @deprecated Field 'mns_endpoint' has been deprecated from provider version 1.28.0. New field 'mns' which in nested endpoints instead.
*/
mnsEndpoint?: pulumi.Input<string>;
/**
* @deprecated Field 'ots_instance_name' has been deprecated from provider version 1.10.0. New field 'instance_name' of resource 'alicloud_ots_table' instead.
*/
otsInstanceName?: pulumi.Input<string>;
/**
* The profile for API operations. If not set, the default profile created with `aliyun configure` will be used.
*/
profile?: pulumi.Input<string>;
protocol?: pulumi.Input<string>;
/**
* The region where Alibaba Cloud operations will take place. Examples are cn-beijing, cn-hangzhou, eu-central-1, etc.
*/
region?: pulumi.Input<string>;
/**
* The secret key for API operations. You can retrieve this from the 'Security Management' section of the Alibaba Cloud console.
*/
secretKey?: pulumi.Input<string>;
/**
* The security transport for the assume role invoking.
*/
secureTransport?: pulumi.Input<string>;
/**
* security token. A security token is only required if you are using Security Token Service.
*/
securityToken?: pulumi.Input<string>;
securityTransport?: pulumi.Input<string>;
/**
* The path to the shared credentials file. If not set this defaults to ~/.aliyun/config.json
*/
sharedCredentialsFile?: pulumi.Input<string>;
signVersion?: pulumi.Input<inputs.ProviderSignVersion>;
/**
* Skip static validation of region ID. Used by users of alternative AlibabaCloud-like APIs or users w/ access to regions that are not public (yet).
*/
skipRegionValidation?: pulumi.Input<boolean>;
/**
* The source ip for the assume role invoking.
*/
sourceIp?: pulumi.Input<string>;
}
export declare namespace Provider {
/**
* The results of the Provider.terraformConfig method.
*/
interface TerraformConfigResult {
readonly result: {
[key: string]: any;
};
}
}