rhizo-co-terraform-provider-opsgenie
Version:
Prebuilt opsgenie Provider for Terraform CDK (cdktf)
194 lines (193 loc) • 8.16 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface UserConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#full_name User#full_name}
*/
readonly fullName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#id User#id}
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*/
readonly id?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#locale User#locale}
*/
readonly locale?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#role User#role}
*/
readonly role: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#skype_username User#skype_username}
*/
readonly skypeUsername?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#tags User#tags}
*/
readonly tags?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#timezone User#timezone}
*/
readonly timezone?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#user_details User#user_details}
*/
readonly userDetails?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#username User#username}
*/
readonly username: string;
/**
* user_address block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#user_address User#user_address}
*/
readonly userAddress?: UserUserAddress[] | cdktf.IResolvable;
}
export interface UserUserAddress {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#city User#city}
*/
readonly city: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#country User#country}
*/
readonly country: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#line User#line}
*/
readonly line: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#state User#state}
*/
readonly state: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user#zipcode User#zipcode}
*/
readonly zipcode: string;
}
export declare function userUserAddressToTerraform(struct?: UserUserAddress | cdktf.IResolvable): any;
export declare class UserUserAddressOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): UserUserAddress | cdktf.IResolvable | undefined;
set internalValue(value: UserUserAddress | cdktf.IResolvable | undefined);
private _city?;
get city(): string;
set city(value: string);
get cityInput(): string | undefined;
private _country?;
get country(): string;
set country(value: string);
get countryInput(): string | undefined;
private _line?;
get line(): string;
set line(value: string);
get lineInput(): string | undefined;
private _state?;
get state(): string;
set state(value: string);
get stateInput(): string | undefined;
private _zipcode?;
get zipcode(): string;
set zipcode(value: string);
get zipcodeInput(): string | undefined;
}
export declare class UserUserAddressList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: UserUserAddress[] | cdktf.IResolvable;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): UserUserAddressOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user opsgenie_user}
*/
export declare class User extends cdktf.TerraformResource {
static readonly tfResourceType = "opsgenie_user";
/**
* Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/user opsgenie_user} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options UserConfig
*/
constructor(scope: Construct, id: string, config: UserConfig);
private _fullName?;
get fullName(): string;
set fullName(value: string);
get fullNameInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _locale?;
get locale(): string;
set locale(value: string);
resetLocale(): void;
get localeInput(): string | undefined;
private _role?;
get role(): string;
set role(value: string);
get roleInput(): string | undefined;
private _skypeUsername?;
get skypeUsername(): string;
set skypeUsername(value: string);
resetSkypeUsername(): void;
get skypeUsernameInput(): string | undefined;
private _tags?;
get tags(): string[];
set tags(value: string[]);
resetTags(): void;
get tagsInput(): string[] | undefined;
private _timezone?;
get timezone(): string;
set timezone(value: string);
resetTimezone(): void;
get timezoneInput(): string | undefined;
private _userDetails?;
get userDetails(): {
[key: string]: string;
};
set userDetails(value: {
[key: string]: string;
});
resetUserDetails(): void;
get userDetailsInput(): {
[key: string]: string;
} | undefined;
private _username?;
get username(): string;
set username(value: string);
get usernameInput(): string | undefined;
private _userAddress;
get userAddress(): UserUserAddressList;
putUserAddress(value: UserUserAddress[] | cdktf.IResolvable): void;
resetUserAddress(): void;
get userAddressInput(): cdktf.IResolvable | UserUserAddress[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
}