Initial commit

This commit is contained in:
schihei committed 2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 files changed
+5280367

No files matched your search

+9223
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/operations.ts","../src/lroImpl.ts","../src/operations/deployments.ts","../src/operations/providers.ts","../src/operations/providerResourceTypes.ts","../src/operations/resources.ts","../src/operations/resourceGroups.ts","../src/operations/tagsOperations.ts","../src/operations/deploymentOperations.ts","../src/resourceManagementClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Microsoft.Resources operations. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Microsoft.Resources operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** The object that represents the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Resources */\n provider?: string;\n /** Resource on which the operation is performed: Profile, endpoint, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n /** Description of the operation. */\n description?: string;\n}\n\n/** An error response for a resource management request. */\nexport interface CloudError {\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\n error?: ErrorResponse;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\nexport interface ErrorResponse {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorResponse[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** Deployment operation parameters. */\nexport interface Deployment {\n /** The location to store the deployment data. */\n location?: string;\n /** The deployment properties. */\n properties: DeploymentProperties;\n /** Deployment tags */\n tags?: { [propertyName: string]: string };\n}\n\n/** Deployment properties. */\nexport interface DeploymentProperties {\n /** The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both. */\n template?: Record<string, unknown>;\n /** The URI of the template. Use either the templateLink property or the template property, but not both. */\n templateLink?: TemplateLink;\n /** Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string. */\n parameters?: Record<string, unknown>;\n /** The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both. */\n parametersLink?: PLine truncated
+1
View File
@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),tslib=require("tslib"),coreLro=require("@azure/core-lro");function _interopNamespace(r){if(r&&r.__esModule)return r;var a=Object.create(null);return r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(a,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),a.default=r,Object.freeze(a)}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);exports.KnownExpressionEvaluationOptionsScopeType=void 0,function(e){e.NotSpecified="NotSpecified",e.Outer="Outer",e.Inner="Inner"}(exports.KnownExpressionEvaluationOptionsScopeType||(exports.KnownExpressionEvaluationOptionsScopeType={})),exports.KnownProvisioningState=void 0,function(e){e.NotSpecified="NotSpecified",e.Accepted="Accepted",e.Running="Running",e.Ready="Ready",e.Creating="Creating",e.Created="Created",e.Deleting="Deleting",e.Deleted="Deleted",e.Canceled="Canceled",e.Failed="Failed",e.Succeeded="Succeeded",e.Updating="Updating"}(exports.KnownProvisioningState||(exports.KnownProvisioningState={})),exports.KnownAliasPathTokenType=void 0,function(e){e.NotSpecified="NotSpecified",e.Any="Any",e.String="String",e.Object="Object",e.Array="Array",e.Integer="Integer",e.Number="Number",e.Boolean="Boolean"}(exports.KnownAliasPathTokenType||(exports.KnownAliasPathTokenType={})),exports.KnownAliasPathAttributes=void 0,function(e){e.None="None",e.Modifiable="Modifiable"}(exports.KnownAliasPathAttributes||(exports.KnownAliasPathAttributes={})),exports.KnownProviderAuthorizationConsentState=void 0,function(e){e.NotSpecified="NotSpecified",e.Required="Required",e.NotRequired="NotRequired",e.Consented="Consented"}(exports.KnownProviderAuthorizationConsentState||(exports.KnownProviderAuthorizationConsentState={})),exports.KnownExtendedLocationType=void 0,(exports.KnownExtendedLocationType||(exports.KnownExtendedLocationType={})).EdgeZone="EdgeZone",exports.KnownTagsPatchOperation=void 0,function(e){e.Replace="Replace",e.Merge="Merge",e.Delete="Delete"}(exports.KnownTagsPatchOperation||(exports.KnownTagsPatchOperation={}));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"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},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"}}}}},CloudError={type:{name:"Composite",className:"CloudError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorResponse"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorResponse"}}}},additionalInfo:{serializedName:"additionalInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorAdditionalInfo"}}}}}}},ErrorAdditionalInfo={type:{name:"Composite",className:"ErrorAdditionalInfo",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},info:{serializedName:"info",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},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"}}}}}}},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:"any"}}}},parametersLink:{serializedName:"parametersLink",type:{name:"Composite",className:"ParametersLink"}},mode:{serializedName:"mode",required:!0,type:{name:"Enum",allowedValues:["Incremental","Complete"]}},debugSetting:{serializedName:"debugSettLine truncated
+1
View File
@@ -0,0 +1 @@
{"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/operations.ts","../src/lroImpl.ts","../src/operations/deployments.ts","../src/operations/providers.ts","../src/operations/providerResourceTypes.ts","../src/operations/resources.ts","../src/operations/resourceGroups.ts","../src/operations/tagsOperations.ts","../src/operations/deploymentOperations.ts","../src/resourceManagementClient.ts"],"names":["KnownExpressionEvaluationOptionsScopeType","KnownProvisioningState","KnownAliasPathTokenType","KnownAliasPathAttributes","KnownProviderAuthorizationConsentState","KnownExtendedLocationType","KnownTagsPatchOperation","OperationListResult","type","name","className","modelProperties","value","serializedName","element","nextLink","Operation","display","OperationDisplay","provider","resource","operation","description","CloudError","error","ErrorResponse","code","readOnly","message","target","details","additionalInfo","ErrorAdditionalInfo","info","Deployment","location","properties","tags","DeploymentProperties","template","templateLink","parameters","parametersLink","mode","required","allowedValues","debugSetting","onErrorDeployment","expressionEvaluationOptions","TemplateLink","uri","id","relativePath","contentVersion","queryString","ParametersLink","DebugSetting","detailLevel","OnErrorDeployment","deploymentName","ExpressionEvaluationOptions","scope","DeploymentExtended","DeploymentPropertiesExtended","provisioningState","correlationId","timestamp","duration","outputs","providers","dependencies","templateHash","outputResources","validatedResources","Provider","namespace","registrationState","registrationPolicy","resourceTypes","providerAuthorizationConsentState","ProviderResourceType","resourceType","locations","locationMappings","aliases","apiVersions","defaultApiVersion","zoneMappings","apiProfiles","capabilities","ProviderExtendedLocation","extendedLocations","Alias","paths","defaultPath","defaultPattern","defaultMetadata","AliasPath","path","pattern","metadata","AliasPattern","phrase","variable","AliasPathMetadata","attributes","ZoneMapping","zones","ApiProfile","profileVersion","apiVersion","Dependency","dependsOn","resourceName","BasicDependency","OnErrorDeploymentExtended","ResourceReference","DeploymentValidateResult","DeploymentExportResult","DeploymentListResult","ScopedDeployment","ScopedDeploymentWhatIf","DeploymentWhatIfSettings","resultFormat","WhatIfOperationResult","status","changes","WhatIfChange","resourceId","changeType","unsupportedReason","before","after","delta","WhatIfPropertyChange","propertyChangeType","children","DeploymentWhatIf","ProviderPermissionListResult","ProviderPermission","applicationId","roleDefinition","managedByRoleDefinition","RoleDefinition","isServiceRole","permissions","scopes","Permission","actions","notActions","dataActions","notDataActions","ProviderRegistrationRequest","thirdPartyProviderConsent","ProviderConsentDefinition","consentToAuthorization","ProviderListResult","ProviderResourceTypeListResult","ResourceListResult","Plan","publisher","product","promotionCode","version","Sku","tier","size","family","model","capacity","Identity","principalId","tenantId","userAssignedIdentities","IdentityUserAssignedIdentitiesValue","clientId","Resource","extendedLocation","ExtendedLocation","ResourceGroup","managedBy","ResourceGroupProperties","ResourceGroupPatchable","ExportTemplateRequest","resources","options","ResourceGroupExportResult","ResourceGroupListResult","ResourcesMoveInfo","targetResourceGroup","TagValue","tagValue","count","TagCount","TagDetails","tagName","values","TagsListResult","DeploymentOperation","operationId","DeploymentOperationProperties","provisioningOperation","serviceRequestId","statusCode","statusMessage","targetResource","request","response","StatusMessage","TargetResource","HttpMessage","content","DeploymentOperationsListResult","TemplateHashResult","minifiedTemplate","TagsResource","Tags","TagsPatchResource","DeploymentExtendedFilter","GenericResourceFilter","tagname","tagvalue","ResourceGroupFilter","ResourceProviderOperationDisplayProperties","SubResource","DeploymentWhatIfProperties","Object","assign","whatIfSettings","GenericResource","plan","kind","constraints","Pattern","RegExp","sku","identity","GenericResourceExpanded","createdTime","changedTime","DeploymentsWhatIfAtTenantScopeHeaders","retryAfter","DeploymentsWhatIfAtManagementGroupScopeHeaders","DeploymentsWhatIfAtSubscriptionScopeHeaders","DeploymentsWhatIfHeaders","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","MaxLength","MinLength","contentType","DeploymentMapper","filter","top","parameters1","ScopedDeploymentMapper","parameters2","ScopedDeploymentWhatIfMapper","groupId","subscriptionId","parameters3","DeploymentWhatIfMapper","resourceGroupName","resourceProviderNamespace","ProviderRegistrationRequestMapper","expand","parameters4","ResourcesMoveInfoMapper","sourceResourceGroupNaLine truncated