/** * 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. */ import * as runtime from '../runtime.js'; import { type ManagedResourcesCreateManagedResourcePayloadV2 } from '../models/ManagedResourcesCreateManagedResourcePayloadV2.js'; import { type ManagedResourcesCreateManagedResourceResultV2 } from '../models/ManagedResourcesCreateManagedResourceResultV2.js'; export interface ManagedResourcesV2CreateManagedResourceRequest { /** * */ body: ManagedResourcesCreateManagedResourcePayloadV2; } /** * */ export declare class ManagedResourcesV2Api extends runtime.BaseAPI { /** * Creates request options for managedResourcesV2CreateManagedResource without sending the request */ managedResourcesV2CreateManagedResourceRequestOpts(requestParameters: ManagedResourcesV2CreateManagedResourceRequest): Promise; /** * Create or update the management record for a resource. This replaces any annotations already stored on it. The annotations set `managed_by`: - `incident.io/terraform/version` sets it to `terraform`. - `incident.io/is-managed-externally` sets it to `external`. If both keys are present, `external` wins. - Neither key sets it to `dashboard`. This doesn\'t change the resource\'s configuration, but `managed_by` controls whether it can be edited in the dashboard. Returning a schedule to `dashboard` also returns its sync rules and targets. The API key must have the update scope for the resource type, e.g. `schedules.update` for a schedule. * CreateManagedResource Managed Resources V2 */ managedResourcesV2CreateManagedResourceRaw(requestParameters: ManagedResourcesV2CreateManagedResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Create or update the management record for a resource. This replaces any annotations already stored on it. The annotations set `managed_by`: - `incident.io/terraform/version` sets it to `terraform`. - `incident.io/is-managed-externally` sets it to `external`. If both keys are present, `external` wins. - Neither key sets it to `dashboard`. This doesn\'t change the resource\'s configuration, but `managed_by` controls whether it can be edited in the dashboard. Returning a schedule to `dashboard` also returns its sync rules and targets. The API key must have the update scope for the resource type, e.g. `schedules.update` for a schedule. * CreateManagedResource Managed Resources V2 */ managedResourcesV2CreateManagedResource(requestParameters: ManagedResourcesV2CreateManagedResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }