/** * incident.io * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ManagedResourceV2 */ export interface ManagedResourceV2 { /** * Annotations that track metadata about this resource */ annotations: { [key: string]: string; }; /** * How is this resource managed */ managed_by: ManagedResourceV2ManagedByEnum; /** * The ID of the resource that this relates to */ resource_id: string; /** * */ resource_type: ManagedResourceV2ResourceTypeEnum; /** * The url of the external repository where this resource is managed (if there is one) */ source_url?: string; } /** * @export */ export declare const ManagedResourceV2ManagedByEnum: { readonly Dashboard: "dashboard"; readonly Terraform: "terraform"; readonly External: "external"; }; export type ManagedResourceV2ManagedByEnum = typeof ManagedResourceV2ManagedByEnum[keyof typeof ManagedResourceV2ManagedByEnum]; /** * @export */ export declare const ManagedResourceV2ResourceTypeEnum: { readonly AccessGrant: "access_grant"; readonly AccessGroup: "access_group"; readonly AlertGroupingPreference: "alert_grouping_preference"; readonly AlertRoute: "alert_route"; readonly AlertRule: "alert_rule"; readonly AlertSource: "alert_source"; readonly ApiKey: "api_key"; readonly IncidentForm: "incident_form"; readonly IncidentTemplate: "incident_template"; readonly EscalationPath: "escalation_path"; readonly EscalationPathTemplate: "escalation_path_template"; readonly Policy: "policy"; readonly Schedule: "schedule"; readonly ScheduleSyncTarget: "schedule_sync_target"; readonly ScheduleSyncRule: "schedule_sync_rule"; readonly Secret: "secret"; readonly StatusPageComponent: "status_page_component"; readonly StatusPageComponentProperty: "status_page_component_property"; readonly StatusPageComponentPropertyOption: "status_page_component_property_option"; readonly StatusPageStructure: "status_page_structure"; readonly TeamGroupingPreference: "team_grouping_preference"; readonly Workflow: "workflow"; }; export type ManagedResourceV2ResourceTypeEnum = typeof ManagedResourceV2ResourceTypeEnum[keyof typeof ManagedResourceV2ResourceTypeEnum]; /** * Check if a given object implements the ManagedResourceV2 interface. */ export declare function instanceOfManagedResourceV2(value: object): value is ManagedResourceV2; export declare function ManagedResourceV2FromJSON(json: any): ManagedResourceV2; export declare function ManagedResourceV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagedResourceV2; export declare function ManagedResourceV2ToJSON(json: any): ManagedResourceV2; export declare function ManagedResourceV2ToJSONTyped(value?: ManagedResourceV2 | null, ignoreDiscriminator?: boolean): any;