UNPKG

rhizo-co-terraform-provider-opsgenie

Version:

Prebuilt opsgenie Provider for Terraform CDK (cdktf)

512 lines (511 loc) 26 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TeamRoutingRuleConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#id TeamRoutingRule#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/team_routing_rule#is_default TeamRoutingRule#is_default} */ readonly isDefault?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#name TeamRoutingRule#name} */ readonly name?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#order TeamRoutingRule#order} */ readonly order?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#team_id TeamRoutingRule#team_id} */ readonly teamId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#timezone TeamRoutingRule#timezone} */ readonly timezone?: string; /** * criteria block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#criteria TeamRoutingRule#criteria} */ readonly criteria?: TeamRoutingRuleCriteria[] | cdktf.IResolvable; /** * notify block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#notify TeamRoutingRule#notify} */ readonly notify: TeamRoutingRuleNotify[] | cdktf.IResolvable; /** * time_restriction block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#time_restriction TeamRoutingRule#time_restriction} */ readonly timeRestriction?: TeamRoutingRuleTimeRestriction[] | cdktf.IResolvable; } export interface TeamRoutingRuleCriteriaConditions { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#expected_value TeamRoutingRule#expected_value} */ readonly expectedValue?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#field TeamRoutingRule#field} */ readonly field: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#key TeamRoutingRule#key} */ readonly key?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#not TeamRoutingRule#not} */ readonly not?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#operation TeamRoutingRule#operation} */ readonly operation: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#order TeamRoutingRule#order} */ readonly order?: number; } export declare function teamRoutingRuleCriteriaConditionsToTerraform(struct?: TeamRoutingRuleCriteriaConditions | cdktf.IResolvable): any; export declare class TeamRoutingRuleCriteriaConditionsOutputReference 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(): TeamRoutingRuleCriteriaConditions | cdktf.IResolvable | undefined; set internalValue(value: TeamRoutingRuleCriteriaConditions | cdktf.IResolvable | undefined); private _expectedValue?; get expectedValue(): string; set expectedValue(value: string); resetExpectedValue(): void; get expectedValueInput(): string | undefined; private _field?; get field(): string; set field(value: string); get fieldInput(): string | undefined; private _key?; get key(): string; set key(value: string); resetKey(): void; get keyInput(): string | undefined; private _not?; get not(): boolean | cdktf.IResolvable; set not(value: boolean | cdktf.IResolvable); resetNot(): void; get notInput(): boolean | cdktf.IResolvable | undefined; private _operation?; get operation(): string; set operation(value: string); get operationInput(): string | undefined; private _order?; get order(): number; set order(value: number); resetOrder(): void; get orderInput(): number | undefined; } export declare class TeamRoutingRuleCriteriaConditionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeamRoutingRuleCriteriaConditions[] | 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): TeamRoutingRuleCriteriaConditionsOutputReference; } export interface TeamRoutingRuleCriteria { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#type TeamRoutingRule#type} */ readonly type: string; /** * conditions block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#conditions TeamRoutingRule#conditions} */ readonly conditions?: TeamRoutingRuleCriteriaConditions[] | cdktf.IResolvable; } export declare function teamRoutingRuleCriteriaToTerraform(struct?: TeamRoutingRuleCriteria | cdktf.IResolvable): any; export declare class TeamRoutingRuleCriteriaOutputReference 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(): TeamRoutingRuleCriteria | cdktf.IResolvable | undefined; set internalValue(value: TeamRoutingRuleCriteria | cdktf.IResolvable | undefined); private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; private _conditions; get conditions(): TeamRoutingRuleCriteriaConditionsList; putConditions(value: TeamRoutingRuleCriteriaConditions[] | cdktf.IResolvable): void; resetConditions(): void; get conditionsInput(): cdktf.IResolvable | TeamRoutingRuleCriteriaConditions[] | undefined; } export declare class TeamRoutingRuleCriteriaList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeamRoutingRuleCriteria[] | 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): TeamRoutingRuleCriteriaOutputReference; } export interface TeamRoutingRuleNotify { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#id TeamRoutingRule#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/team_routing_rule#name TeamRoutingRule#name} */ readonly name?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#type TeamRoutingRule#type} */ readonly type: string; } export declare function teamRoutingRuleNotifyToTerraform(struct?: TeamRoutingRuleNotify | cdktf.IResolvable): any; export declare class TeamRoutingRuleNotifyOutputReference 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(): TeamRoutingRuleNotify | cdktf.IResolvable | undefined; set internalValue(value: TeamRoutingRuleNotify | cdktf.IResolvable | undefined); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; } export declare class TeamRoutingRuleNotifyList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeamRoutingRuleNotify[] | 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): TeamRoutingRuleNotifyOutputReference; } export interface TeamRoutingRuleTimeRestrictionRestriction { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#end_hour TeamRoutingRule#end_hour} */ readonly endHour: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#end_min TeamRoutingRule#end_min} */ readonly endMin: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#start_hour TeamRoutingRule#start_hour} */ readonly startHour: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#start_min TeamRoutingRule#start_min} */ readonly startMin: number; } export declare function teamRoutingRuleTimeRestrictionRestrictionToTerraform(struct?: TeamRoutingRuleTimeRestrictionRestriction | cdktf.IResolvable): any; export declare class TeamRoutingRuleTimeRestrictionRestrictionOutputReference 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(): TeamRoutingRuleTimeRestrictionRestriction | cdktf.IResolvable | undefined; set internalValue(value: TeamRoutingRuleTimeRestrictionRestriction | cdktf.IResolvable | undefined); private _endHour?; get endHour(): number; set endHour(value: number); get endHourInput(): number | undefined; private _endMin?; get endMin(): number; set endMin(value: number); get endMinInput(): number | undefined; private _startHour?; get startHour(): number; set startHour(value: number); get startHourInput(): number | undefined; private _startMin?; get startMin(): number; set startMin(value: number); get startMinInput(): number | undefined; } export declare class TeamRoutingRuleTimeRestrictionRestrictionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeamRoutingRuleTimeRestrictionRestriction[] | 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): TeamRoutingRuleTimeRestrictionRestrictionOutputReference; } export interface TeamRoutingRuleTimeRestrictionRestrictions { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#end_day TeamRoutingRule#end_day} */ readonly endDay: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#end_hour TeamRoutingRule#end_hour} */ readonly endHour: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#end_min TeamRoutingRule#end_min} */ readonly endMin: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#start_day TeamRoutingRule#start_day} */ readonly startDay: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#start_hour TeamRoutingRule#start_hour} */ readonly startHour: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#start_min TeamRoutingRule#start_min} */ readonly startMin: number; } export declare function teamRoutingRuleTimeRestrictionRestrictionsToTerraform(struct?: TeamRoutingRuleTimeRestrictionRestrictions | cdktf.IResolvable): any; export declare class TeamRoutingRuleTimeRestrictionRestrictionsOutputReference 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(): TeamRoutingRuleTimeRestrictionRestrictions | cdktf.IResolvable | undefined; set internalValue(value: TeamRoutingRuleTimeRestrictionRestrictions | cdktf.IResolvable | undefined); private _endDay?; get endDay(): string; set endDay(value: string); get endDayInput(): string | undefined; private _endHour?; get endHour(): number; set endHour(value: number); get endHourInput(): number | undefined; private _endMin?; get endMin(): number; set endMin(value: number); get endMinInput(): number | undefined; private _startDay?; get startDay(): string; set startDay(value: string); get startDayInput(): string | undefined; private _startHour?; get startHour(): number; set startHour(value: number); get startHourInput(): number | undefined; private _startMin?; get startMin(): number; set startMin(value: number); get startMinInput(): number | undefined; } export declare class TeamRoutingRuleTimeRestrictionRestrictionsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeamRoutingRuleTimeRestrictionRestrictions[] | 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): TeamRoutingRuleTimeRestrictionRestrictionsOutputReference; } export interface TeamRoutingRuleTimeRestriction { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#type TeamRoutingRule#type} */ readonly type: string; /** * restriction block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#restriction TeamRoutingRule#restriction} */ readonly restriction?: TeamRoutingRuleTimeRestrictionRestriction[] | cdktf.IResolvable; /** * restrictions block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule#restrictions TeamRoutingRule#restrictions} */ readonly restrictions?: TeamRoutingRuleTimeRestrictionRestrictions[] | cdktf.IResolvable; } export declare function teamRoutingRuleTimeRestrictionToTerraform(struct?: TeamRoutingRuleTimeRestriction | cdktf.IResolvable): any; export declare class TeamRoutingRuleTimeRestrictionOutputReference 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(): TeamRoutingRuleTimeRestriction | cdktf.IResolvable | undefined; set internalValue(value: TeamRoutingRuleTimeRestriction | cdktf.IResolvable | undefined); private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; private _restriction; get restriction(): TeamRoutingRuleTimeRestrictionRestrictionList; putRestriction(value: TeamRoutingRuleTimeRestrictionRestriction[] | cdktf.IResolvable): void; resetRestriction(): void; get restrictionInput(): cdktf.IResolvable | TeamRoutingRuleTimeRestrictionRestriction[] | undefined; private _restrictions; get restrictions(): TeamRoutingRuleTimeRestrictionRestrictionsList; putRestrictions(value: TeamRoutingRuleTimeRestrictionRestrictions[] | cdktf.IResolvable): void; resetRestrictions(): void; get restrictionsInput(): cdktf.IResolvable | TeamRoutingRuleTimeRestrictionRestrictions[] | undefined; } export declare class TeamRoutingRuleTimeRestrictionList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TeamRoutingRuleTimeRestriction[] | 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): TeamRoutingRuleTimeRestrictionOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule opsgenie_team_routing_rule} */ export declare class TeamRoutingRule extends cdktf.TerraformResource { static readonly tfResourceType = "opsgenie_team_routing_rule"; /** * Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.33/docs/resources/team_routing_rule opsgenie_team_routing_rule} 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 TeamRoutingRuleConfig */ constructor(scope: Construct, id: string, config: TeamRoutingRuleConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _isDefault?; get isDefault(): boolean | cdktf.IResolvable; set isDefault(value: boolean | cdktf.IResolvable); resetIsDefault(): void; get isDefaultInput(): boolean | cdktf.IResolvable | undefined; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string | undefined; private _order?; get order(): number; set order(value: number); resetOrder(): void; get orderInput(): number | undefined; private _teamId?; get teamId(): string; set teamId(value: string); get teamIdInput(): string | undefined; private _timezone?; get timezone(): string; set timezone(value: string); resetTimezone(): void; get timezoneInput(): string | undefined; private _criteria; get criteria(): TeamRoutingRuleCriteriaList; putCriteria(value: TeamRoutingRuleCriteria[] | cdktf.IResolvable): void; resetCriteria(): void; get criteriaInput(): cdktf.IResolvable | TeamRoutingRuleCriteria[] | undefined; private _notify; get notify(): TeamRoutingRuleNotifyList; putNotify(value: TeamRoutingRuleNotify[] | cdktf.IResolvable): void; get notifyInput(): cdktf.IResolvable | TeamRoutingRuleNotify[] | undefined; private _timeRestriction; get timeRestriction(): TeamRoutingRuleTimeRestrictionList; putTimeRestriction(value: TeamRoutingRuleTimeRestriction[] | cdktf.IResolvable): void; resetTimeRestriction(): void; get timeRestrictionInput(): cdktf.IResolvable | TeamRoutingRuleTimeRestriction[] | undefined; protected synthesizeAttributes(): { [name: string]: any; }; }