@azure/provisioning-keyvault 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +78 -0
- package/README.md +23 -4
- package/dist/browser/deleted-managed-hsm.d.ts.map +1 -1
- package/dist/browser/deleted-managed-hsm.js +4 -8
- package/dist/browser/deleted-managed-hsm.js.map +1 -1
- package/dist/browser/deleted-vault.d.ts.map +1 -1
- package/dist/browser/deleted-vault.js +4 -8
- package/dist/browser/deleted-vault.js.map +1 -1
- package/dist/browser/key-vault.d.ts +6 -6
- package/dist/browser/key-vault.d.ts.map +1 -1
- package/dist/browser/key-vault.js +17 -50
- package/dist/browser/key-vault.js.map +1 -1
- package/dist/browser/managed-hsm.d.ts.map +1 -1
- package/dist/browser/managed-hsm.js +11 -31
- package/dist/browser/managed-hsm.js.map +1 -1
- package/dist/browser/package.json +1 -1
- package/dist/browser/types.d.ts +198 -8
- package/dist/browser/types.d.ts.map +1 -1
- package/dist/browser/types.js +15 -2
- package/dist/browser/types.js.map +1 -1
- package/dist/commonjs/deleted-managed-hsm.d.ts.map +1 -1
- package/dist/commonjs/deleted-managed-hsm.js +4 -8
- package/dist/commonjs/deleted-managed-hsm.js.map +2 -2
- package/dist/commonjs/deleted-vault.d.ts.map +1 -1
- package/dist/commonjs/deleted-vault.js +4 -8
- package/dist/commonjs/deleted-vault.js.map +2 -2
- package/dist/commonjs/key-vault.d.ts +6 -6
- package/dist/commonjs/key-vault.d.ts.map +1 -1
- package/dist/commonjs/key-vault.js +16 -49
- package/dist/commonjs/key-vault.js.map +2 -2
- package/dist/commonjs/managed-hsm.d.ts.map +1 -1
- package/dist/commonjs/managed-hsm.js +11 -31
- package/dist/commonjs/managed-hsm.js.map +2 -2
- package/dist/commonjs/package.json +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/types.d.ts +198 -8
- package/dist/commonjs/types.d.ts.map +1 -1
- package/dist/commonjs/types.js +18 -5
- package/dist/commonjs/types.js.map +2 -2
- package/dist/esm/deleted-managed-hsm.d.ts.map +1 -1
- package/dist/esm/deleted-managed-hsm.js +4 -8
- package/dist/esm/deleted-managed-hsm.js.map +1 -1
- package/dist/esm/deleted-vault.d.ts.map +1 -1
- package/dist/esm/deleted-vault.js +4 -8
- package/dist/esm/deleted-vault.js.map +1 -1
- package/dist/esm/key-vault.d.ts +6 -6
- package/dist/esm/key-vault.d.ts.map +1 -1
- package/dist/esm/key-vault.js +17 -50
- package/dist/esm/key-vault.js.map +1 -1
- package/dist/esm/managed-hsm.d.ts.map +1 -1
- package/dist/esm/managed-hsm.js +11 -31
- package/dist/esm/managed-hsm.js.map +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/esm/types.d.ts +198 -8
- package/dist/esm/types.d.ts.map +1 -1
- package/dist/esm/types.js +15 -2
- package/dist/esm/types.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleted-managed-hsm.d.ts","sourceRoot":"","sources":["../../src/deleted-managed-hsm.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,QAAQ,EACR,KAAK,eAAe,EACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAIL,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,KAAK,2BAA2B,EAAoC,MAAM,YAAY,CAAC;AAIhG;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,QAAQ,CAAC,iDAAiD,CAAC;IAChG,MAAM,CAAC,YAAY,EAAG,iDAAiD,CAAU;IACjF,MAAM,CAAC,UAAU,SAAe;IAChC,SAAS,CAAC,MAAM,CAAC,WAAW,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"deleted-managed-hsm.d.ts","sourceRoot":"","sources":["../../src/deleted-managed-hsm.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,QAAQ,EACR,KAAK,eAAe,EACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAIL,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,KAAK,2BAA2B,EAAoC,MAAM,YAAY,CAAC;AAIhG;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,QAAQ,CAAC,iDAAiD,CAAC;IAChG,MAAM,CAAC,YAAY,EAAG,iDAAiD,CAAU;IACjF,MAAM,CAAC,UAAU,SAAe;IAChC,SAAS,CAAC,MAAM,CAAC,WAAW,EAAE,mBAAmB,CAO/C;IAgBF;;;;;OAKG;IACH,SAAS,CAAC,MAAM,CAAC,kBAAkB,CACjC,KAAK,CAAC,EAAE,qBAAqB,GAAG;QAAE,QAAQ,EAAE,IAAI,CAAA;KAAE,GACjD,aAAa,CAAC,iDAAiD,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;gBAS3F,OAAO,EAAE,qBAAqB,EAC9B,KAAK,EAAE,qBAAqB,GAAG;QAAE,QAAQ,EAAE,IAAI,CAAA;KAAE,EACjD,OAAO,CAAC,EAAE,eAAe;IAK3B;;OAEG;IACH,IAAI,IAAI,IAAI,UAAU,CAAC,MAAM,CAAC,CAE7B;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,iBAAiB,CAAC,MAAM,CAAC,EAExC;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,UAAU,CAAC,2BAA2B,CAAC,CAExD;CACF"}
|
|
@@ -29,15 +29,11 @@ class DeletedManagedHsm extends import_provisioning_core.Resource {
|
|
|
29
29
|
static apiVersion = API_VERSION;
|
|
30
30
|
static namingRules = {
|
|
31
31
|
abbreviation: "dmh",
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
validCharacters: {
|
|
35
|
-
uppercase: true,
|
|
36
|
-
hyphens: true,
|
|
37
|
-
underscores: false,
|
|
38
|
-
periods: false
|
|
32
|
+
pattern: {
|
|
33
|
+
regex: ""
|
|
39
34
|
},
|
|
40
|
-
|
|
35
|
+
nameSegments: 2,
|
|
36
|
+
scope: "parent"
|
|
41
37
|
};
|
|
42
38
|
static {
|
|
43
39
|
this.registerShape(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/deleted-managed-hsm.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n type ExistingResourceProps,\n type Expression,\n type ExpressionOrValue,\n type ProvisioningComponent,\n Resource,\n type ResourceOptions,\n} from \"@azure/provisioning-core\";\nimport {\n createDeferredShape,\n createFlatModelShape,\n createStringShape,\n type ResourceNamingRules,\n type ResourceProps,\n} from \"@azure/provisioning-core/internal\";\nimport { type DeletedManagedHsmProperties, deletedManagedHsmPropertiesShape } from \"./types.js\";\n\nconst API_VERSION = \"2026-02-01\";\n\n/**\n * Concrete proxy resource types can be created by aliasing this type using a specific property type.\n */\nexport class DeletedManagedHsm extends Resource<\"Microsoft.KeyVault/locations/deletedManagedHSMs\"> {\n static resourceType = \"Microsoft.KeyVault/locations/deletedManagedHSMs\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"dmh\",\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,+BAOO;AACP,sBAMO;AACP,mBAAmF;AAEnF,MAAM,cAAc;AAKb,MAAM,0BAA0B,kCAA4D;AAAA,EACjG,OAAO,eAAe;AAAA,EACtB,OAAO,aAAa;AAAA,EACpB,OAAiB,cAAmC;AAAA,IAClD,cAAc;AAAA,IACd,
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n type ExistingResourceProps,\n type Expression,\n type ExpressionOrValue,\n type ProvisioningComponent,\n Resource,\n type ResourceOptions,\n} from \"@azure/provisioning-core\";\nimport {\n createDeferredShape,\n createFlatModelShape,\n createStringShape,\n type ResourceNamingRules,\n type ResourceProps,\n} from \"@azure/provisioning-core/internal\";\nimport { type DeletedManagedHsmProperties, deletedManagedHsmPropertiesShape } from \"./types.js\";\n\nconst API_VERSION = \"2026-02-01\";\n\n/**\n * Concrete proxy resource types can be created by aliasing this type using a specific property type.\n */\nexport class DeletedManagedHsm extends Resource<\"Microsoft.KeyVault/locations/deletedManagedHSMs\"> {\n static resourceType = \"Microsoft.KeyVault/locations/deletedManagedHSMs\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"dmh\",\n pattern: {\n regex: \"\",\n },\n nameSegments: 2,\n scope: \"parent\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => deletedManagedHsmPropertiesShape),\n readOnly: true,\n },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: ExistingResourceProps & { existing: true },\n ): ResourceProps<\"Microsoft.KeyVault/locations/deletedManagedHSMs\"> & Record<string, unknown> {\n return {\n ...props,\n type: DeletedManagedHsm.resourceType,\n apiVersion: DeletedManagedHsm.apiVersion,\n };\n }\n\n constructor(\n context: ProvisioningComponent,\n props: ExistingResourceProps & { existing: true },\n options?: ResourceOptions,\n ) {\n super(context, DeletedManagedHsm.buildResourceProps(props), options);\n }\n\n /**\n * The name of the deleted managed HSM.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Properties of the deleted managed HSM\n */\n get properties(): Expression<DeletedManagedHsmProperties> {\n return this.expr(\"properties\") as any;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,+BAOO;AACP,sBAMO;AACP,mBAAmF;AAEnF,MAAM,cAAc;AAKb,MAAM,0BAA0B,kCAA4D;AAAA,EACjG,OAAO,eAAe;AAAA,EACtB,OAAO,aAAa;AAAA,EACpB,OAAiB,cAAmC;AAAA,IAClD,cAAc;AAAA,IACd,SAAS;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA,cAAc;AAAA,IACd,OAAO;AAAA,EACT;AAAA,EAEA,OAAO;AACL,SAAK;AAAA,UACH,sCAAqB;AAAA,QACnB,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,WAAO,mCAAkB,EAAE;AAAA,QACtD,YAAY;AAAA,UACV,SAAS,CAAC,YAAY;AAAA,UACtB,WAAO,qCAAoB,MAAM,6CAAgC;AAAA,UACjE,UAAU;AAAA,QACZ;AAAA,MACF,CAAC;AAAA,IACH;AACA,SAAK,SAAS;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,OAAiB,mBACf,OAC4F;AAC5F,WAAO;AAAA,MACL,GAAG;AAAA,MACH,MAAM,kBAAkB;AAAA,MACxB,YAAY,kBAAkB;AAAA,IAChC;AAAA,EACF;AAAA,EAEA,YACE,SACA,OACA,SACA;AACA,UAAM,SAAS,kBAAkB,mBAAmB,KAAK,GAAG,OAAO;AAAA,EACrE;AAAA;AAAA;AAAA;AAAA,EAKA,IAAI,OAA2B;AAC7B,WAAO,KAAK,KAAK,MAAM;AAAA,EACzB;AAAA,EACA,IAAI,KAAK,OAAkC;AACzC,SAAK,YAAY,QAAQ,KAAK;AAAA,EAChC;AAAA;AAAA;AAAA;AAAA,EAKA,IAAI,aAAsD;AACxD,WAAO,KAAK,KAAK,YAAY;AAAA,EAC/B;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleted-vault.d.ts","sourceRoot":"","sources":["../../src/deleted-vault.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,QAAQ,EACR,KAAK,eAAe,EACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAIL,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,KAAK,sBAAsB,EAA+B,MAAM,YAAY,CAAC;AAItF;;GAEG;AACH,qBAAa,YAAa,SAAQ,QAAQ,CAAC,4CAA4C,CAAC;IACtF,MAAM,CAAC,YAAY,EAAG,4CAA4C,CAAU;IAC5E,MAAM,CAAC,UAAU,SAAe;IAChC,SAAS,CAAC,MAAM,CAAC,WAAW,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"deleted-vault.d.ts","sourceRoot":"","sources":["../../src/deleted-vault.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,QAAQ,EACR,KAAK,eAAe,EACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAIL,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,KAAK,sBAAsB,EAA+B,MAAM,YAAY,CAAC;AAItF;;GAEG;AACH,qBAAa,YAAa,SAAQ,QAAQ,CAAC,4CAA4C,CAAC;IACtF,MAAM,CAAC,YAAY,EAAG,4CAA4C,CAAU;IAC5E,MAAM,CAAC,UAAU,SAAe;IAChC,SAAS,CAAC,MAAM,CAAC,WAAW,EAAE,mBAAmB,CAO/C;IAgBF;;;;;OAKG;IACH,SAAS,CAAC,MAAM,CAAC,kBAAkB,CACjC,KAAK,CAAC,EAAE,qBAAqB,GAAG;QAAE,QAAQ,EAAE,IAAI,CAAA;KAAE,GACjD,aAAa,CAAC,4CAA4C,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;gBAStF,OAAO,EAAE,qBAAqB,EAC9B,KAAK,EAAE,qBAAqB,GAAG;QAAE,QAAQ,EAAE,IAAI,CAAA;KAAE,EACjD,OAAO,CAAC,EAAE,eAAe;IAK3B;;OAEG;IACH,IAAI,IAAI,IAAI,UAAU,CAAC,MAAM,CAAC,CAE7B;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,iBAAiB,CAAC,MAAM,CAAC,EAExC;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,UAAU,CAAC,sBAAsB,CAAC,CAEnD;CACF"}
|
|
@@ -29,15 +29,11 @@ class DeletedVault extends import_provisioning_core.Resource {
|
|
|
29
29
|
static apiVersion = API_VERSION;
|
|
30
30
|
static namingRules = {
|
|
31
31
|
abbreviation: "dv",
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
validCharacters: {
|
|
35
|
-
uppercase: true,
|
|
36
|
-
hyphens: true,
|
|
37
|
-
underscores: false,
|
|
38
|
-
periods: false
|
|
32
|
+
pattern: {
|
|
33
|
+
regex: ""
|
|
39
34
|
},
|
|
40
|
-
|
|
35
|
+
nameSegments: 2,
|
|
36
|
+
scope: "parent"
|
|
41
37
|
};
|
|
42
38
|
static {
|
|
43
39
|
this.registerShape(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/deleted-vault.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n type ExistingResourceProps,\n type Expression,\n type ExpressionOrValue,\n type ProvisioningComponent,\n Resource,\n type ResourceOptions,\n} from \"@azure/provisioning-core\";\nimport {\n createDeferredShape,\n createFlatModelShape,\n createStringShape,\n type ResourceNamingRules,\n type ResourceProps,\n} from \"@azure/provisioning-core/internal\";\nimport { type DeletedVaultProperties, deletedVaultPropertiesShape } from \"./types.js\";\n\nconst API_VERSION = \"2026-02-01\";\n\n/**\n * Deleted vault information with extended details.\n */\nexport class DeletedVault extends Resource<\"Microsoft.KeyVault/locations/deletedVaults\"> {\n static resourceType = \"Microsoft.KeyVault/locations/deletedVaults\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"dv\",\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,+BAOO;AACP,sBAMO;AACP,mBAAyE;AAEzE,MAAM,cAAc;AAKb,MAAM,qBAAqB,kCAAuD;AAAA,EACvF,OAAO,eAAe;AAAA,EACtB,OAAO,aAAa;AAAA,EACpB,OAAiB,cAAmC;AAAA,IAClD,cAAc;AAAA,IACd,
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n type ExistingResourceProps,\n type Expression,\n type ExpressionOrValue,\n type ProvisioningComponent,\n Resource,\n type ResourceOptions,\n} from \"@azure/provisioning-core\";\nimport {\n createDeferredShape,\n createFlatModelShape,\n createStringShape,\n type ResourceNamingRules,\n type ResourceProps,\n} from \"@azure/provisioning-core/internal\";\nimport { type DeletedVaultProperties, deletedVaultPropertiesShape } from \"./types.js\";\n\nconst API_VERSION = \"2026-02-01\";\n\n/**\n * Deleted vault information with extended details.\n */\nexport class DeletedVault extends Resource<\"Microsoft.KeyVault/locations/deletedVaults\"> {\n static resourceType = \"Microsoft.KeyVault/locations/deletedVaults\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"dv\",\n pattern: {\n regex: \"\",\n },\n nameSegments: 2,\n scope: \"parent\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => deletedVaultPropertiesShape),\n readOnly: true,\n },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: ExistingResourceProps & { existing: true },\n ): ResourceProps<\"Microsoft.KeyVault/locations/deletedVaults\"> & Record<string, unknown> {\n return {\n ...props,\n type: DeletedVault.resourceType,\n apiVersion: DeletedVault.apiVersion,\n };\n }\n\n constructor(\n context: ProvisioningComponent,\n props: ExistingResourceProps & { existing: true },\n options?: ResourceOptions,\n ) {\n super(context, DeletedVault.buildResourceProps(props), options);\n }\n\n /**\n * The name of the vault.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Properties of the vault\n */\n get properties(): Expression<DeletedVaultProperties> {\n return this.expr(\"properties\") as any;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,+BAOO;AACP,sBAMO;AACP,mBAAyE;AAEzE,MAAM,cAAc;AAKb,MAAM,qBAAqB,kCAAuD;AAAA,EACvF,OAAO,eAAe;AAAA,EACtB,OAAO,aAAa;AAAA,EACpB,OAAiB,cAAmC;AAAA,IAClD,cAAc;AAAA,IACd,SAAS;AAAA,MACP,OAAO;AAAA,IACT;AAAA,IACA,cAAc;AAAA,IACd,OAAO;AAAA,EACT;AAAA,EAEA,OAAO;AACL,SAAK;AAAA,UACH,sCAAqB;AAAA,QACnB,MAAM,EAAE,SAAS,CAAC,MAAM,GAAG,WAAO,mCAAkB,EAAE;AAAA,QACtD,YAAY;AAAA,UACV,SAAS,CAAC,YAAY;AAAA,UACtB,WAAO,qCAAoB,MAAM,wCAA2B;AAAA,UAC5D,UAAU;AAAA,QACZ;AAAA,MACF,CAAC;AAAA,IACH;AACA,SAAK,SAAS;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,OAAiB,mBACf,OACuF;AACvF,WAAO;AAAA,MACL,GAAG;AAAA,MACH,MAAM,aAAa;AAAA,MACnB,YAAY,aAAa;AAAA,IAC3B;AAAA,EACF;AAAA,EAEA,YACE,SACA,OACA,SACA;AACA,UAAM,SAAS,aAAa,mBAAmB,KAAK,GAAG,OAAO;AAAA,EAChE;AAAA;AAAA;AAAA;AAAA,EAKA,IAAI,OAA2B;AAC7B,WAAO,KAAK,KAAK,MAAM;AAAA,EACzB;AAAA,EACA,IAAI,KAAK,OAAkC;AACzC,SAAK,YAAY,QAAQ,KAAK;AAAA,EAChC;AAAA;AAAA;AAAA;AAAA,EAKA,IAAI,aAAiD;AACnD,WAAO,KAAK,KAAK,YAAY;AAAA,EAC/B;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ExistingResourceProps, type Expression, type ExpressionOrValue, type ProvisioningComponent, Resource, type ResourceOptions } from "@azure/provisioning-core";
|
|
2
2
|
import { type InputRecord, type ResourceNamingRules, type ResourceProps } from "@azure/provisioning-core/internal";
|
|
3
|
-
import { type KeyProperties, type KeyPropertiesInput, type KeyPropertiesView, type PrivateEndpointConnectionPropertiesInput, type PrivateEndpointConnectionPropertiesView, type SecretPropertiesInput, type SecretPropertiesView, type VaultAccessPolicyPropertiesInput, type VaultAccessPolicyPropertiesView, type VaultPropertiesInput, type VaultPropertiesView } from "./types.js";
|
|
3
|
+
import { type AccessPolicyUpdateKind, type KeyProperties, type KeyPropertiesInput, type KeyPropertiesView, type PrivateEndpointConnectionPropertiesInput, type PrivateEndpointConnectionPropertiesView, type SecretPropertiesInput, type SecretPropertiesView, type VaultAccessPolicyPropertiesInput, type VaultAccessPolicyPropertiesView, type VaultPropertiesInput, type VaultPropertiesView } from "./types.js";
|
|
4
4
|
export interface KeyVaultProps {
|
|
5
5
|
/**
|
|
6
6
|
* The supported Azure location where the key vault should be created.
|
|
@@ -23,7 +23,7 @@ export interface AccessPolicyProps {
|
|
|
23
23
|
/**
|
|
24
24
|
* The resource name of the access policy.
|
|
25
25
|
*/
|
|
26
|
-
name
|
|
26
|
+
name: ExpressionOrValue<AccessPolicyUpdateKind>;
|
|
27
27
|
/**
|
|
28
28
|
* Properties of the access policy
|
|
29
29
|
*/
|
|
@@ -44,12 +44,12 @@ export declare class AccessPolicy extends Resource<"Microsoft.KeyVault/vaults/ac
|
|
|
44
44
|
*/
|
|
45
45
|
protected static buildResourceProps(props?: (AccessPolicyProps & {
|
|
46
46
|
existing?: false;
|
|
47
|
-
}) | (ExistingResourceProps & {
|
|
47
|
+
}) | (ExistingResourceProps<AccessPolicyUpdateKind> & {
|
|
48
48
|
existing: true;
|
|
49
49
|
})): ResourceProps<"Microsoft.KeyVault/vaults/accessPolicies"> & Record<string, unknown>;
|
|
50
50
|
constructor(context: KeyVault, props: (AccessPolicyProps & {
|
|
51
51
|
existing?: false;
|
|
52
|
-
}) | (ExistingResourceProps & {
|
|
52
|
+
}) | (ExistingResourceProps<AccessPolicyUpdateKind> & {
|
|
53
53
|
existing: true;
|
|
54
54
|
}), options?: ResourceOptions);
|
|
55
55
|
/**
|
|
@@ -59,8 +59,8 @@ export declare class AccessPolicy extends Resource<"Microsoft.KeyVault/vaults/ac
|
|
|
59
59
|
/**
|
|
60
60
|
* The resource name of the access policy.
|
|
61
61
|
*/
|
|
62
|
-
get name(): Expression<
|
|
63
|
-
set name(value: ExpressionOrValue<
|
|
62
|
+
get name(): Expression<AccessPolicyUpdateKind>;
|
|
63
|
+
set name(value: ExpressionOrValue<AccessPolicyUpdateKind>);
|
|
64
64
|
/**
|
|
65
65
|
* Properties of the access policy
|
|
66
66
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key-vault.d.ts","sourceRoot":"","sources":["../../src/key-vault.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,QAAQ,EACR,KAAK,eAAe,EACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,
|
|
1
|
+
{"version":3,"file":"key-vault.d.ts","sourceRoot":"","sources":["../../src/key-vault.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,QAAQ,EACR,KAAK,eAAe,EACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAML,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAClB,KAAK,kBAAkB,EAEvB,KAAK,iBAAiB,EACtB,KAAK,wCAAwC,EAE7C,KAAK,uCAAuC,EAC5C,KAAK,qBAAqB,EAE1B,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EAErC,KAAK,+BAA+B,EACpC,KAAK,oBAAoB,EAEzB,KAAK,mBAAmB,EACzB,MAAM,YAAY,CAAC;AAIpB,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,UAAU,EAAE,oBAAoB,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;CACnF;AAED,MAAM,WAAW,i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AAC,qBAAqB,GAAG;QAAE,QAAQ,EAAE,IAAI,CAAA;KAAE,CAAC,EAC5F,OAAO,CAAC,EAAE,eAAe;IAK3B;;OAEG;IACH,IAAI,QAAQ,IAAI,UAAU,CAAC,MAAM,CAAC,CAEjC;IACD,IAAI,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAC,MAAM,CAAC,EAE5C;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,UAAU,CAAC,MAAM,CAAC,CAE7B;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,iBAAiB,CAAC,MAAM,CAAC,EAExC;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,mBAAmB,CAEpC;IACD,IAAI,UAAU,CAAC,KAAK,EAAE,oBAAoB,EAEzC;IAED;;OAEG;IACH,IAAI,IAAI,IAAI,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAEzE;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,EAEzF;CACF"}
|
|
@@ -34,21 +34,13 @@ class AccessPolicy extends import_provisioning_core.Resource {
|
|
|
34
34
|
static apiVersion = API_VERSION;
|
|
35
35
|
static namingRules = {
|
|
36
36
|
abbreviation: "ap",
|
|
37
|
-
|
|
38
|
-
maxLength: 24,
|
|
39
|
-
validCharacters: {
|
|
40
|
-
uppercase: true,
|
|
41
|
-
hyphens: true,
|
|
42
|
-
underscores: false,
|
|
43
|
-
periods: false
|
|
44
|
-
},
|
|
45
|
-
scope: "global"
|
|
37
|
+
scope: "parent"
|
|
46
38
|
};
|
|
47
39
|
static {
|
|
48
40
|
this.registerShape(
|
|
49
41
|
(0, import_internal.createFlatModelShape)({
|
|
50
42
|
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
51
|
-
name: { armPath: ["name"], value: (0, import_internal.
|
|
43
|
+
name: { armPath: ["name"], value: (0, import_internal.createEnumShape)() },
|
|
52
44
|
properties: {
|
|
53
45
|
armPath: ["properties"],
|
|
54
46
|
value: (0, import_internal.createDeferredShape)(() => import_types.vaultAccessPolicyPropertiesShape)
|
|
@@ -103,15 +95,10 @@ class Version extends import_provisioning_core.Resource {
|
|
|
103
95
|
static apiVersion = API_VERSION;
|
|
104
96
|
static namingRules = {
|
|
105
97
|
abbreviation: "v",
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
validCharacters: {
|
|
109
|
-
uppercase: true,
|
|
110
|
-
hyphens: false,
|
|
111
|
-
underscores: false,
|
|
112
|
-
periods: false
|
|
98
|
+
pattern: {
|
|
99
|
+
regex: "^[a-fA-F0-9]{32}$"
|
|
113
100
|
},
|
|
114
|
-
scope: "
|
|
101
|
+
scope: "parent"
|
|
115
102
|
};
|
|
116
103
|
static {
|
|
117
104
|
this.registerShape(
|
|
@@ -177,15 +164,10 @@ class VaultKey extends import_provisioning_core.Resource {
|
|
|
177
164
|
static apiVersion = API_VERSION;
|
|
178
165
|
static namingRules = {
|
|
179
166
|
abbreviation: "k",
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
validCharacters: {
|
|
183
|
-
uppercase: true,
|
|
184
|
-
hyphens: false,
|
|
185
|
-
underscores: false,
|
|
186
|
-
periods: false
|
|
167
|
+
pattern: {
|
|
168
|
+
regex: "^[a-zA-Z0-9-]{1,127}$"
|
|
187
169
|
},
|
|
188
|
-
scope: "
|
|
170
|
+
scope: "parent"
|
|
189
171
|
};
|
|
190
172
|
static {
|
|
191
173
|
this.registerShape(
|
|
@@ -256,15 +238,10 @@ class VaultPrivateEndpointConnection extends import_provisioning_core.Resource {
|
|
|
256
238
|
static apiVersion = API_VERSION;
|
|
257
239
|
static namingRules = {
|
|
258
240
|
abbreviation: "pec",
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
validCharacters: {
|
|
262
|
-
uppercase: true,
|
|
263
|
-
hyphens: true,
|
|
264
|
-
underscores: false,
|
|
265
|
-
periods: false
|
|
241
|
+
pattern: {
|
|
242
|
+
regex: ""
|
|
266
243
|
},
|
|
267
|
-
scope: "
|
|
244
|
+
scope: "parent"
|
|
268
245
|
};
|
|
269
246
|
static {
|
|
270
247
|
this.registerShape(
|
|
@@ -342,15 +319,10 @@ class Secret extends import_provisioning_core.Resource {
|
|
|
342
319
|
static apiVersion = API_VERSION;
|
|
343
320
|
static namingRules = {
|
|
344
321
|
abbreviation: "s",
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
validCharacters: {
|
|
348
|
-
uppercase: true,
|
|
349
|
-
hyphens: true,
|
|
350
|
-
underscores: false,
|
|
351
|
-
periods: false
|
|
322
|
+
pattern: {
|
|
323
|
+
regex: ""
|
|
352
324
|
},
|
|
353
|
-
scope: "
|
|
325
|
+
scope: "parent"
|
|
354
326
|
};
|
|
355
327
|
static {
|
|
356
328
|
this.registerShape(
|
|
@@ -421,13 +393,8 @@ class KeyVault extends import_provisioning_core.Resource {
|
|
|
421
393
|
static apiVersion = API_VERSION;
|
|
422
394
|
static namingRules = {
|
|
423
395
|
abbreviation: "kv",
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
validCharacters: {
|
|
427
|
-
uppercase: true,
|
|
428
|
-
hyphens: true,
|
|
429
|
-
underscores: false,
|
|
430
|
-
periods: false
|
|
396
|
+
pattern: {
|
|
397
|
+
regex: ""
|
|
431
398
|
},
|
|
432
399
|
scope: "global"
|
|
433
400
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/key-vault.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n type ExistingResourceProps,\n type Expression,\n type ExpressionOrValue,\n type ProvisioningComponent,\n Resource,\n type ResourceOptions,\n} from \"@azure/provisioning-core\";\nimport {\n createDeferredShape,\n createFlatModelShape,\n createRecordShape,\n createStringShape,\n type InputRecord,\n type ResourceNamingRules,\n type ResourceProps,\n} from \"@azure/provisioning-core/internal\";\nimport {\n type KeyProperties,\n type KeyPropertiesInput,\n keyPropertiesShape,\n type KeyPropertiesView,\n type PrivateEndpointConnectionPropertiesInput,\n privateEndpointConnectionPropertiesShape,\n type PrivateEndpointConnectionPropertiesView,\n type SecretPropertiesInput,\n secretPropertiesShape,\n type SecretPropertiesView,\n type VaultAccessPolicyPropertiesInput,\n vaultAccessPolicyPropertiesShape,\n type VaultAccessPolicyPropertiesView,\n type VaultPropertiesInput,\n vaultPropertiesShape,\n type VaultPropertiesView,\n} from \"./types.js\";\n\nconst API_VERSION = \"2026-02-01\";\n\nexport interface KeyVaultProps {\n /**\n * The supported Azure location where the key vault should be created.\n */\n location?: ExpressionOrValue<string> | undefined;\n /**\n * The name of the vault.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Properties of the vault\n */\n properties: VaultPropertiesInput;\n /**\n * The tags that will be assigned to the key vault.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\nexport interface AccessPolicyProps {\n /**\n * The resource name of the access policy.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Properties of the access policy\n */\n properties: VaultAccessPolicyPropertiesInput;\n}\n\n/**\n * Parameters for updating the access policy in a vault\n */\nexport class AccessPolicy extends Resource<\"Microsoft.KeyVault/vaults/accessPolicies\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/accessPolicies\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"ap\",\n minLength: 1,\n maxLength: 24,\n validCharacters: {\n uppercase: true,\n hyphens: true,\n underscores: false,\n periods: false,\n },\n scope: \"global\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => vaultAccessPolicyPropertiesShape),\n },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?:\n (AccessPolicyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults/accessPolicies\"> & Record<string, unknown> {\n return {\n ...props,\n type: AccessPolicy.resourceType,\n apiVersion: AccessPolicy.apiVersion,\n };\n }\n\n constructor(\n context: KeyVault,\n props:\n (AccessPolicyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, AccessPolicy.buildResourceProps(props), options);\n }\n\n /**\n * The resource type of the access policy.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * The resource name of the access policy.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Properties of the access policy\n */\n get properties(): VaultAccessPolicyPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: VaultAccessPolicyPropertiesInput) {\n this.setProperty(\"properties\", value);\n }\n}\n\nexport interface VaultKeyProps {\n /**\n * The name of the key to be retrieved.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * The properties of the key to be created.\n */\n properties: KeyPropertiesInput;\n /**\n * The tags that will be assigned to the key.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\n/**\n * The key resource.\n */\nexport class Version extends Resource<\"Microsoft.KeyVault/vaults/keys/versions\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/keys/versions\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"v\",\n minLength: 1,\n maxLength: 24,\n validCharacters: {\n uppercase: true,\n hyphens: false,\n underscores: false,\n periods: false,\n },\n scope: \"global\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => keyPropertiesShape),\n readOnly: true,\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()), readOnly: true },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: ExistingResourceProps & { existing: true },\n ): ResourceProps<\"Microsoft.KeyVault/vaults/keys/versions\"> & Record<string, unknown> {\n return {\n ...props,\n type: Version.resourceType,\n apiVersion: Version.apiVersion,\n };\n }\n\n constructor(\n context: VaultKey,\n props: ExistingResourceProps & { existing: true },\n options?: ResourceOptions,\n ) {\n super(context, Version.buildResourceProps(props), options);\n }\n\n /**\n * The supported Azure location where the managed HSM Pool should be created.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * The name of the key to be retrieved.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * The properties of the key.\n */\n get properties(): Expression<KeyProperties> {\n return this.expr(\"properties\") as any;\n }\n\n /**\n * Resource tags\n */\n get tags(): Expression<Record<string, string>> {\n return this.expr(\"tags\");\n }\n}\n\n/**\n * The key resource.\n */\nexport class VaultKey extends Resource<\"Microsoft.KeyVault/vaults/keys\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/keys\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"k\",\n minLength: 1,\n maxLength: 24,\n validCharacters: {\n uppercase: true,\n hyphens: false,\n underscores: false,\n periods: false,\n },\n scope: \"global\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => keyPropertiesShape),\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()) },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: (VaultKeyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults/keys\"> & Record<string, unknown> {\n return {\n ...props,\n type: VaultKey.resourceType,\n apiVersion: VaultKey.apiVersion,\n };\n }\n\n constructor(\n context: KeyVault,\n props: (VaultKeyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, VaultKey.buildResourceProps(props), options);\n }\n\n /**\n * The supported Azure location where the managed HSM Pool should be created.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * The name of the key to be retrieved.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * The properties of the key to be created.\n */\n get properties(): KeyPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: KeyPropertiesInput) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * The tags that will be assigned to the key.\n */\n get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>> {\n return this.expr(\"tags\");\n }\n set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined) {\n this.setProperty(\"tags\", value);\n }\n}\n\nexport interface VaultPrivateEndpointConnectionProps {\n /**\n * Modified whenever there is a change in the state of private endpoint connection.\n */\n etag?: ExpressionOrValue<string> | undefined;\n /**\n * Name of the private endpoint connection associated with the key vault.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Resource properties.\n */\n properties?: PrivateEndpointConnectionPropertiesInput | undefined;\n}\n\n/**\n * Private endpoint connection resource.\n */\nexport class VaultPrivateEndpointConnection extends Resource<\"Microsoft.KeyVault/vaults/privateEndpointConnections\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/privateEndpointConnections\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"pec\",\n minLength: 1,\n maxLength: 24,\n validCharacters: {\n uppercase: true,\n hyphens: true,\n underscores: false,\n periods: false,\n },\n scope: \"global\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n etag: { armPath: [\"etag\"], value: createStringShape() },\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => privateEndpointConnectionPropertiesShape),\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()), readOnly: true },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?:\n | (VaultPrivateEndpointConnectionProps & { existing?: false })\n | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults/privateEndpointConnections\"> &\n Record<string, unknown> {\n return {\n ...props,\n type: VaultPrivateEndpointConnection.resourceType,\n apiVersion: VaultPrivateEndpointConnection.apiVersion,\n };\n }\n\n constructor(\n context: KeyVault,\n props?:\n | (VaultPrivateEndpointConnectionProps & { existing?: false })\n | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, VaultPrivateEndpointConnection.buildResourceProps(props), options);\n }\n\n /**\n * Modified whenever there is a change in the state of private endpoint connection.\n */\n get etag(): Expression<string> {\n return this.expr(\"etag\");\n }\n set etag(value: ExpressionOrValue<string> | undefined) {\n this.setProperty(\"etag\", value);\n }\n\n /**\n * Azure location of the key vault resource.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * Name of the private endpoint connection associated with the key vault.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Resource properties.\n */\n get properties(): PrivateEndpointConnectionPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: PrivateEndpointConnectionPropertiesInput | undefined) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * Tags assigned to the key vault resource.\n */\n get tags(): Expression<Record<string, string>> {\n return this.expr(\"tags\");\n }\n}\n\nexport interface SecretProps {\n /**\n * The name of the secret.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Properties of the secret\n */\n properties: SecretPropertiesInput;\n /**\n * The tags that will be assigned to the secret.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\n/**\n * Resource information with extended details.\n */\nexport class Secret extends Resource<\"Microsoft.KeyVault/vaults/secrets\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/secrets\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"s\",\n minLength: 1,\n maxLength: 24,\n validCharacters: {\n uppercase: true,\n hyphens: true,\n underscores: false,\n periods: false,\n },\n scope: \"global\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => secretPropertiesShape),\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()) },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: (SecretProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults/secrets\"> & Record<string, unknown> {\n return {\n ...props,\n type: Secret.resourceType,\n apiVersion: Secret.apiVersion,\n };\n }\n\n constructor(\n context: KeyVault,\n props: (SecretProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, Secret.buildResourceProps(props), options);\n }\n\n /**\n * Azure location of the key vault resource.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * The name of the secret.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Properties of the secret\n */\n get properties(): SecretPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: SecretPropertiesInput) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * The tags that will be assigned to the secret.\n */\n get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>> {\n return this.expr(\"tags\");\n }\n set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined) {\n this.setProperty(\"tags\", value);\n }\n}\n\n/**\n * Resource information with extended details.\n */\nexport class KeyVault extends Resource<\"Microsoft.KeyVault/vaults\"> {\n static resourceType = \"Microsoft.KeyVault/vaults\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"kv\",\n minLength: 3,\n maxLength: 24,\n validCharacters: {\n uppercase: true,\n hyphens: true,\n underscores: false,\n periods: false,\n },\n scope: \"global\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape() },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => vaultPropertiesShape),\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()) },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: (KeyVaultProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults\"> & Record<string, unknown> {\n return {\n ...props,\n type: KeyVault.resourceType,\n apiVersion: KeyVault.apiVersion,\n };\n }\n\n constructor(\n context: ProvisioningComponent,\n props: (KeyVaultProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, KeyVault.buildResourceProps(props), options);\n }\n\n /**\n * The supported Azure location where the key vault should be created.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n set location(value: ExpressionOrValue<string>) {\n this.setProperty(\"location\", value);\n }\n\n /**\n * The name of the vault.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Properties of the vault\n */\n get properties(): VaultPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: VaultPropertiesInput) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * The tags that will be assigned to the key vault.\n */\n get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>> {\n return this.expr(\"tags\");\n }\n set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined) {\n this.setProperty(\"tags\", value);\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,+BAOO;AACP,
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n type ExistingResourceProps,\n type Expression,\n type ExpressionOrValue,\n type ProvisioningComponent,\n Resource,\n type ResourceOptions,\n} from \"@azure/provisioning-core\";\nimport {\n createDeferredShape,\n createEnumShape,\n createFlatModelShape,\n createRecordShape,\n createStringShape,\n type InputRecord,\n type ResourceNamingRules,\n type ResourceProps,\n} from \"@azure/provisioning-core/internal\";\nimport {\n type AccessPolicyUpdateKind,\n type KeyProperties,\n type KeyPropertiesInput,\n keyPropertiesShape,\n type KeyPropertiesView,\n type PrivateEndpointConnectionPropertiesInput,\n privateEndpointConnectionPropertiesShape,\n type PrivateEndpointConnectionPropertiesView,\n type SecretPropertiesInput,\n secretPropertiesShape,\n type SecretPropertiesView,\n type VaultAccessPolicyPropertiesInput,\n vaultAccessPolicyPropertiesShape,\n type VaultAccessPolicyPropertiesView,\n type VaultPropertiesInput,\n vaultPropertiesShape,\n type VaultPropertiesView,\n} from \"./types.js\";\n\nconst API_VERSION = \"2026-02-01\";\n\nexport interface KeyVaultProps {\n /**\n * The supported Azure location where the key vault should be created.\n */\n location?: ExpressionOrValue<string> | undefined;\n /**\n * The name of the vault.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Properties of the vault\n */\n properties: VaultPropertiesInput;\n /**\n * The tags that will be assigned to the key vault.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\nexport interface AccessPolicyProps {\n /**\n * The resource name of the access policy.\n */\n name: ExpressionOrValue<AccessPolicyUpdateKind>;\n /**\n * Properties of the access policy\n */\n properties: VaultAccessPolicyPropertiesInput;\n}\n\n/**\n * Parameters for updating the access policy in a vault\n */\nexport class AccessPolicy extends Resource<\"Microsoft.KeyVault/vaults/accessPolicies\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/accessPolicies\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"ap\",\n scope: \"parent\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createEnumShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => vaultAccessPolicyPropertiesShape),\n },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?:\n | (AccessPolicyProps & { existing?: false })\n | (ExistingResourceProps<AccessPolicyUpdateKind> & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults/accessPolicies\"> & Record<string, unknown> {\n return {\n ...props,\n type: AccessPolicy.resourceType,\n apiVersion: AccessPolicy.apiVersion,\n };\n }\n\n constructor(\n context: KeyVault,\n props:\n | (AccessPolicyProps & { existing?: false })\n | (ExistingResourceProps<AccessPolicyUpdateKind> & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, AccessPolicy.buildResourceProps(props), options);\n }\n\n /**\n * The resource type of the access policy.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * The resource name of the access policy.\n */\n get name(): Expression<AccessPolicyUpdateKind> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<AccessPolicyUpdateKind>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Properties of the access policy\n */\n get properties(): VaultAccessPolicyPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: VaultAccessPolicyPropertiesInput) {\n this.setProperty(\"properties\", value);\n }\n}\n\nexport interface VaultKeyProps {\n /**\n * The name of the key to be retrieved.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * The properties of the key to be created.\n */\n properties: KeyPropertiesInput;\n /**\n * The tags that will be assigned to the key.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\n/**\n * The key resource.\n */\nexport class Version extends Resource<\"Microsoft.KeyVault/vaults/keys/versions\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/keys/versions\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"v\",\n pattern: {\n regex: \"^[a-fA-F0-9]{32}$\",\n },\n scope: \"parent\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => keyPropertiesShape),\n readOnly: true,\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()), readOnly: true },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: ExistingResourceProps & { existing: true },\n ): ResourceProps<\"Microsoft.KeyVault/vaults/keys/versions\"> & Record<string, unknown> {\n return {\n ...props,\n type: Version.resourceType,\n apiVersion: Version.apiVersion,\n };\n }\n\n constructor(\n context: VaultKey,\n props: ExistingResourceProps & { existing: true },\n options?: ResourceOptions,\n ) {\n super(context, Version.buildResourceProps(props), options);\n }\n\n /**\n * The supported Azure location where the managed HSM Pool should be created.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * The name of the key to be retrieved.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * The properties of the key.\n */\n get properties(): Expression<KeyProperties> {\n return this.expr(\"properties\") as any;\n }\n\n /**\n * Resource tags\n */\n get tags(): Expression<Record<string, string>> {\n return this.expr(\"tags\");\n }\n}\n\n/**\n * The key resource.\n */\nexport class VaultKey extends Resource<\"Microsoft.KeyVault/vaults/keys\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/keys\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"k\",\n pattern: {\n regex: \"^[a-zA-Z0-9-]{1,127}$\",\n },\n scope: \"parent\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => keyPropertiesShape),\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()) },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: (VaultKeyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults/keys\"> & Record<string, unknown> {\n return {\n ...props,\n type: VaultKey.resourceType,\n apiVersion: VaultKey.apiVersion,\n };\n }\n\n constructor(\n context: KeyVault,\n props: (VaultKeyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, VaultKey.buildResourceProps(props), options);\n }\n\n /**\n * The supported Azure location where the managed HSM Pool should be created.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * The name of the key to be retrieved.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * The properties of the key to be created.\n */\n get properties(): KeyPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: KeyPropertiesInput) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * The tags that will be assigned to the key.\n */\n get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>> {\n return this.expr(\"tags\");\n }\n set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined) {\n this.setProperty(\"tags\", value);\n }\n}\n\nexport interface VaultPrivateEndpointConnectionProps {\n /**\n * Modified whenever there is a change in the state of private endpoint connection.\n */\n etag?: ExpressionOrValue<string> | undefined;\n /**\n * Name of the private endpoint connection associated with the key vault.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Resource properties.\n */\n properties?: PrivateEndpointConnectionPropertiesInput | undefined;\n}\n\n/**\n * Private endpoint connection resource.\n */\nexport class VaultPrivateEndpointConnection extends Resource<\"Microsoft.KeyVault/vaults/privateEndpointConnections\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/privateEndpointConnections\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"pec\",\n pattern: {\n regex: \"\",\n },\n scope: \"parent\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n etag: { armPath: [\"etag\"], value: createStringShape() },\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => privateEndpointConnectionPropertiesShape),\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()), readOnly: true },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?:\n | (VaultPrivateEndpointConnectionProps & { existing?: false })\n | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults/privateEndpointConnections\"> &\n Record<string, unknown> {\n return {\n ...props,\n type: VaultPrivateEndpointConnection.resourceType,\n apiVersion: VaultPrivateEndpointConnection.apiVersion,\n };\n }\n\n constructor(\n context: KeyVault,\n props?:\n | (VaultPrivateEndpointConnectionProps & { existing?: false })\n | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, VaultPrivateEndpointConnection.buildResourceProps(props), options);\n }\n\n /**\n * Modified whenever there is a change in the state of private endpoint connection.\n */\n get etag(): Expression<string> {\n return this.expr(\"etag\");\n }\n set etag(value: ExpressionOrValue<string> | undefined) {\n this.setProperty(\"etag\", value);\n }\n\n /**\n * Azure location of the key vault resource.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * Name of the private endpoint connection associated with the key vault.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Resource properties.\n */\n get properties(): PrivateEndpointConnectionPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: PrivateEndpointConnectionPropertiesInput | undefined) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * Tags assigned to the key vault resource.\n */\n get tags(): Expression<Record<string, string>> {\n return this.expr(\"tags\");\n }\n}\n\nexport interface SecretProps {\n /**\n * The name of the secret.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Properties of the secret\n */\n properties: SecretPropertiesInput;\n /**\n * The tags that will be assigned to the secret.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\n/**\n * Resource information with extended details.\n */\nexport class Secret extends Resource<\"Microsoft.KeyVault/vaults/secrets\"> {\n static resourceType = \"Microsoft.KeyVault/vaults/secrets\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"s\",\n pattern: {\n regex: \"\",\n },\n scope: \"parent\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape(), readOnly: true },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => secretPropertiesShape),\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()) },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: (SecretProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults/secrets\"> & Record<string, unknown> {\n return {\n ...props,\n type: Secret.resourceType,\n apiVersion: Secret.apiVersion,\n };\n }\n\n constructor(\n context: KeyVault,\n props: (SecretProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, Secret.buildResourceProps(props), options);\n }\n\n /**\n * Azure location of the key vault resource.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n\n /**\n * The name of the secret.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Properties of the secret\n */\n get properties(): SecretPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: SecretPropertiesInput) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * The tags that will be assigned to the secret.\n */\n get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>> {\n return this.expr(\"tags\");\n }\n set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined) {\n this.setProperty(\"tags\", value);\n }\n}\n\n/**\n * Resource information with extended details.\n */\nexport class KeyVault extends Resource<\"Microsoft.KeyVault/vaults\"> {\n static resourceType = \"Microsoft.KeyVault/vaults\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"kv\",\n pattern: {\n regex: \"\",\n },\n scope: \"global\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n location: { armPath: [\"location\"], value: createStringShape() },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => vaultPropertiesShape),\n },\n tags: { armPath: [\"tags\"], value: createRecordShape(createStringShape()) },\n }),\n );\n this.register();\n }\n\n /**\n * Assemble the base `Resource` constructor payload. Preserve supplied properties while applying\n * resource metadata. Shared by ordinary construction and internal resource reconstruction.\n *\n * @param props - Resource properties to normalize for the base constructor.\n */\n protected static buildResourceProps(\n props?: (KeyVaultProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/vaults\"> & Record<string, unknown> {\n return {\n ...props,\n type: KeyVault.resourceType,\n apiVersion: KeyVault.apiVersion,\n };\n }\n\n constructor(\n context: ProvisioningComponent,\n props: (KeyVaultProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, KeyVault.buildResourceProps(props), options);\n }\n\n /**\n * The supported Azure location where the key vault should be created.\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n set location(value: ExpressionOrValue<string>) {\n this.setProperty(\"location\", value);\n }\n\n /**\n * The name of the vault.\n */\n get name(): Expression<string> {\n return this.expr(\"name\");\n }\n set name(value: ExpressionOrValue<string>) {\n this.setProperty(\"name\", value);\n }\n\n /**\n * Properties of the vault\n */\n get properties(): VaultPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: VaultPropertiesInput) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * The tags that will be assigned to the key vault.\n */\n get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>> {\n return this.expr(\"tags\");\n }\n set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined) {\n this.setProperty(\"tags\", value);\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,+BAOO;AACP,sBASO;AACP,mBAkBO;AAEP,MAAM,cAAc;AAmCb,MAAM,qBAAqB,kCAAqD;AAAA,EACrF,OAAO,eAAe;AAAA,EACtB,OAAO,aAAa;AAAA,EACpB,OAAiB,cAAmC;AAAA,IAClD,cAAc;AAAA,IACd,OAAO;AAAA,EACT;AAAA,EAEA,OAAO;AACL,SAAK;AAAA,UACH,sCAAqB;AAAA,QACnB,UAAU,EAAE,SAAS,CAAC,UAAU,GAAG,WAAO,mCAAkB,GAAG,UAAU,KAAK;AAAA,QAC9E,MAAM,EAAE,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MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAEzE;IACD,IAAI,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,EAEzF;CACF"}
|
|
@@ -32,15 +32,10 @@ class KeyVaultManagedHsmKey extends import_provisioning_core.Resource {
|
|
|
32
32
|
static apiVersion = API_VERSION;
|
|
33
33
|
static namingRules = {
|
|
34
34
|
abbreviation: "v",
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
validCharacters: {
|
|
38
|
-
uppercase: true,
|
|
39
|
-
hyphens: false,
|
|
40
|
-
underscores: false,
|
|
41
|
-
periods: false
|
|
35
|
+
pattern: {
|
|
36
|
+
regex: "^[a-fA-F0-9]{32}$"
|
|
42
37
|
},
|
|
43
|
-
scope: "
|
|
38
|
+
scope: "parent"
|
|
44
39
|
};
|
|
45
40
|
static {
|
|
46
41
|
this.registerShape(
|
|
@@ -101,15 +96,10 @@ class ManagedHsmKey extends import_provisioning_core.Resource {
|
|
|
101
96
|
static apiVersion = API_VERSION;
|
|
102
97
|
static namingRules = {
|
|
103
98
|
abbreviation: "k",
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
validCharacters: {
|
|
107
|
-
uppercase: true,
|
|
108
|
-
hyphens: false,
|
|
109
|
-
underscores: false,
|
|
110
|
-
periods: false
|
|
99
|
+
pattern: {
|
|
100
|
+
regex: "^[a-zA-Z0-9-]{1,127}$"
|
|
111
101
|
},
|
|
112
|
-
scope: "
|
|
102
|
+
scope: "parent"
|
|
113
103
|
};
|
|
114
104
|
static {
|
|
115
105
|
this.registerShape(
|
|
@@ -175,15 +165,10 @@ class ManagedHsmPrivateEndpointConnection extends import_provisioning_core.Resou
|
|
|
175
165
|
static apiVersion = API_VERSION;
|
|
176
166
|
static namingRules = {
|
|
177
167
|
abbreviation: "pec",
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
validCharacters: {
|
|
181
|
-
uppercase: true,
|
|
182
|
-
hyphens: true,
|
|
183
|
-
underscores: false,
|
|
184
|
-
periods: false
|
|
168
|
+
pattern: {
|
|
169
|
+
regex: ""
|
|
185
170
|
},
|
|
186
|
-
scope: "
|
|
171
|
+
scope: "parent"
|
|
187
172
|
};
|
|
188
173
|
static {
|
|
189
174
|
this.registerShape(
|
|
@@ -290,13 +275,8 @@ class ManagedHsm extends import_provisioning_core.Resource {
|
|
|
290
275
|
static apiVersion = API_VERSION;
|
|
291
276
|
static namingRules = {
|
|
292
277
|
abbreviation: "mhsm",
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
validCharacters: {
|
|
296
|
-
uppercase: true,
|
|
297
|
-
hyphens: true,
|
|
298
|
-
underscores: false,
|
|
299
|
-
periods: false
|
|
278
|
+
pattern: {
|
|
279
|
+
regex: ""
|
|
300
280
|
},
|
|
301
281
|
scope: "global"
|
|
302
282
|
};
|