UNPKG

@azure/arm-resources

Version:
1,775 lines 88.1 kB
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export const OperationListResult = { type: { name: "Composite", className: "OperationListResult", modelProperties: { value: { serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", className: "Operation", }, }, }, }, nextLink: { serializedName: "nextLink", type: { name: "String", }, }, }, }, }; export const Operation = { type: { name: "Composite", className: "Operation", modelProperties: { name: { serializedName: "name", type: { name: "String", }, }, display: { serializedName: "display", type: { name: "Composite", className: "OperationDisplay", }, }, }, }, }; export const OperationDisplay = { type: { name: "Composite", className: "OperationDisplay", modelProperties: { provider: { serializedName: "provider", type: { name: "String", }, }, resource: { serializedName: "resource", type: { name: "String", }, }, operation: { serializedName: "operation", type: { name: "String", }, }, description: { serializedName: "description", type: { name: "String", }, }, }, }, }; export const CloudError = { type: { name: "Composite", className: "CloudError", modelProperties: { error: { serializedName: "error", type: { name: "Composite", className: "ErrorResponse", }, }, }, }, }; export const ErrorResponse = { type: { name: "Composite", className: "ErrorResponse", modelProperties: { code: { serializedName: "code", readOnly: true, type: { name: "String", }, }, message: { serializedName: "message", readOnly: true, type: { name: "String", }, }, target: { serializedName: "target", readOnly: true, type: { name: "String", }, }, details: { serializedName: "details", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "ErrorResponse", }, }, }, }, additionalInfo: { serializedName: "additionalInfo", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "ErrorAdditionalInfo", }, }, }, }, }, }, }; export const ErrorAdditionalInfo = { type: { name: "Composite", className: "ErrorAdditionalInfo", modelProperties: { type: { serializedName: "type", readOnly: true, type: { name: "String", }, }, info: { serializedName: "info", readOnly: true, type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, }, }, }; export const Deployment = { type: { name: "Composite", className: "Deployment", modelProperties: { location: { serializedName: "location", type: { name: "String", }, }, properties: { serializedName: "properties", type: { name: "Composite", className: "DeploymentProperties", }, }, tags: { serializedName: "tags", type: { name: "Dictionary", value: { type: { name: "String" } }, }, }, }, }, }; export const DeploymentProperties = { type: { name: "Composite", className: "DeploymentProperties", modelProperties: { template: { serializedName: "template", type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, templateLink: { serializedName: "templateLink", type: { name: "Composite", className: "TemplateLink", }, }, parameters: { serializedName: "parameters", type: { name: "Dictionary", value: { type: { name: "Composite", className: "DeploymentParameter" }, }, }, }, parametersLink: { serializedName: "parametersLink", type: { name: "Composite", className: "ParametersLink", }, }, extensionConfigs: { serializedName: "extensionConfigs", type: { name: "Dictionary", value: { type: { name: "Dictionary", value: { type: { name: "Composite", className: "DeploymentExtensionConfigItem", }, }, }, }, }, }, mode: { serializedName: "mode", required: true, type: { name: "Enum", allowedValues: ["Incremental", "Complete"], }, }, debugSetting: { serializedName: "debugSetting", type: { name: "Composite", className: "DebugSetting", }, }, onErrorDeployment: { serializedName: "onErrorDeployment", type: { name: "Composite", className: "OnErrorDeployment", }, }, expressionEvaluationOptions: { serializedName: "expressionEvaluationOptions", type: { name: "Composite", className: "ExpressionEvaluationOptions", }, }, validationLevel: { serializedName: "validationLevel", type: { name: "String", }, }, }, }, }; export const TemplateLink = { type: { name: "Composite", className: "TemplateLink", modelProperties: { uri: { serializedName: "uri", type: { name: "String", }, }, id: { serializedName: "id", type: { name: "String", }, }, relativePath: { serializedName: "relativePath", type: { name: "String", }, }, contentVersion: { serializedName: "contentVersion", type: { name: "String", }, }, queryString: { serializedName: "queryString", type: { name: "String", }, }, }, }, }; export const DeploymentParameter = { type: { name: "Composite", className: "DeploymentParameter", modelProperties: { value: { serializedName: "value", type: { name: "any", }, }, reference: { serializedName: "reference", type: { name: "Composite", className: "KeyVaultParameterReference", }, }, }, }, }; export const KeyVaultParameterReference = { type: { name: "Composite", className: "KeyVaultParameterReference", modelProperties: { keyVault: { serializedName: "keyVault", type: { name: "Composite", className: "KeyVaultReference", }, }, secretName: { serializedName: "secretName", required: true, type: { name: "String", }, }, secretVersion: { serializedName: "secretVersion", type: { name: "String", }, }, }, }, }; export const KeyVaultReference = { type: { name: "Composite", className: "KeyVaultReference", modelProperties: { id: { serializedName: "id", required: true, type: { name: "String", }, }, }, }, }; export const ParametersLink = { type: { name: "Composite", className: "ParametersLink", modelProperties: { uri: { serializedName: "uri", required: true, type: { name: "String", }, }, contentVersion: { serializedName: "contentVersion", type: { name: "String", }, }, }, }, }; export const DeploymentExtensionConfigItem = { type: { name: "Composite", className: "DeploymentExtensionConfigItem", modelProperties: { type: { serializedName: "type", readOnly: true, type: { name: "String", }, }, value: { serializedName: "value", type: { name: "any", }, }, keyVaultReference: { serializedName: "keyVaultReference", type: { name: "Composite", className: "KeyVaultParameterReference", }, }, }, }, }; export const DebugSetting = { type: { name: "Composite", className: "DebugSetting", modelProperties: { detailLevel: { serializedName: "detailLevel", type: { name: "String", }, }, }, }, }; export const OnErrorDeployment = { type: { name: "Composite", className: "OnErrorDeployment", modelProperties: { type: { serializedName: "type", type: { name: "Enum", allowedValues: ["LastSuccessful", "SpecificDeployment"], }, }, deploymentName: { serializedName: "deploymentName", type: { name: "String", }, }, }, }, }; export const ExpressionEvaluationOptions = { type: { name: "Composite", className: "ExpressionEvaluationOptions", modelProperties: { scope: { serializedName: "scope", type: { name: "String", }, }, }, }, }; export const DeploymentExtended = { type: { name: "Composite", className: "DeploymentExtended", modelProperties: { id: { serializedName: "id", readOnly: true, type: { name: "String", }, }, name: { serializedName: "name", readOnly: true, type: { name: "String", }, }, type: { serializedName: "type", readOnly: true, type: { name: "String", }, }, location: { serializedName: "location", type: { name: "String", }, }, properties: { serializedName: "properties", type: { name: "Composite", className: "DeploymentPropertiesExtended", }, }, tags: { serializedName: "tags", type: { name: "Dictionary", value: { type: { name: "String" } }, }, }, }, }, }; export const DeploymentPropertiesExtended = { type: { name: "Composite", className: "DeploymentPropertiesExtended", modelProperties: { provisioningState: { serializedName: "provisioningState", readOnly: true, type: { name: "String", }, }, correlationId: { serializedName: "correlationId", readOnly: true, type: { name: "String", }, }, timestamp: { serializedName: "timestamp", readOnly: true, type: { name: "DateTime", }, }, duration: { serializedName: "duration", readOnly: true, type: { name: "String", }, }, outputs: { serializedName: "outputs", readOnly: true, type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, providers: { serializedName: "providers", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "Provider", }, }, }, }, dependencies: { serializedName: "dependencies", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "Dependency", }, }, }, }, templateLink: { serializedName: "templateLink", type: { name: "Composite", className: "TemplateLink", }, }, parameters: { serializedName: "parameters", readOnly: true, type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, parametersLink: { serializedName: "parametersLink", type: { name: "Composite", className: "ParametersLink", }, }, extensions: { serializedName: "extensions", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "DeploymentExtensionDefinition", }, }, }, }, mode: { serializedName: "mode", readOnly: true, type: { name: "Enum", allowedValues: ["Incremental", "Complete"], }, }, debugSetting: { serializedName: "debugSetting", type: { name: "Composite", className: "DebugSetting", }, }, onErrorDeployment: { serializedName: "onErrorDeployment", type: { name: "Composite", className: "OnErrorDeploymentExtended", }, }, templateHash: { serializedName: "templateHash", readOnly: true, type: { name: "String", }, }, outputResources: { serializedName: "outputResources", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "ResourceReference", }, }, }, }, validatedResources: { serializedName: "validatedResources", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "ResourceReference", }, }, }, }, error: { serializedName: "error", type: { name: "Composite", className: "ErrorResponse", }, }, diagnostics: { serializedName: "diagnostics", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "DeploymentDiagnosticsDefinition", }, }, }, }, validationLevel: { serializedName: "validationLevel", type: { name: "String", }, }, }, }, }; export const Provider = { type: { name: "Composite", className: "Provider", modelProperties: { id: { serializedName: "id", readOnly: true, type: { name: "String", }, }, namespace: { serializedName: "namespace", type: { name: "String", }, }, registrationState: { serializedName: "registrationState", readOnly: true, type: { name: "String", }, }, registrationPolicy: { serializedName: "registrationPolicy", readOnly: true, type: { name: "String", }, }, resourceTypes: { serializedName: "resourceTypes", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "ProviderResourceType", }, }, }, }, providerAuthorizationConsentState: { serializedName: "providerAuthorizationConsentState", type: { name: "String", }, }, }, }, }; export const ProviderResourceType = { type: { name: "Composite", className: "ProviderResourceType", modelProperties: { resourceType: { serializedName: "resourceType", type: { name: "String", }, }, locations: { serializedName: "locations", type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, locationMappings: { serializedName: "locationMappings", type: { name: "Sequence", element: { type: { name: "Composite", className: "ProviderExtendedLocation", }, }, }, }, aliases: { serializedName: "aliases", type: { name: "Sequence", element: { type: { name: "Composite", className: "Alias", }, }, }, }, apiVersions: { serializedName: "apiVersions", type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, defaultApiVersion: { serializedName: "defaultApiVersion", readOnly: true, type: { name: "String", }, }, zoneMappings: { serializedName: "zoneMappings", type: { name: "Sequence", element: { type: { name: "Composite", className: "ZoneMapping", }, }, }, }, apiProfiles: { serializedName: "apiProfiles", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "ApiProfile", }, }, }, }, capabilities: { serializedName: "capabilities", type: { name: "String", }, }, properties: { serializedName: "properties", type: { name: "Dictionary", value: { type: { name: "String" } }, }, }, }, }, }; export const ProviderExtendedLocation = { type: { name: "Composite", className: "ProviderExtendedLocation", modelProperties: { location: { serializedName: "location", type: { name: "String", }, }, type: { serializedName: "type", type: { name: "String", }, }, extendedLocations: { serializedName: "extendedLocations", type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, }, }, }; export const Alias = { type: { name: "Composite", className: "Alias", modelProperties: { name: { serializedName: "name", type: { name: "String", }, }, paths: { serializedName: "paths", type: { name: "Sequence", element: { type: { name: "Composite", className: "AliasPath", }, }, }, }, type: { serializedName: "type", type: { name: "Enum", allowedValues: ["NotSpecified", "PlainText", "Mask"], }, }, defaultPath: { serializedName: "defaultPath", type: { name: "String", }, }, defaultPattern: { serializedName: "defaultPattern", type: { name: "Composite", className: "AliasPattern", }, }, defaultMetadata: { serializedName: "defaultMetadata", type: { name: "Composite", className: "AliasPathMetadata", }, }, }, }, }; export const AliasPath = { type: { name: "Composite", className: "AliasPath", modelProperties: { path: { serializedName: "path", type: { name: "String", }, }, apiVersions: { serializedName: "apiVersions", type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, pattern: { serializedName: "pattern", type: { name: "Composite", className: "AliasPattern", }, }, metadata: { serializedName: "metadata", type: { name: "Composite", className: "AliasPathMetadata", }, }, }, }, }; export const AliasPattern = { type: { name: "Composite", className: "AliasPattern", modelProperties: { phrase: { serializedName: "phrase", type: { name: "String", }, }, variable: { serializedName: "variable", type: { name: "String", }, }, type: { serializedName: "type", type: { name: "Enum", allowedValues: ["NotSpecified", "Extract"], }, }, }, }, }; export const AliasPathMetadata = { type: { name: "Composite", className: "AliasPathMetadata", modelProperties: { type: { serializedName: "type", readOnly: true, type: { name: "String", }, }, attributes: { serializedName: "attributes", readOnly: true, type: { name: "String", }, }, }, }, }; export const ZoneMapping = { type: { name: "Composite", className: "ZoneMapping", modelProperties: { location: { serializedName: "location", type: { name: "String", }, }, zones: { serializedName: "zones", type: { name: "Sequence", element: { type: { name: "String", }, }, }, }, }, }, }; export const ApiProfile = { type: { name: "Composite", className: "ApiProfile", modelProperties: { profileVersion: { serializedName: "profileVersion", readOnly: true, type: { name: "String", }, }, apiVersion: { serializedName: "apiVersion", readOnly: true, type: { name: "String", }, }, }, }, }; export const Dependency = { type: { name: "Composite", className: "Dependency", modelProperties: { dependsOn: { serializedName: "dependsOn", type: { name: "Sequence", element: { type: { name: "Composite", className: "BasicDependency", }, }, }, }, id: { serializedName: "id", type: { name: "String", }, }, resourceType: { serializedName: "resourceType", type: { name: "String", }, }, resourceName: { serializedName: "resourceName", type: { name: "String", }, }, }, }, }; export const BasicDependency = { type: { name: "Composite", className: "BasicDependency", modelProperties: { id: { serializedName: "id", type: { name: "String", }, }, resourceType: { serializedName: "resourceType", type: { name: "String", }, }, resourceName: { serializedName: "resourceName", type: { name: "String", }, }, }, }, }; export const DeploymentExtensionDefinition = { type: { name: "Composite", className: "DeploymentExtensionDefinition", modelProperties: { alias: { serializedName: "alias", readOnly: true, type: { name: "String", }, }, name: { serializedName: "name", readOnly: true, type: { name: "String", }, }, version: { serializedName: "version", readOnly: true, type: { name: "String", }, }, configId: { serializedName: "configId", readOnly: true, type: { name: "String", }, }, config: { serializedName: "config", readOnly: true, type: { name: "Dictionary", value: { type: { name: "Composite", className: "DeploymentExtensionConfigItem", }, }, }, }, }, }, }; export const OnErrorDeploymentExtended = { type: { name: "Composite", className: "OnErrorDeploymentExtended", modelProperties: { provisioningState: { serializedName: "provisioningState", readOnly: true, type: { name: "String", }, }, type: { serializedName: "type", type: { name: "Enum", allowedValues: ["LastSuccessful", "SpecificDeployment"], }, }, deploymentName: { serializedName: "deploymentName", type: { name: "String", }, }, }, }, }; export const ResourceReference = { type: { name: "Composite", className: "ResourceReference", modelProperties: { id: { serializedName: "id", readOnly: true, type: { name: "String", }, }, extension: { serializedName: "extension", type: { name: "Composite", className: "DeploymentExtensionDefinition", }, }, resourceType: { serializedName: "resourceType", readOnly: true, type: { name: "String", }, }, identifiers: { serializedName: "identifiers", readOnly: true, type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, apiVersion: { serializedName: "apiVersion", readOnly: true, type: { name: "String", }, }, }, }, }; export const DeploymentDiagnosticsDefinition = { type: { name: "Composite", className: "DeploymentDiagnosticsDefinition", modelProperties: { level: { serializedName: "level", required: true, readOnly: true, type: { name: "String", }, }, code: { serializedName: "code", required: true, readOnly: true, type: { name: "String", }, }, message: { serializedName: "message", required: true, readOnly: true, type: { name: "String", }, }, target: { serializedName: "target", readOnly: true, type: { name: "String", }, }, additionalInfo: { serializedName: "additionalInfo", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "ErrorAdditionalInfo", }, }, }, }, }, }, }; export const DeploymentValidateResult = { type: { name: "Composite", className: "DeploymentValidateResult", modelProperties: { error: { serializedName: "error", type: { name: "Composite", className: "ErrorResponse", }, }, id: { serializedName: "id", readOnly: true, type: { name: "String", }, }, name: { serializedName: "name", readOnly: true, type: { name: "String", }, }, type: { serializedName: "type", readOnly: true, type: { name: "String", }, }, properties: { serializedName: "properties", type: { name: "Composite", className: "DeploymentPropertiesExtended", }, }, }, }, }; export const DeploymentExportResult = { type: { name: "Composite", className: "DeploymentExportResult", modelProperties: { template: { serializedName: "template", type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, }, }, }; export const DeploymentListResult = { type: { name: "Composite", className: "DeploymentListResult", modelProperties: { value: { serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", className: "DeploymentExtended", }, }, }, }, nextLink: { serializedName: "nextLink", readOnly: true, type: { name: "String", }, }, }, }, }; export const ScopedDeployment = { type: { name: "Composite", className: "ScopedDeployment", modelProperties: { location: { serializedName: "location", required: true, type: { name: "String", }, }, properties: { serializedName: "properties", type: { name: "Composite", className: "DeploymentProperties", }, }, tags: { serializedName: "tags", type: { name: "Dictionary", value: { type: { name: "String" } }, }, }, }, }, }; export const ScopedDeploymentWhatIf = { type: { name: "Composite", className: "ScopedDeploymentWhatIf", modelProperties: { location: { serializedName: "location", required: true, type: { name: "String", }, }, properties: { serializedName: "properties", type: { name: "Composite", className: "DeploymentWhatIfProperties", }, }, }, }, }; export const DeploymentWhatIfSettings = { type: { name: "Composite", className: "DeploymentWhatIfSettings", modelProperties: { resultFormat: { serializedName: "resultFormat", type: { name: "Enum", allowedValues: ["ResourceIdOnly", "FullResourcePayloads"], }, }, }, }, }; export const WhatIfOperationResult = { type: { name: "Composite", className: "WhatIfOperationResult", modelProperties: { status: { serializedName: "status", type: { name: "String", }, }, error: { serializedName: "error", type: { name: "Composite", className: "ErrorResponse", }, }, changes: { serializedName: "properties.changes", type: { name: "Sequence", element: { type: { name: "Composite", className: "WhatIfChange", }, }, }, }, potentialChanges: { serializedName: "properties.potentialChanges", type: { name: "Sequence", element: { type: { name: "Composite", className: "WhatIfChange", }, }, }, }, diagnostics: { serializedName: "properties.diagnostics", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "DeploymentDiagnosticsDefinition", }, }, }, }, }, }, }; export const WhatIfChange = { type: { name: "Composite", className: "WhatIfChange", modelProperties: { resourceId: { serializedName: "resourceId", type: { name: "String", }, }, deploymentId: { serializedName: "deploymentId", type: { name: "String", }, }, symbolicName: { serializedName: "symbolicName", type: { name: "String", }, }, identifiers: { serializedName: "identifiers", type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, changeType: { serializedName: "changeType", required: true, type: { name: "Enum", allowedValues: [ "Create", "Delete", "Ignore", "Deploy", "NoChange", "Modify", "Unsupported", ], }, }, unsupportedReason: { serializedName: "unsupportedReason", type: { name: "String", }, }, before: { serializedName: "before", type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, after: { serializedName: "after", type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, delta: { serializedName: "delta", type: { name: "Sequence", element: { type: { name: "Composite", className: "WhatIfPropertyChange", }, }, }, }, }, }, }; export const WhatIfPropertyChange = { type: { name: "Composite", className: "WhatIfPropertyChange", modelProperties: { path: { serializedName: "path", required: true, type: { name: "String", }, }, propertyChangeType: { serializedName: "propertyChangeType", required: true, type: { name: "Enum", allowedValues: ["Create", "Delete", "Modify", "Array", "NoEffect"], }, }, before: { serializedName: "before", type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, after: { serializedName: "after", type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, children: { serializedName: "children", type: { name: "Sequence", element: { type: { name: "Composite", className: "WhatIfPropertyChange", }, }, }, }, }, }, }; export const DeploymentWhatIf = { type: { name: "Composite", className: "DeploymentWhatIf", modelProperties: { location: { serializedName: "location", type: { name: "String", }, }, properties: { serializedName: "properties", type: { name: "Composite", className: "DeploymentWhatIfProperties", }, }, }, }, }; export const ProviderPermissionListResult = { type: { name: "Composite", className: "ProviderPermissionListResult", modelProperties: { value: { serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", className: "ProviderPermission", }, }, }, }, nextLink: { serializedName: "nextLink", readOnly: true, type: { name: "String", }, }, }, }, }; export const ProviderPermission = { type: { name: "Composite", className: "ProviderPermission", modelProperties: { applicationId: { serializedName: "applicationId", type: { name: "String", }, }, roleDefinition: { serializedName: "roleDefinition", type: { name: "Composite", className: "RoleDefinition", }, }, managedByRoleDefinition: { serializedName: "managedByRoleDefinition", type: { name: "Composite", className: "RoleDefinition", }, }, providerAuthorizationConsentState: { serializedName: "providerAuthorizationConsentState", type: { name: "String", }, }, }, }, }; export const RoleDefinition = { type: { name: "Composite", className: "RoleDefinition", modelProperties: { id: { seria