/** Model that represents a Experiment resource. */ export interface Experiment extends TrackedResource { /** The managed service identities assigned to this resource. */ identity?: ManagedServiceIdentity; /** The properties of the experiment resource. */ properties: ExperimentProperties; } export declare function experimentSerializer(item: Experiment): any; export declare function experimentDeserializer(item: any): Experiment; /** Managed service identity (system assigned and/or user assigned identities) */ export interface ManagedServiceIdentity { /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */ readonly principalId?: string; /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */ readonly tenantId?: string; /** The type of managed identity assigned to this resource. */ type: ManagedServiceIdentityType; /** The identities assigned to this resource by the user. */ userAssignedIdentities?: Record; } export declare function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any; export declare function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity; /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ export declare enum KnownManagedServiceIdentityType { /** No managed identity. */ None = "None", /** System assigned managed identity. */ SystemAssigned = "SystemAssigned", /** User assigned managed identity. */ UserAssigned = "UserAssigned", /** System and user assigned managed identity. */ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned" } /** * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: No managed identity. \ * **SystemAssigned**: System assigned managed identity. \ * **UserAssigned**: User assigned managed identity. \ * **SystemAssigned,UserAssigned**: System and user assigned managed identity. */ export type ManagedServiceIdentityType = string; /** User assigned identity properties */ export interface UserAssignedIdentity { /** The principal ID of the assigned identity. */ readonly principalId?: string; /** The client ID of the assigned identity. */ readonly clientId?: string; } export declare function userAssignedIdentitySerializer(item: UserAssignedIdentity): any; export declare function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity; /** Model that represents the Experiment properties model. */ export interface ExperimentProperties { /** Most recent provisioning state for the given experiment resource. */ readonly provisioningState?: ProvisioningState; /** List of steps. */ steps: ChaosExperimentStep[]; /** List of selectors. */ selectors: ChaosTargetSelectorUnion[]; } export declare function experimentPropertiesSerializer(item: ExperimentProperties): any; export declare function experimentPropertiesDeserializer(item: any): ExperimentProperties; /** Current provisioning state for a given Azure Chaos resource. */ export declare enum KnownProvisioningState { /** Resource has been created. */ Succeeded = "Succeeded", /** Resource creation failed. */ Failed = "Failed", /** Resource creation was canceled. */ Canceled = "Canceled", /** Initial creation in progress. */ Creating = "Creating", /** Update in progress. */ Updating = "Updating", /** Deletion in progress. */ Deleting = "Deleting" } /** * Current provisioning state for a given Azure Chaos resource. \ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Succeeded**: Resource has been created. \ * **Failed**: Resource creation failed. \ * **Canceled**: Resource creation was canceled. \ * **Creating**: Initial creation in progress. \ * **Updating**: Update in progress. \ * **Deleting**: Deletion in progress. */ export type ProvisioningState = string; export declare function chaosExperimentStepArraySerializer(result: Array): any[]; export declare function chaosExperimentStepArrayDeserializer(result: Array): any[]; /** Model that represents a step in the Experiment resource. */ export interface ChaosExperimentStep { /** String of the step name. */ name: string; /** List of branches. */ branches: ChaosExperimentBranch[]; } export declare function chaosExperimentStepSerializer(item: ChaosExperimentStep): any; export declare function chaosExperimentStepDeserializer(item: any): ChaosExperimentStep; export declare function chaosExperimentBranchArraySerializer(result: Array): any[]; export declare function chaosExperimentBranchArrayDeserializer(result: Array): any[]; /** Model that represents a branch in the step. 9 total per experiment. */ export interface ChaosExperimentBranch { /** String of the branch name. */ name: string; /** List of actions. */ actions: ChaosExperimentActionUnion[]; } export declare function chaosExperimentBranchSerializer(item: ChaosExperimentBranch): any; export declare function chaosExperimentBranchDeserializer(item: any): ChaosExperimentBranch; export declare function chaosExperimentActionUnionArraySerializer(result: Array): any[]; export declare function chaosExperimentActionUnionArrayDeserializer(result: Array): any[]; /** Model that represents the base action model. 9 total per experiment. */ export interface ChaosExperimentAction { /** String that represents a Capability URN. */ name: string; /** Chaos experiment action discriminator type */ /** The discriminator possible values: continuous, delay, discrete */ type: ExperimentActionType; } export declare function chaosExperimentActionSerializer(item: ChaosExperimentAction): any; export declare function chaosExperimentActionDeserializer(item: any): ChaosExperimentAction; /** Alias for ChaosExperimentActionUnion */ export type ChaosExperimentActionUnion = ContinuousAction | DelayAction | DiscreteAction | ChaosExperimentAction; export declare function chaosExperimentActionUnionSerializer(item: ChaosExperimentActionUnion): any; export declare function chaosExperimentActionUnionDeserializer(item: any): ChaosExperimentActionUnion; /** Enum union of Chaos experiment action types. */ export declare enum KnownExperimentActionType { Delay = "delay", Discrete = "discrete", Continuous = "continuous" } /** * Enum union of Chaos experiment action types. \ * {@link KnownExperimentActionType} can be used interchangeably with ExperimentActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **delay** \ * **discrete** \ * **continuous** */ export type ExperimentActionType = string; /** Model that represents a continuous action. */ export interface ContinuousAction extends ChaosExperimentAction { /** ISO8601 formatted string that represents a duration. */ duration: string; /** List of key value pairs. */ parameters: KeyValuePair[]; /** String that represents a selector. */ selectorId: string; /** Enum that discriminates between action models. */ type: "continuous"; } export declare function continuousActionSerializer(item: ContinuousAction): any; export declare function continuousActionDeserializer(item: any): ContinuousAction; export declare function keyValuePairArraySerializer(result: Array): any[]; export declare function keyValuePairArrayDeserializer(result: Array): any[]; /** A map to describe the settings of an action. */ export interface KeyValuePair { /** The name of the setting for the action. */ key: string; /** The value of the setting for the action. */ value: string; } export declare function keyValuePairSerializer(item: KeyValuePair): any; export declare function keyValuePairDeserializer(item: any): KeyValuePair; /** Model that represents a delay action. */ export interface DelayAction extends ChaosExperimentAction { /** ISO8601 formatted string that represents a duration. */ duration: string; /** Enum that discriminates between action models. */ type: "delay"; } export declare function delayActionSerializer(item: DelayAction): any; export declare function delayActionDeserializer(item: any): DelayAction; /** Model that represents a discrete action. */ export interface DiscreteAction extends ChaosExperimentAction { /** List of key value pairs. */ parameters: KeyValuePair[]; /** String that represents a selector. */ selectorId: string; /** Enum that discriminates between action models. */ type: "discrete"; } export declare function discreteActionSerializer(item: DiscreteAction): any; export declare function discreteActionDeserializer(item: any): DiscreteAction; export declare function chaosTargetSelectorUnionArraySerializer(result: Array): any[]; export declare function chaosTargetSelectorUnionArrayDeserializer(result: Array): any[]; /** Model that represents a selector in the Experiment resource. */ export interface ChaosTargetSelector { /** String of the selector ID. */ id: string; /** Chaos target selector discriminator type */ /** The discriminator possible values: List, Query */ type: SelectorType; /** Model that represents available filter types that can be applied to a targets list. */ filter?: ChaosTargetFilterUnion; } export declare function chaosTargetSelectorSerializer(item: ChaosTargetSelector): any; export declare function chaosTargetSelectorDeserializer(item: any): ChaosTargetSelector; /** Alias for ChaosTargetSelectorUnion */ export type ChaosTargetSelectorUnion = ChaosTargetListSelector | ChaosTargetQuerySelector | ChaosTargetSelector; export declare function chaosTargetSelectorUnionSerializer(item: ChaosTargetSelectorUnion): any; export declare function chaosTargetSelectorUnionDeserializer(item: any): ChaosTargetSelectorUnion; /** Enum of the selector type. */ export declare enum KnownSelectorType { /** List selector type. */ List = "List", /** Query selector type. */ Query = "Query" } /** * Enum of the selector type. \ * {@link KnownSelectorType} can be used interchangeably with SelectorType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **List**: List selector type. \ * **Query**: Query selector type. */ export type SelectorType = string; /** Model that represents available filter types that can be applied to a targets list. */ export interface ChaosTargetFilter { /** Chaos target filter discriminator type */ /** The discriminator possible values: Simple */ type: FilterType; } export declare function chaosTargetFilterSerializer(item: ChaosTargetFilter): any; export declare function chaosTargetFilterDeserializer(item: any): ChaosTargetFilter; /** Alias for ChaosTargetFilterUnion */ export type ChaosTargetFilterUnion = ChaosTargetSimpleFilter | ChaosTargetFilter; export declare function chaosTargetFilterUnionSerializer(item: ChaosTargetFilterUnion): any; export declare function chaosTargetFilterUnionDeserializer(item: any): ChaosTargetFilterUnion; /** Enum that discriminates between filter types. Currently only `Simple` type is supported. */ export declare enum KnownFilterType { /** Simple filter type. */ Simple = "Simple" } /** * Enum that discriminates between filter types. Currently only `Simple` type is supported. \ * {@link KnownFilterType} can be used interchangeably with FilterType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Simple**: Simple filter type. */ export type FilterType = string; /** Model that represents a simple target filter. */ export interface ChaosTargetSimpleFilter extends ChaosTargetFilter { /** Model that represents the Simple filter parameters. */ parameters?: ChaosTargetSimpleFilterParameters; /** Enum that discriminates between filter types. Currently only `Simple` type is supported. */ type: "Simple"; } export declare function chaosTargetSimpleFilterSerializer(item: ChaosTargetSimpleFilter): any; export declare function chaosTargetSimpleFilterDeserializer(item: any): ChaosTargetSimpleFilter; /** Model that represents the Simple filter parameters. */ export interface ChaosTargetSimpleFilterParameters { /** List of Azure availability zones to filter targets by. */ zones?: string[]; } export declare function chaosTargetSimpleFilterParametersSerializer(item: ChaosTargetSimpleFilterParameters): any; export declare function chaosTargetSimpleFilterParametersDeserializer(item: any): ChaosTargetSimpleFilterParameters; /** Model that represents a list selector. */ export interface ChaosTargetListSelector extends ChaosTargetSelector { /** List of Target references. */ targets: TargetReference[]; /** Enum of the selector type. */ type: "List"; } export declare function chaosTargetListSelectorSerializer(item: ChaosTargetListSelector): any; export declare function chaosTargetListSelectorDeserializer(item: any): ChaosTargetListSelector; export declare function targetReferenceArraySerializer(result: Array): any[]; export declare function targetReferenceArrayDeserializer(result: Array): any[]; /** Model that represents a reference to a Target in the selector. */ export interface TargetReference { /** Enum of the Target reference type. */ type: TargetReferenceType; /** String of the resource ID of a Target resource. */ id: string; } export declare function targetReferenceSerializer(item: TargetReference): any; export declare function targetReferenceDeserializer(item: any): TargetReference; /** Enum of the Target reference type. */ export declare enum KnownTargetReferenceType { /** Chaos target reference type. */ ChaosTarget = "ChaosTarget" } /** * Enum of the Target reference type. \ * {@link KnownTargetReferenceType} can be used interchangeably with TargetReferenceType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **ChaosTarget**: Chaos target reference type. */ export type TargetReferenceType = string; /** Model that represents a query selector. */ export interface ChaosTargetQuerySelector extends ChaosTargetSelector { /** Azure Resource Graph (ARG) Query Language query for target resources. */ queryString: string; /** Subscription id list to scope resource query. */ subscriptionIds: string[]; /** Enum of the selector type. */ type: "Query"; } export declare function chaosTargetQuerySelectorSerializer(item: ChaosTargetQuerySelector): any; export declare function chaosTargetQuerySelectorDeserializer(item: any): ChaosTargetQuerySelector; /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResource extends Resource { /** Resource tags. */ tags?: Record; /** The geo-location where the resource lives */ location: string; } export declare function trackedResourceSerializer(item: TrackedResource): any; export declare function trackedResourceDeserializer(item: any): TrackedResource; /** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface Resource { /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id?: string; /** The name of the resource */ readonly name?: string; /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type?: string; /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData?: SystemData; } export declare function resourceSerializer(item: Resource): any; export declare function resourceDeserializer(item: any): Resource; /** Metadata pertaining to creation and last modification of the resource. */ export interface SystemData { /** The identity that created the resource. */ createdBy?: string; /** The type of identity that created the resource. */ createdByType?: CreatedByType; /** The timestamp of resource creation (UTC). */ createdAt?: Date; /** The identity that last modified the resource. */ lastModifiedBy?: string; /** The type of identity that last modified the resource. */ lastModifiedByType?: CreatedByType; /** The timestamp of resource last modification (UTC) */ lastModifiedAt?: Date; } export declare function systemDataDeserializer(item: any): SystemData; /** The kind of entity that created the resource. */ export declare enum KnownCreatedByType { /** The entity was created by a user. */ User = "User", /** The entity was created by an application. */ Application = "Application", /** The entity was created by a managed identity. */ ManagedIdentity = "ManagedIdentity", /** The entity was created by a key. */ Key = "Key" } /** * The kind of entity that created the resource. \ * {@link KnowncreatedByType} can be used interchangeably with createdByType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User**: The entity was created by a user. \ * **Application**: The entity was created by an application. \ * **ManagedIdentity**: The entity was created by a managed identity. \ * **Key**: The entity was created by a key. */ export type CreatedByType = string; /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */ export interface ErrorResponse { /** The error object. */ error?: ErrorDetail; } export declare function errorResponseDeserializer(item: any): ErrorResponse; /** The error detail. */ export interface ErrorDetail { /** The error code. */ readonly code?: string; /** The error message. */ readonly message?: string; /** The error target. */ readonly target?: string; /** The error details. */ readonly details?: ErrorDetail[]; /** The error additional info. */ readonly additionalInfo?: ErrorAdditionalInfo[]; } export declare function errorDetailDeserializer(item: any): ErrorDetail; export declare function errorDetailArrayDeserializer(result: Array): any[]; export declare function errorAdditionalInfoArrayDeserializer(result: Array): any[]; /** The resource management error additional info. */ export interface ErrorAdditionalInfo { /** The additional info type. */ readonly type?: string; /** The additional info. */ readonly info?: Record; } export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo; /** model interface _ErrorAdditionalInfoInfo */ export interface _ErrorAdditionalInfoInfo { } export declare function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo; /** Describes an experiment update. */ export interface ExperimentUpdate { /** Resource tags. */ tags?: Record; /** The managed service identities assigned to this resource. */ identity?: ManagedServiceIdentity; } export declare function experimentUpdateSerializer(item: ExperimentUpdate): any; /** Model that represents a list of Experiment resources and a link for pagination. */ export interface _ExperimentListResult { /** The Experiment items on this page */ value: Experiment[]; /** The link to the next page of items */ nextLink?: string; } export declare function _experimentListResultDeserializer(item: any): _ExperimentListResult; export declare function experimentArraySerializer(result: Array): any[]; export declare function experimentArrayDeserializer(result: Array): any[]; /** Model that represents the execution of a Experiment. */ export interface ExperimentExecution extends ProxyResource { /** The properties of experiment execution status. */ properties?: ExperimentExecutionProperties; } export declare function experimentExecutionDeserializer(item: any): ExperimentExecution; /** Model that represents the execution properties of an Experiment. */ export interface ExperimentExecutionProperties { /** The status of the execution. */ readonly status?: string; /** String that represents the start date time. */ readonly startedAt?: Date; /** String that represents the stop date time. */ readonly stoppedAt?: Date; } export declare function experimentExecutionPropertiesDeserializer(item: any): ExperimentExecutionProperties; /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ export interface ProxyResource extends Resource { } export declare function proxyResourceSerializer(item: ProxyResource): any; export declare function proxyResourceDeserializer(item: any): ProxyResource; /** Model that represents a list of Experiment executions and a link for pagination. */ export interface _ExperimentExecutionListResult { /** The ExperimentExecution items on this page */ value: ExperimentExecution[]; /** The link to the next page of items */ nextLink?: string; } export declare function _experimentExecutionListResultDeserializer(item: any): _ExperimentExecutionListResult; export declare function experimentExecutionArrayDeserializer(result: Array): any[]; /** Model that represents the execution details of an Experiment. */ export interface ExperimentExecutionDetails { /** String of the resource type. */ readonly type?: string; /** String of the fully qualified resource ID. */ readonly id?: string; /** String of the resource name. */ readonly name?: string; /** The properties of the experiment execution details. */ readonly properties?: ExperimentExecutionDetailsProperties; } export declare function experimentExecutionDetailsDeserializer(item: any): ExperimentExecutionDetails; /** Model that represents the extended properties of an experiment execution. */ export interface ExperimentExecutionDetailsProperties { /** The status of the execution. */ readonly status?: string; /** String that represents the start date time. */ readonly startedAt?: Date; /** String that represents the stop date time. */ readonly stoppedAt?: Date; /** The reason why the execution failed. */ readonly failureReason?: string; /** String that represents the last action date time. */ readonly lastActionAt?: Date; /** The information of the experiment run. */ readonly runInformation?: ExperimentExecutionDetailsPropertiesRunInformation; } export declare function experimentExecutionDetailsPropertiesDeserializer(item: any): ExperimentExecutionDetailsProperties; /** The information of the experiment run. */ export interface ExperimentExecutionDetailsPropertiesRunInformation { /** The steps of the experiment run. */ readonly steps?: StepStatus[]; } export declare function experimentExecutionDetailsPropertiesRunInformationDeserializer(item: any): ExperimentExecutionDetailsPropertiesRunInformation; export declare function stepStatusArrayDeserializer(result: Array): any[]; /** Model that represents the a list of branches and branch statuses. */ export interface StepStatus { /** The name of the step. */ readonly stepName?: string; /** The id of the step. */ readonly stepId?: string; /** The value of the status of the step. */ readonly status?: string; /** The array of branches. */ readonly branches?: BranchStatus[]; } export declare function stepStatusDeserializer(item: any): StepStatus; export declare function branchStatusArrayDeserializer(result: Array): any[]; /** Model that represents the a list of actions and action statuses. */ export interface BranchStatus { /** The name of the branch status. */ readonly branchName?: string; /** The id of the branch status. */ readonly branchId?: string; /** The status of the branch. */ readonly status?: string; /** The array of actions. */ readonly actions?: ActionStatus[]; } export declare function branchStatusDeserializer(item: any): BranchStatus; export declare function actionStatusArrayDeserializer(result: Array): any[]; /** Model that represents the an action and its status. */ export interface ActionStatus { /** The name of the action status. */ readonly actionName?: string; /** The id of the action status. */ readonly actionId?: string; /** The status of the action. */ readonly status?: string; /** String that represents the start time of the action. */ readonly startTime?: Date; /** String that represents the end time of the action. */ readonly endTime?: Date; /** The array of targets. */ readonly targets?: ExperimentExecutionActionTargetDetailsProperties[]; } export declare function actionStatusDeserializer(item: any): ActionStatus; export declare function experimentExecutionActionTargetDetailsPropertiesArrayDeserializer(result: Array): any[]; /** Model that represents the Experiment action target details properties model. */ export interface ExperimentExecutionActionTargetDetailsProperties { /** The status of the execution. */ readonly status?: string; /** The target for the action. */ readonly target?: string; /** String that represents the failed date time. */ readonly targetFailedTime?: Date; /** String that represents the completed date time. */ readonly targetCompletedTime?: Date; /** The error of the action. */ readonly error?: ExperimentExecutionActionTargetDetailsError; } export declare function experimentExecutionActionTargetDetailsPropertiesDeserializer(item: any): ExperimentExecutionActionTargetDetailsProperties; /** Model that represents the Experiment action target details error model. */ export interface ExperimentExecutionActionTargetDetailsError { /** The error code. */ readonly code?: string; /** The error message */ readonly message?: string; } export declare function experimentExecutionActionTargetDetailsErrorDeserializer(item: any): ExperimentExecutionActionTargetDetailsError; /** Model that represents a Capability resource. */ export interface Capability extends ProxyResource { /** The properties of a capability resource. */ properties?: CapabilityProperties; } export declare function capabilitySerializer(item: Capability): any; export declare function capabilityDeserializer(item: any): Capability; /** Model that represents the Capability properties model. */ export interface CapabilityProperties { /** String of the Publisher that this Capability extends. */ readonly publisher?: string; /** String of the Target Type that this Capability extends. */ readonly targetType?: string; /** Localized string of the description. */ readonly description?: string; /** URL to retrieve JSON schema of the Capability parameters. */ readonly parametersSchema?: string; /** String of the URN for this Capability Type. */ readonly urn?: string; } export declare function capabilityPropertiesSerializer(item: CapabilityProperties): any; export declare function capabilityPropertiesDeserializer(item: any): CapabilityProperties; /** Model that represents a list of Capability resources and a link for pagination. */ export interface _CapabilityListResult { /** The Capability items on this page */ value: Capability[]; /** The link to the next page of items */ nextLink?: string; } export declare function _capabilityListResultDeserializer(item: any): _CapabilityListResult; export declare function capabilityArraySerializer(result: Array): any[]; export declare function capabilityArrayDeserializer(result: Array): any[]; /** Model that represents a Capability Type resource. */ export interface CapabilityType extends ProxyResource { /** The properties of the capability type resource. */ properties?: CapabilityTypeProperties; } export declare function capabilityTypeDeserializer(item: any): CapabilityType; /** Model that represents the Capability Type properties model. */ export interface CapabilityTypeProperties { /** String of the Publisher that this Capability Type extends. */ readonly publisher?: string; /** String of the Target Type that this Capability Type extends. */ readonly targetType?: string; /** Localized string of the display name. */ readonly displayName?: string; /** Localized string of the description. */ readonly description?: string; /** URL to retrieve JSON schema of the Capability Type parameters. */ readonly parametersSchema?: string; /** String of the URN for this Capability Type. */ readonly urn?: string; /** String of the kind of this Capability Type. */ readonly kind?: string; /** Control plane actions necessary to execute capability type. */ readonly azureRbacActions?: string[]; /** Data plane actions necessary to execute capability type. */ readonly azureRbacDataActions?: string[]; /** Required Azure Role Definition Ids to execute capability type. */ readonly requiredAzureRoleDefinitionIds?: string[]; /** Runtime properties of this Capability Type. */ readonly runtimeProperties?: CapabilityTypePropertiesRuntimeProperties; } export declare function capabilityTypePropertiesDeserializer(item: any): CapabilityTypeProperties; /** Runtime properties of this Capability Type. */ export interface CapabilityTypePropertiesRuntimeProperties { /** String of the kind of the resource's action type (continuous or discrete). */ readonly kind?: string; } export declare function capabilityTypePropertiesRuntimePropertiesDeserializer(item: any): CapabilityTypePropertiesRuntimeProperties; /** Model that represents a list of Capability Type resources and a link for pagination. */ export interface _CapabilityTypeListResult { /** The CapabilityType items on this page */ value: CapabilityType[]; /** The link to the next page of items */ nextLink?: string; } export declare function _capabilityTypeListResultDeserializer(item: any): _CapabilityTypeListResult; export declare function capabilityTypeArrayDeserializer(result: Array): any[]; /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ export interface _OperationListResult { /** The Operation items on this page */ value: Operation[]; /** The link to the next page of items */ nextLink?: string; } export declare function _operationListResultDeserializer(item: any): _OperationListResult; export declare function operationArrayDeserializer(result: Array): any[]; /** Details of a REST API operation, returned from the Resource Provider Operations API */ export interface Operation { /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" */ readonly name?: string; /** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */ readonly isDataAction?: boolean; /** Localized display information for this particular operation. */ display?: OperationDisplay; /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */ readonly origin?: Origin; /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */ readonly actionType?: ActionType; } export declare function operationDeserializer(item: any): Operation; /** Localized display information for and operation. */ export interface OperationDisplay { /** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */ readonly provider?: string; /** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */ readonly resource?: string; /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */ readonly operation?: string; /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */ readonly description?: string; } export declare function operationDisplayDeserializer(item: any): OperationDisplay; /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */ export declare enum KnownOrigin { /** Indicates the operation is initiated by a user. */ User = "user", /** Indicates the operation is initiated by a system. */ System = "system", /** Indicates the operation is initiated by a user or system. */ UserSystem = "user,system" } /** * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" \ * {@link KnownOrigin} can be used interchangeably with Origin, * this enum contains the known values that the service supports. * ### Known values supported by the service * **user**: Indicates the operation is initiated by a user. \ * **system**: Indicates the operation is initiated by a system. \ * **user,system**: Indicates the operation is initiated by a user or system. */ export type Origin = string; /** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */ export declare enum KnownActionType { /** Actions are for internal-only APIs. */ Internal = "Internal" } /** * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. \ * {@link KnownActionType} can be used interchangeably with ActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Internal**: Actions are for internal-only APIs. */ export type ActionType = string; /** The current status of an async operation. */ export interface OperationStatusResult { /** Fully qualified ID for the async operation. */ id?: string; /** Name of the async operation. */ name?: string; /** Operation status. */ status: string; /** Percent of the operation that is complete. */ percentComplete?: number; /** The start time of the operation. */ startTime?: Date; /** The end time of the operation. */ endTime?: Date; /** The operations list. */ operations?: OperationStatusResult[]; /** If present, details of the operation error. */ error?: ErrorDetail; /** Fully qualified ID of the resource against which the original async operation was started. */ readonly resourceId?: string; } export declare function operationStatusResultDeserializer(item: any): OperationStatusResult; export declare function operationStatusResultArrayDeserializer(result: Array): any[]; /** Model that represents a Target resource. */ export interface Target extends ProxyResource { /** The properties of the target resource. */ properties: Record; /** Azure resource location. */ location?: string; } export declare function targetSerializer(item: Target): any; export declare function targetDeserializer(item: any): Target; /** Model that represents a list of Target resources and a link for pagination. */ export interface _TargetListResult { /** The Target items on this page */ value: Target[]; /** The link to the next page of items */ nextLink?: string; } export declare function _targetListResultDeserializer(item: any): _TargetListResult; export declare function targetArraySerializer(result: Array): any[]; export declare function targetArrayDeserializer(result: Array): any[]; /** Model that represents a Target Type resource. */ export interface TargetType extends ProxyResource { /** The properties of the target type resource. */ properties: TargetTypeProperties; } export declare function targetTypeDeserializer(item: any): TargetType; /** Model that represents the base Target Type properties model. */ export interface TargetTypeProperties { /** Localized string of the display name. */ readonly displayName?: string; /** Localized string of the description. */ readonly description?: string; /** URL to retrieve JSON schema of the Target Type properties. */ readonly propertiesSchema?: string; /** List of resource types this Target Type can extend. */ readonly resourceTypes?: string[]; } export declare function targetTypePropertiesDeserializer(item: any): TargetTypeProperties; /** Model that represents a list of Target Type resources and a link for pagination. */ export interface _TargetTypeListResult { /** The TargetType items on this page */ value: TargetType[]; /** The link to the next page of items */ nextLink?: string; } export declare function _targetTypeListResultDeserializer(item: any): _TargetTypeListResult; export declare function targetTypeArrayDeserializer(result: Array): any[]; /** The available API versions. */ export declare enum KnownVersions { /** The 2025-01-01 API version. */ V20250101 = "2025-01-01" } //# sourceMappingURL=models.d.ts.map