@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":"managed-hsm.d.ts","sourceRoot":"","sources":["../../src/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,EAKL,KAAK,WAAW,EAChB,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EAEjC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAE9B,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EAEvB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAEhC,KAAK,0BAA0B,EAC/B,KAAK,4CAA4C,EAEjD,KAAK,2CAA2C,EACjD,MAAM,YAAY,CAAC;AAIpB,MAAM,WAAW,eAA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
-
validCharacters: {
|
|
18
|
-
uppercase: true,
|
|
19
|
-
hyphens: false,
|
|
20
|
-
underscores: false,
|
|
21
|
-
periods: false,
|
|
15
|
+
pattern: {
|
|
16
|
+
regex: "^[a-fA-F0-9]{32}$",
|
|
22
17
|
},
|
|
23
|
-
scope: "
|
|
18
|
+
scope: "parent",
|
|
24
19
|
};
|
|
25
20
|
static {
|
|
26
21
|
this.registerShape(createFlatModelShape({
|
|
@@ -82,15 +77,10 @@ export class ManagedHsmKey extends Resource {
|
|
|
82
77
|
static apiVersion = API_VERSION;
|
|
83
78
|
static namingRules = {
|
|
84
79
|
abbreviation: "k",
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
validCharacters: {
|
|
88
|
-
uppercase: true,
|
|
89
|
-
hyphens: false,
|
|
90
|
-
underscores: false,
|
|
91
|
-
periods: false,
|
|
80
|
+
pattern: {
|
|
81
|
+
regex: "^[a-zA-Z0-9-]{1,127}$",
|
|
92
82
|
},
|
|
93
|
-
scope: "
|
|
83
|
+
scope: "parent",
|
|
94
84
|
};
|
|
95
85
|
static {
|
|
96
86
|
this.registerShape(createFlatModelShape({
|
|
@@ -157,15 +147,10 @@ export class ManagedHsmPrivateEndpointConnection extends Resource {
|
|
|
157
147
|
static apiVersion = API_VERSION;
|
|
158
148
|
static namingRules = {
|
|
159
149
|
abbreviation: "pec",
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
validCharacters: {
|
|
163
|
-
uppercase: true,
|
|
164
|
-
hyphens: true,
|
|
165
|
-
underscores: false,
|
|
166
|
-
periods: false,
|
|
150
|
+
pattern: {
|
|
151
|
+
regex: "",
|
|
167
152
|
},
|
|
168
|
-
scope: "
|
|
153
|
+
scope: "parent",
|
|
169
154
|
};
|
|
170
155
|
static {
|
|
171
156
|
this.registerShape(createFlatModelShape({
|
|
@@ -273,13 +258,8 @@ export class ManagedHsm extends Resource {
|
|
|
273
258
|
static apiVersion = API_VERSION;
|
|
274
259
|
static namingRules = {
|
|
275
260
|
abbreviation: "mhsm",
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
validCharacters: {
|
|
279
|
-
uppercase: true,
|
|
280
|
-
hyphens: true,
|
|
281
|
-
underscores: false,
|
|
282
|
-
periods: false,
|
|
261
|
+
pattern: {
|
|
262
|
+
regex: "",
|
|
283
263
|
},
|
|
284
264
|
scope: "global",
|
|
285
265
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-hsm.js","sourceRoot":"","sources":["../../src/managed-hsm.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAKL,QAAQ,GAET,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,GAIlB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAGL,4BAA4B,EAG5B,yBAAyB,EAGzB,kBAAkB,EAGlB,2BAA2B,EAG3B,4CAA4C,GAE7C,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,GAAG,YAAY,CAAC;AA4CjC;;GAEG;AACH,MAAM,OAAO,qBAAsB,SAAQ,QAAwD;IACjG,MAAM,CAAC,YAAY,GAAG,8CAAuD,CAAC;IAC9E,MAAM,CAAC,UAAU,GAAG,WAAW,CAAC;IACtB,MAAM,CAAC,WAAW,GAAwB;QAClD,YAAY,EAAE,GAAG;QACjB,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,EAAE;QACb,eAAe,EAAE;YACf,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,KAAK;YAClB,OAAO,EAAE,KAAK;SACf;QACD,KAAK,EAAE,QAAQ;KAChB,CAAC;IAEF;QACE,IAAI,CAAC,aAAa,CAChB,oBAAoB,CAAC;YACnB,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,iBAAiB,EAAE,EAAE;YACvD,UAAU,EAAE;gBACV,OAAO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port {\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 ManagedHsmKeyProperties,\n type ManagedHsmKeyPropertiesInput,\n managedHsmKeyPropertiesShape,\n type ManagedHsmKeyPropertiesView,\n type ManagedHsmPropertiesInput,\n managedHsmPropertiesShape,\n type ManagedHsmPropertiesView,\n type ManagedHsmSkuInput,\n managedHsmSkuShape,\n type ManagedHsmSkuView,\n type ManagedServiceIdentityInput,\n managedServiceIdentityShape,\n type ManagedServiceIdentityView,\n type MhsmPrivateEndpointConnectionPropertiesInput,\n mhsmPrivateEndpointConnectionPropertiesShape,\n type MhsmPrivateEndpointConnectionPropertiesView,\n} from \"./types.js\";\n\nconst API_VERSION = \"2026-02-01\";\n\nexport interface ManagedHsmProps {\n /**\n * Managed service identity\n */\n identity?: ManagedServiceIdentityInput | undefined;\n /**\n * The geo-location where the resource lives\n */\n location?: ExpressionOrValue<string> | undefined;\n /**\n * The name of the managed HSM Pool.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Properties of the managed HSM\n */\n properties?: ManagedHsmPropertiesInput | undefined;\n /**\n * SKU details\n */\n sku?: ManagedHsmSkuInput | undefined;\n /**\n * Resource tags.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\nexport interface ManagedHsmKeyProps {\n /**\n * The name of the key to be created. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * The properties of the key to be created.\n */\n properties: ManagedHsmKeyPropertiesInput;\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 KeyVaultManagedHsmKey extends Resource<\"Microsoft.KeyVault/managedHSMs/keys/versions\"> {\n static resourceType = \"Microsoft.KeyVault/managedHSMs/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 name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => managedHsmKeyPropertiesShape),\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/managedHSMs/keys/versions\"> & Record<string, unknown> {\n return {\n ...props,\n type: KeyVaultManagedHsmKey.resourceType,\n apiVersion: KeyVaultManagedHsmKey.apiVersion,\n };\n }\n\n constructor(\n context: ManagedHsmKey,\n props: ExistingResourceProps & { existing: true },\n options?: ResourceOptions,\n ) {\n super(context, KeyVaultManagedHsmKey.buildResourceProps(props), options);\n }\n\n /**\n * The name of the key to be created. The value you provide may be copied globally for the purpose\n * of running the service. The value provided should not include personally identifiable or\n * sensitive information.\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<ManagedHsmKeyProperties> {\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 ManagedHsmKey extends Resource<\"Microsoft.KeyVault/managedHSMs/keys\"> {\n static resourceType = \"Microsoft.KeyVault/managedHSMs/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 name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => managedHsmKeyPropertiesShape),\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?:\n (ManagedHsmKeyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/managedHSMs/keys\"> & Record<string, unknown> {\n return {\n ...props,\n type: ManagedHsmKey.resourceType,\n apiVersion: ManagedHsmKey.apiVersion,\n };\n }\n\n constructor(\n context: ManagedHsm,\n props:\n (ManagedHsmKeyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, ManagedHsmKey.buildResourceProps(props), options);\n }\n\n /**\n * The name of the key to be created. The value you provide may be copied globally for the purpose\n * of running the service. The value provided should not include personally identifiable or\n * sensitive information.\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(): ManagedHsmKeyPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: ManagedHsmKeyPropertiesInput) {\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 ManagedHsmPrivateEndpointConnectionProps {\n /**\n * Modified whenever there is a change in the state of private endpoint connection.\n */\n etag?: ExpressionOrValue<string> | undefined;\n /**\n * Managed service identity\n */\n identity?: ManagedServiceIdentityInput | undefined;\n /**\n * The geo-location where the resource lives\n */\n location?: ExpressionOrValue<string> | undefined;\n /**\n * Name of the private endpoint connection associated with the managed hsm pool.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Resource properties.\n */\n properties?: MhsmPrivateEndpointConnectionPropertiesInput | undefined;\n /**\n * SKU details\n */\n sku?: ManagedHsmSkuInput | undefined;\n /**\n * Resource tags.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\n/**\n * Private endpoint connection resource.\n */\nexport class ManagedHsmPrivateEndpointConnection extends Resource<\"Microsoft.KeyVault/managedHSMs/privateEndpointConnections\"> {\n static resourceType = \"Microsoft.KeyVault/managedHSMs/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 identity: {\n armPath: [\"identity\"],\n value: createDeferredShape(() => managedServiceIdentityShape),\n },\n location: { armPath: [\"location\"], value: createStringShape() },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => mhsmPrivateEndpointConnectionPropertiesShape),\n },\n sku: { armPath: [\"sku\"], value: createDeferredShape(() => managedHsmSkuShape) },\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?:\n | (ManagedHsmPrivateEndpointConnectionProps & { existing?: false })\n | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/managedHSMs/privateEndpointConnections\"> &\n Record<string, unknown> {\n return {\n ...props,\n type: ManagedHsmPrivateEndpointConnection.resourceType,\n apiVersion: ManagedHsmPrivateEndpointConnection.apiVersion,\n };\n }\n\n constructor(\n context: ManagedHsm,\n props?:\n | (ManagedHsmPrivateEndpointConnectionProps & { existing?: false })\n | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, ManagedHsmPrivateEndpointConnection.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 * Managed service identity\n */\n get identity(): ManagedServiceIdentityView {\n return this.expr(\"identity\") as any;\n }\n set identity(value: ManagedServiceIdentityInput | undefined) {\n this.setProperty(\"identity\", value);\n }\n\n /**\n * The geo-location where the resource lives\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n set location(value: ExpressionOrValue<string> | undefined) {\n this.setProperty(\"location\", value);\n }\n\n /**\n * Name of the private endpoint connection associated with the managed hsm pool.\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(): MhsmPrivateEndpointConnectionPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: MhsmPrivateEndpointConnectionPropertiesInput | undefined) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * SKU details\n */\n get sku(): ManagedHsmSkuView {\n return this.expr(\"sku\") as any;\n }\n set sku(value: ManagedHsmSkuInput | undefined) {\n this.setProperty(\"sku\", value);\n }\n\n /**\n * Resource tags.\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 ManagedHsm extends Resource<\"Microsoft.KeyVault/managedHSMs\"> {\n static resourceType = \"Microsoft.KeyVault/managedHSMs\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"mhsm\",\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 identity: {\n armPath: [\"identity\"],\n value: createDeferredShape(() => managedServiceIdentityShape),\n },\n location: { armPath: [\"location\"], value: createStringShape() },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => managedHsmPropertiesShape),\n },\n sku: { armPath: [\"sku\"], value: createDeferredShape(() => managedHsmSkuShape) },\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?: (ManagedHsmProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/managedHSMs\"> & Record<string, unknown> {\n return {\n ...props,\n type: ManagedHsm.resourceType,\n apiVersion: ManagedHsm.apiVersion,\n };\n }\n\n constructor(\n context: ProvisioningComponent,\n props?: (ManagedHsmProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, ManagedHsm.buildResourceProps(props), options);\n }\n\n /**\n * Managed service identity\n */\n get identity(): ManagedServiceIdentityView {\n return this.expr(\"identity\") as any;\n }\n set identity(value: ManagedServiceIdentityInput | undefined) {\n this.setProperty(\"identity\", value);\n }\n\n /**\n * The geo-location where the resource lives\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n set location(value: ExpressionOrValue<string> | undefined) {\n this.setProperty(\"location\", value);\n }\n\n /**\n * The name of the managed HSM Pool.\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 managed HSM\n */\n get properties(): ManagedHsmPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: ManagedHsmPropertiesInput | undefined) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * SKU details\n */\n get sku(): ManagedHsmSkuView {\n return this.expr(\"sku\") as any;\n }\n set sku(value: ManagedHsmSkuInput | undefined) {\n this.setProperty(\"sku\", value);\n }\n\n /**\n * Resource tags.\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"]}
|
|
1
|
+
{"version":3,"file":"managed-hsm.js","sourceRoot":"","sources":["../../src/managed-hsm.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAKL,QAAQ,GAET,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,GAIlB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAGL,4BAA4B,EAG5B,yBAAyB,EAGzB,kBAAkB,EAGlB,2BAA2B,EAG3B,4CAA4C,GAE7C,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,GAAG,YAAY,CA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CAAC,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAClC,CAAC","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 ManagedHsmKeyProperties,\n type ManagedHsmKeyPropertiesInput,\n managedHsmKeyPropertiesShape,\n type ManagedHsmKeyPropertiesView,\n type ManagedHsmPropertiesInput,\n managedHsmPropertiesShape,\n type ManagedHsmPropertiesView,\n type ManagedHsmSkuInput,\n managedHsmSkuShape,\n type ManagedHsmSkuView,\n type ManagedServiceIdentityInput,\n managedServiceIdentityShape,\n type ManagedServiceIdentityView,\n type MhsmPrivateEndpointConnectionPropertiesInput,\n mhsmPrivateEndpointConnectionPropertiesShape,\n type MhsmPrivateEndpointConnectionPropertiesView,\n} from \"./types.js\";\n\nconst API_VERSION = \"2026-02-01\";\n\nexport interface ManagedHsmProps {\n /**\n * Managed service identity\n */\n identity?: ManagedServiceIdentityInput | undefined;\n /**\n * The geo-location where the resource lives\n */\n location?: ExpressionOrValue<string> | undefined;\n /**\n * The name of the managed HSM Pool.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Properties of the managed HSM\n */\n properties?: ManagedHsmPropertiesInput | undefined;\n /**\n * SKU details\n */\n sku?: ManagedHsmSkuInput | undefined;\n /**\n * Resource tags.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\nexport interface ManagedHsmKeyProps {\n /**\n * The name of the key to be created. The value you provide may be copied globally for the purpose of running the service. The value provided should not include personally identifiable or sensitive information.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * The properties of the key to be created.\n */\n properties: ManagedHsmKeyPropertiesInput;\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 KeyVaultManagedHsmKey extends Resource<\"Microsoft.KeyVault/managedHSMs/keys/versions\"> {\n static resourceType = \"Microsoft.KeyVault/managedHSMs/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 name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => managedHsmKeyPropertiesShape),\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/managedHSMs/keys/versions\"> & Record<string, unknown> {\n return {\n ...props,\n type: KeyVaultManagedHsmKey.resourceType,\n apiVersion: KeyVaultManagedHsmKey.apiVersion,\n };\n }\n\n constructor(\n context: ManagedHsmKey,\n props: ExistingResourceProps & { existing: true },\n options?: ResourceOptions,\n ) {\n super(context, KeyVaultManagedHsmKey.buildResourceProps(props), options);\n }\n\n /**\n * The name of the key to be created. The value you provide may be copied globally for the purpose\n * of running the service. The value provided should not include personally identifiable or\n * sensitive information.\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<ManagedHsmKeyProperties> {\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 ManagedHsmKey extends Resource<\"Microsoft.KeyVault/managedHSMs/keys\"> {\n static resourceType = \"Microsoft.KeyVault/managedHSMs/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 name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => managedHsmKeyPropertiesShape),\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?:\n (ManagedHsmKeyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/managedHSMs/keys\"> & Record<string, unknown> {\n return {\n ...props,\n type: ManagedHsmKey.resourceType,\n apiVersion: ManagedHsmKey.apiVersion,\n };\n }\n\n constructor(\n context: ManagedHsm,\n props:\n (ManagedHsmKeyProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, ManagedHsmKey.buildResourceProps(props), options);\n }\n\n /**\n * The name of the key to be created. The value you provide may be copied globally for the purpose\n * of running the service. The value provided should not include personally identifiable or\n * sensitive information.\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(): ManagedHsmKeyPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: ManagedHsmKeyPropertiesInput) {\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 ManagedHsmPrivateEndpointConnectionProps {\n /**\n * Modified whenever there is a change in the state of private endpoint connection.\n */\n etag?: ExpressionOrValue<string> | undefined;\n /**\n * Managed service identity\n */\n identity?: ManagedServiceIdentityInput | undefined;\n /**\n * The geo-location where the resource lives\n */\n location?: ExpressionOrValue<string> | undefined;\n /**\n * Name of the private endpoint connection associated with the managed hsm pool.\n */\n name?: ExpressionOrValue<string> | undefined;\n /**\n * Resource properties.\n */\n properties?: MhsmPrivateEndpointConnectionPropertiesInput | undefined;\n /**\n * SKU details\n */\n sku?: ManagedHsmSkuInput | undefined;\n /**\n * Resource tags.\n */\n tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;\n}\n\n/**\n * Private endpoint connection resource.\n */\nexport class ManagedHsmPrivateEndpointConnection extends Resource<\"Microsoft.KeyVault/managedHSMs/privateEndpointConnections\"> {\n static resourceType = \"Microsoft.KeyVault/managedHSMs/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 identity: {\n armPath: [\"identity\"],\n value: createDeferredShape(() => managedServiceIdentityShape),\n },\n location: { armPath: [\"location\"], value: createStringShape() },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => mhsmPrivateEndpointConnectionPropertiesShape),\n },\n sku: { armPath: [\"sku\"], value: createDeferredShape(() => managedHsmSkuShape) },\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?:\n | (ManagedHsmPrivateEndpointConnectionProps & { existing?: false })\n | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/managedHSMs/privateEndpointConnections\"> &\n Record<string, unknown> {\n return {\n ...props,\n type: ManagedHsmPrivateEndpointConnection.resourceType,\n apiVersion: ManagedHsmPrivateEndpointConnection.apiVersion,\n };\n }\n\n constructor(\n context: ManagedHsm,\n props?:\n | (ManagedHsmPrivateEndpointConnectionProps & { existing?: false })\n | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, ManagedHsmPrivateEndpointConnection.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 * Managed service identity\n */\n get identity(): ManagedServiceIdentityView {\n return this.expr(\"identity\") as any;\n }\n set identity(value: ManagedServiceIdentityInput | undefined) {\n this.setProperty(\"identity\", value);\n }\n\n /**\n * The geo-location where the resource lives\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n set location(value: ExpressionOrValue<string> | undefined) {\n this.setProperty(\"location\", value);\n }\n\n /**\n * Name of the private endpoint connection associated with the managed hsm pool.\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(): MhsmPrivateEndpointConnectionPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: MhsmPrivateEndpointConnectionPropertiesInput | undefined) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * SKU details\n */\n get sku(): ManagedHsmSkuView {\n return this.expr(\"sku\") as any;\n }\n set sku(value: ManagedHsmSkuInput | undefined) {\n this.setProperty(\"sku\", value);\n }\n\n /**\n * Resource tags.\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 ManagedHsm extends Resource<\"Microsoft.KeyVault/managedHSMs\"> {\n static resourceType = \"Microsoft.KeyVault/managedHSMs\" as const;\n static apiVersion = API_VERSION;\n protected static namingRules: ResourceNamingRules = {\n abbreviation: \"mhsm\",\n pattern: {\n regex: \"\",\n },\n scope: \"global\",\n };\n\n static {\n this.registerShape(\n createFlatModelShape({\n identity: {\n armPath: [\"identity\"],\n value: createDeferredShape(() => managedServiceIdentityShape),\n },\n location: { armPath: [\"location\"], value: createStringShape() },\n name: { armPath: [\"name\"], value: createStringShape() },\n properties: {\n armPath: [\"properties\"],\n value: createDeferredShape(() => managedHsmPropertiesShape),\n },\n sku: { armPath: [\"sku\"], value: createDeferredShape(() => managedHsmSkuShape) },\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?: (ManagedHsmProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n ): ResourceProps<\"Microsoft.KeyVault/managedHSMs\"> & Record<string, unknown> {\n return {\n ...props,\n type: ManagedHsm.resourceType,\n apiVersion: ManagedHsm.apiVersion,\n };\n }\n\n constructor(\n context: ProvisioningComponent,\n props?: (ManagedHsmProps & { existing?: false }) | (ExistingResourceProps & { existing: true }),\n options?: ResourceOptions,\n ) {\n super(context, ManagedHsm.buildResourceProps(props), options);\n }\n\n /**\n * Managed service identity\n */\n get identity(): ManagedServiceIdentityView {\n return this.expr(\"identity\") as any;\n }\n set identity(value: ManagedServiceIdentityInput | undefined) {\n this.setProperty(\"identity\", value);\n }\n\n /**\n * The geo-location where the resource lives\n */\n get location(): Expression<string> {\n return this.expr(\"location\");\n }\n set location(value: ExpressionOrValue<string> | undefined) {\n this.setProperty(\"location\", value);\n }\n\n /**\n * The name of the managed HSM Pool.\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 managed HSM\n */\n get properties(): ManagedHsmPropertiesView {\n return this.expr(\"properties\") as any;\n }\n set properties(value: ManagedHsmPropertiesInput | undefined) {\n this.setProperty(\"properties\", value);\n }\n\n /**\n * SKU details\n */\n get sku(): ManagedHsmSkuView {\n return this.expr(\"sku\") as any;\n }\n set sku(value: ManagedHsmSkuInput | undefined) {\n this.setProperty(\"sku\", value);\n }\n\n /**\n * Resource tags.\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"]}
|
package/dist/browser/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Expression, ExpressionOrValue } from "@azure/provisioning-core";
|
|
2
2
|
import { type FlatModelShape, type InputArray, type InputOf, type InputRecord } from "@azure/provisioning-core/internal";
|
|
3
|
+
export type AccessPolicyUpdateKind = "add" | "replace" | "remove";
|
|
3
4
|
/**
|
|
4
5
|
* The vault's create mode to indicate whether the vault need to be recovered or not.
|
|
5
6
|
*/
|
|
@@ -822,6 +823,10 @@ export interface ManagedHsmProperties {
|
|
|
822
823
|
* List of private endpoint connections associated with the managed hsm pool.
|
|
823
824
|
*/
|
|
824
825
|
privateEndpointConnections?: MhsmPrivateEndpointConnectionItem[];
|
|
826
|
+
/**
|
|
827
|
+
* Provisioning state.
|
|
828
|
+
*/
|
|
829
|
+
provisioningState?: ProvisioningState;
|
|
825
830
|
/**
|
|
826
831
|
* Control permission to the managed HSM from public networks.
|
|
827
832
|
*/
|
|
@@ -924,6 +929,10 @@ export interface ManagedHsmPropertiesView extends InputOf<ManagedHsmProperties>
|
|
|
924
929
|
* Read-only output: List of private endpoint connections associated with the managed hsm pool.
|
|
925
930
|
*/
|
|
926
931
|
readonly privateEndpointConnections?: Expression<MhsmPrivateEndpointConnectionItem[]> | undefined;
|
|
932
|
+
/**
|
|
933
|
+
* Read-only output: Provisioning state.
|
|
934
|
+
*/
|
|
935
|
+
readonly provisioningState?: Expression<ProvisioningState> | undefined;
|
|
927
936
|
/**
|
|
928
937
|
* Control permission to the managed HSM from public networks.
|
|
929
938
|
*/
|
|
@@ -1138,6 +1147,10 @@ export interface MhsmGeoReplicatedRegion {
|
|
|
1138
1147
|
* Name of the geo replicated region.
|
|
1139
1148
|
*/
|
|
1140
1149
|
name?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Provisioning state of the geo replicated region.
|
|
1152
|
+
*/
|
|
1153
|
+
provisioningState?: GeoReplicationRegionProvisioningState;
|
|
1141
1154
|
}
|
|
1142
1155
|
/**
|
|
1143
1156
|
* Input type for A region that this managed HSM Pool has been extended to.
|
|
@@ -1155,7 +1168,20 @@ export interface MhsmGeoReplicatedRegionInput extends InputOf<MhsmGeoReplicatedR
|
|
|
1155
1168
|
/**
|
|
1156
1169
|
* View type for A region that this managed HSM Pool has been extended to.
|
|
1157
1170
|
*/
|
|
1158
|
-
export
|
|
1171
|
+
export interface MhsmGeoReplicatedRegionView extends InputOf<MhsmGeoReplicatedRegion> {
|
|
1172
|
+
/**
|
|
1173
|
+
* A boolean value that indicates whether the region is the primary region or a secondary region.
|
|
1174
|
+
*/
|
|
1175
|
+
isPrimary?: ExpressionOrValue<boolean> | undefined;
|
|
1176
|
+
/**
|
|
1177
|
+
* Name of the geo replicated region.
|
|
1178
|
+
*/
|
|
1179
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
1180
|
+
/**
|
|
1181
|
+
* Read-only output: Provisioning state of the geo replicated region.
|
|
1182
|
+
*/
|
|
1183
|
+
readonly provisioningState?: Expression<GeoReplicationRegionProvisioningState> | undefined;
|
|
1184
|
+
}
|
|
1159
1185
|
export declare const mhsmGeoReplicatedRegionShape: FlatModelShape;
|
|
1160
1186
|
/**
|
|
1161
1187
|
* A rule governing the accessibility of a managed HSM pool from a specific IP address or IP range.
|
|
@@ -1239,6 +1265,10 @@ export declare const mhsmNetworkRuleSetShape: FlatModelShape;
|
|
|
1239
1265
|
* Private endpoint object properties.
|
|
1240
1266
|
*/
|
|
1241
1267
|
export interface MhsmPrivateEndpoint {
|
|
1268
|
+
/**
|
|
1269
|
+
* Full identifier of the private endpoint resource.
|
|
1270
|
+
*/
|
|
1271
|
+
id?: string;
|
|
1242
1272
|
}
|
|
1243
1273
|
/**
|
|
1244
1274
|
* Input type for Private endpoint object properties.
|
|
@@ -1248,12 +1278,25 @@ export interface MhsmPrivateEndpointInput extends InputOf<MhsmPrivateEndpoint> {
|
|
|
1248
1278
|
/**
|
|
1249
1279
|
* View type for Private endpoint object properties.
|
|
1250
1280
|
*/
|
|
1251
|
-
export
|
|
1281
|
+
export interface MhsmPrivateEndpointView extends InputOf<MhsmPrivateEndpoint> {
|
|
1282
|
+
/**
|
|
1283
|
+
* Read-only output: Full identifier of the private endpoint resource.
|
|
1284
|
+
*/
|
|
1285
|
+
readonly id?: Expression<string> | undefined;
|
|
1286
|
+
}
|
|
1252
1287
|
export declare const mhsmPrivateEndpointShape: FlatModelShape;
|
|
1253
1288
|
/**
|
|
1254
1289
|
* Private endpoint connection item.
|
|
1255
1290
|
*/
|
|
1256
1291
|
export interface MhsmPrivateEndpointConnectionItem {
|
|
1292
|
+
/**
|
|
1293
|
+
* Modified whenever there is a change in the state of private endpoint connection.
|
|
1294
|
+
*/
|
|
1295
|
+
etag?: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Id of private endpoint connection.
|
|
1298
|
+
*/
|
|
1299
|
+
id?: string;
|
|
1257
1300
|
/**
|
|
1258
1301
|
* Private endpoint connection properties.
|
|
1259
1302
|
*/
|
|
@@ -1268,6 +1311,14 @@ export interface MhsmPrivateEndpointConnectionItemInput extends InputOf<MhsmPriv
|
|
|
1268
1311
|
* View type for Private endpoint connection item.
|
|
1269
1312
|
*/
|
|
1270
1313
|
export interface MhsmPrivateEndpointConnectionItemView extends InputOf<MhsmPrivateEndpointConnectionItem> {
|
|
1314
|
+
/**
|
|
1315
|
+
* Read-only output: Modified whenever there is a change in the state of private endpoint connection.
|
|
1316
|
+
*/
|
|
1317
|
+
readonly etag?: Expression<string> | undefined;
|
|
1318
|
+
/**
|
|
1319
|
+
* Read-only output: Id of private endpoint connection.
|
|
1320
|
+
*/
|
|
1321
|
+
readonly id?: Expression<string> | undefined;
|
|
1271
1322
|
/**
|
|
1272
1323
|
* Read-only output: Private endpoint connection properties.
|
|
1273
1324
|
*/
|
|
@@ -1286,6 +1337,10 @@ export interface MhsmPrivateEndpointConnectionProperties {
|
|
|
1286
1337
|
* Approval state of the private link connection.
|
|
1287
1338
|
*/
|
|
1288
1339
|
privateLinkServiceConnectionState?: MhsmPrivateLinkServiceConnectionState;
|
|
1340
|
+
/**
|
|
1341
|
+
* Provisioning state of the private endpoint connection.
|
|
1342
|
+
*/
|
|
1343
|
+
provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
1289
1344
|
}
|
|
1290
1345
|
/**
|
|
1291
1346
|
* Input type for Properties of the private endpoint connection resource.
|
|
@@ -1303,7 +1358,20 @@ export interface MhsmPrivateEndpointConnectionPropertiesInput extends InputOf<Mh
|
|
|
1303
1358
|
/**
|
|
1304
1359
|
* View type for Properties of the private endpoint connection resource.
|
|
1305
1360
|
*/
|
|
1306
|
-
export
|
|
1361
|
+
export interface MhsmPrivateEndpointConnectionPropertiesView extends InputOf<MhsmPrivateEndpointConnectionProperties> {
|
|
1362
|
+
/**
|
|
1363
|
+
* Properties of the private endpoint object.
|
|
1364
|
+
*/
|
|
1365
|
+
privateEndpoint?: MhsmPrivateEndpointView | undefined;
|
|
1366
|
+
/**
|
|
1367
|
+
* Approval state of the private link connection.
|
|
1368
|
+
*/
|
|
1369
|
+
privateLinkServiceConnectionState?: MhsmPrivateLinkServiceConnectionStateView | undefined;
|
|
1370
|
+
/**
|
|
1371
|
+
* Read-only output: Provisioning state of the private endpoint connection.
|
|
1372
|
+
*/
|
|
1373
|
+
readonly provisioningState?: Expression<PrivateEndpointConnectionProvisioningState> | undefined;
|
|
1374
|
+
}
|
|
1307
1375
|
export declare const mhsmPrivateEndpointConnectionPropertiesShape: FlatModelShape;
|
|
1308
1376
|
/**
|
|
1309
1377
|
* An object that represents the approval state of the private link connection.
|
|
@@ -1488,6 +1556,10 @@ export declare const permissionsShape: FlatModelShape;
|
|
|
1488
1556
|
* Private endpoint object properties.
|
|
1489
1557
|
*/
|
|
1490
1558
|
export interface PrivateEndpoint {
|
|
1559
|
+
/**
|
|
1560
|
+
* Full identifier of the private endpoint resource.
|
|
1561
|
+
*/
|
|
1562
|
+
id?: string;
|
|
1491
1563
|
}
|
|
1492
1564
|
/**
|
|
1493
1565
|
* Input type for Private endpoint object properties.
|
|
@@ -1497,12 +1569,25 @@ export interface PrivateEndpointInput extends InputOf<PrivateEndpoint> {
|
|
|
1497
1569
|
/**
|
|
1498
1570
|
* View type for Private endpoint object properties.
|
|
1499
1571
|
*/
|
|
1500
|
-
export
|
|
1572
|
+
export interface PrivateEndpointView extends InputOf<PrivateEndpoint> {
|
|
1573
|
+
/**
|
|
1574
|
+
* Read-only output: Full identifier of the private endpoint resource.
|
|
1575
|
+
*/
|
|
1576
|
+
readonly id?: Expression<string> | undefined;
|
|
1577
|
+
}
|
|
1501
1578
|
export declare const privateEndpointShape: FlatModelShape;
|
|
1502
1579
|
/**
|
|
1503
1580
|
* Private endpoint connection item.
|
|
1504
1581
|
*/
|
|
1505
1582
|
export interface PrivateEndpointConnectionItem {
|
|
1583
|
+
/**
|
|
1584
|
+
* Modified whenever there is a change in the state of private endpoint connection.
|
|
1585
|
+
*/
|
|
1586
|
+
etag?: string;
|
|
1587
|
+
/**
|
|
1588
|
+
* Id of private endpoint connection.
|
|
1589
|
+
*/
|
|
1590
|
+
id?: string;
|
|
1506
1591
|
/**
|
|
1507
1592
|
* Private endpoint connection properties.
|
|
1508
1593
|
*/
|
|
@@ -1517,6 +1602,14 @@ export interface PrivateEndpointConnectionItemInput extends InputOf<PrivateEndpo
|
|
|
1517
1602
|
* View type for Private endpoint connection item.
|
|
1518
1603
|
*/
|
|
1519
1604
|
export interface PrivateEndpointConnectionItemView extends InputOf<PrivateEndpointConnectionItem> {
|
|
1605
|
+
/**
|
|
1606
|
+
* Read-only output: Modified whenever there is a change in the state of private endpoint connection.
|
|
1607
|
+
*/
|
|
1608
|
+
readonly etag?: Expression<string> | undefined;
|
|
1609
|
+
/**
|
|
1610
|
+
* Read-only output: Id of private endpoint connection.
|
|
1611
|
+
*/
|
|
1612
|
+
readonly id?: Expression<string> | undefined;
|
|
1520
1613
|
/**
|
|
1521
1614
|
* Read-only output: Private endpoint connection properties.
|
|
1522
1615
|
*/
|
|
@@ -1535,6 +1628,10 @@ export interface PrivateEndpointConnectionProperties {
|
|
|
1535
1628
|
* Approval state of the private link connection.
|
|
1536
1629
|
*/
|
|
1537
1630
|
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
|
1631
|
+
/**
|
|
1632
|
+
* Provisioning state of the private endpoint connection.
|
|
1633
|
+
*/
|
|
1634
|
+
provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
1538
1635
|
}
|
|
1539
1636
|
/**
|
|
1540
1637
|
* Input type for Properties of the private endpoint connection resource.
|
|
@@ -1552,7 +1649,20 @@ export interface PrivateEndpointConnectionPropertiesInput extends InputOf<Privat
|
|
|
1552
1649
|
/**
|
|
1553
1650
|
* View type for Properties of the private endpoint connection resource.
|
|
1554
1651
|
*/
|
|
1555
|
-
export
|
|
1652
|
+
export interface PrivateEndpointConnectionPropertiesView extends InputOf<PrivateEndpointConnectionProperties> {
|
|
1653
|
+
/**
|
|
1654
|
+
* Properties of the private endpoint object.
|
|
1655
|
+
*/
|
|
1656
|
+
privateEndpoint?: PrivateEndpointView | undefined;
|
|
1657
|
+
/**
|
|
1658
|
+
* Approval state of the private link connection.
|
|
1659
|
+
*/
|
|
1660
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateView | undefined;
|
|
1661
|
+
/**
|
|
1662
|
+
* Read-only output: Provisioning state of the private endpoint connection.
|
|
1663
|
+
*/
|
|
1664
|
+
readonly provisioningState?: Expression<PrivateEndpointConnectionProvisioningState> | undefined;
|
|
1665
|
+
}
|
|
1556
1666
|
export declare const privateEndpointConnectionPropertiesShape: FlatModelShape;
|
|
1557
1667
|
/**
|
|
1558
1668
|
* An object that represents the approval state of the private link connection.
|
|
@@ -1916,6 +2026,10 @@ export interface VaultProperties {
|
|
|
1916
2026
|
* List of private endpoint connections associated with the key vault.
|
|
1917
2027
|
*/
|
|
1918
2028
|
privateEndpointConnections?: PrivateEndpointConnectionItem[];
|
|
2029
|
+
/**
|
|
2030
|
+
* Provisioning state of the vault.
|
|
2031
|
+
*/
|
|
2032
|
+
provisioningState?: VaultProvisioningState;
|
|
1919
2033
|
/**
|
|
1920
2034
|
* Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules.
|
|
1921
2035
|
*/
|
|
@@ -1925,7 +2039,7 @@ export interface VaultProperties {
|
|
|
1925
2039
|
*/
|
|
1926
2040
|
sku: Sku;
|
|
1927
2041
|
/**
|
|
1928
|
-
* softDelete data retention days. It accepts
|
|
2042
|
+
* softDelete data retention days. It accepts >=7 and <=90.
|
|
1929
2043
|
*/
|
|
1930
2044
|
softDeleteRetentionInDays?: number;
|
|
1931
2045
|
/**
|
|
@@ -1977,6 +2091,10 @@ export interface VaultPropertiesInput extends InputOf<VaultProperties> {
|
|
|
1977
2091
|
* Rules governing the accessibility of the key vault from specific network locations.
|
|
1978
2092
|
*/
|
|
1979
2093
|
networkAcls?: NetworkRuleSetInput | undefined;
|
|
2094
|
+
/**
|
|
2095
|
+
* Provisioning state of the vault.
|
|
2096
|
+
*/
|
|
2097
|
+
provisioningState?: ExpressionOrValue<VaultProvisioningState> | undefined;
|
|
1980
2098
|
/**
|
|
1981
2099
|
* Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules.
|
|
1982
2100
|
*/
|
|
@@ -1986,7 +2104,7 @@ export interface VaultPropertiesInput extends InputOf<VaultProperties> {
|
|
|
1986
2104
|
*/
|
|
1987
2105
|
sku: SkuInput;
|
|
1988
2106
|
/**
|
|
1989
|
-
* softDelete data retention days. It accepts
|
|
2107
|
+
* softDelete data retention days. It accepts >=7 and <=90.
|
|
1990
2108
|
*/
|
|
1991
2109
|
softDeleteRetentionInDays?: ExpressionOrValue<number> | undefined;
|
|
1992
2110
|
/**
|
|
@@ -2046,6 +2164,10 @@ export interface VaultPropertiesView extends InputOf<VaultProperties> {
|
|
|
2046
2164
|
* Read-only output: List of private endpoint connections associated with the key vault.
|
|
2047
2165
|
*/
|
|
2048
2166
|
readonly privateEndpointConnections?: Expression<PrivateEndpointConnectionItem[]> | undefined;
|
|
2167
|
+
/**
|
|
2168
|
+
* Provisioning state of the vault.
|
|
2169
|
+
*/
|
|
2170
|
+
provisioningState?: ExpressionOrValue<VaultProvisioningState> | undefined;
|
|
2049
2171
|
/**
|
|
2050
2172
|
* Property to specify whether the vault will accept traffic from public internet. If set to 'disabled' all traffic except private endpoint traffic and that that originates from trusted services will be blocked. This will override the set firewall rules, meaning that even if the firewall rules are present we will not honor the rules.
|
|
2051
2173
|
*/
|
|
@@ -2055,7 +2177,7 @@ export interface VaultPropertiesView extends InputOf<VaultProperties> {
|
|
|
2055
2177
|
*/
|
|
2056
2178
|
sku: SkuView;
|
|
2057
2179
|
/**
|
|
2058
|
-
* softDelete data retention days. It accepts
|
|
2180
|
+
* softDelete data retention days. It accepts >=7 and <=90.
|
|
2059
2181
|
*/
|
|
2060
2182
|
softDeleteRetentionInDays?: ExpressionOrValue<number> | undefined;
|
|
2061
2183
|
/**
|
|
@@ -2173,6 +2295,24 @@ export type CertificatePermissions = string;
|
|
|
2173
2295
|
* - `"Recoverable+ProtectedSubscription"`
|
|
2174
2296
|
*/
|
|
2175
2297
|
export type DeletionRecoveryLevel = string;
|
|
2298
|
+
/**
|
|
2299
|
+
* The current provisioning state.
|
|
2300
|
+
*
|
|
2301
|
+
* Known values:
|
|
2302
|
+
*
|
|
2303
|
+
* - `"Preprovisioning"`
|
|
2304
|
+
*
|
|
2305
|
+
* - `"Provisioning"`
|
|
2306
|
+
*
|
|
2307
|
+
* - `"Succeeded"`
|
|
2308
|
+
*
|
|
2309
|
+
* - `"Failed"`
|
|
2310
|
+
*
|
|
2311
|
+
* - `"Deleting"`
|
|
2312
|
+
*
|
|
2313
|
+
* - `"Cleanup"`
|
|
2314
|
+
*/
|
|
2315
|
+
export type GeoReplicationRegionProvisioningState = string;
|
|
2176
2316
|
/**
|
|
2177
2317
|
* The elliptic curve name. For valid values, see JsonWebKeyCurveName. Default for EC and EC-HSM keys is P-256
|
|
2178
2318
|
*
|
|
@@ -2313,6 +2453,24 @@ export type NetworkRuleAction = string;
|
|
|
2313
2453
|
* - `"None"`
|
|
2314
2454
|
*/
|
|
2315
2455
|
export type NetworkRuleBypassOptions = string;
|
|
2456
|
+
/**
|
|
2457
|
+
* The current provisioning state.
|
|
2458
|
+
*
|
|
2459
|
+
* Known values:
|
|
2460
|
+
*
|
|
2461
|
+
* - `"Succeeded"`
|
|
2462
|
+
*
|
|
2463
|
+
* - `"Creating"`
|
|
2464
|
+
*
|
|
2465
|
+
* - `"Updating"`
|
|
2466
|
+
*
|
|
2467
|
+
* - `"Deleting"`
|
|
2468
|
+
*
|
|
2469
|
+
* - `"Failed"`
|
|
2470
|
+
*
|
|
2471
|
+
* - `"Disconnected"`
|
|
2472
|
+
*/
|
|
2473
|
+
export type PrivateEndpointConnectionProvisioningState = string;
|
|
2316
2474
|
/**
|
|
2317
2475
|
* The private endpoint connection status.
|
|
2318
2476
|
*
|
|
@@ -2327,6 +2485,28 @@ export type NetworkRuleBypassOptions = string;
|
|
|
2327
2485
|
* - `"Disconnected"`
|
|
2328
2486
|
*/
|
|
2329
2487
|
export type PrivateEndpointServiceConnectionStatus = string;
|
|
2488
|
+
/**
|
|
2489
|
+
* Provisioning state.
|
|
2490
|
+
*
|
|
2491
|
+
* Known values:
|
|
2492
|
+
*
|
|
2493
|
+
* - `"Succeeded"`: The managed HSM Pool has been full provisioned.
|
|
2494
|
+
*
|
|
2495
|
+
* - `"Provisioning"`: The managed HSM Pool is currently being provisioned.
|
|
2496
|
+
*
|
|
2497
|
+
* - `"Failed"`: Provisioning of the managed HSM Pool has failed.
|
|
2498
|
+
*
|
|
2499
|
+
* - `"Updating"`: The managed HSM Pool is currently being updated.
|
|
2500
|
+
*
|
|
2501
|
+
* - `"Deleting"`: The managed HSM Pool is currently being deleted.
|
|
2502
|
+
*
|
|
2503
|
+
* - `"Activated"`: The managed HSM pool is ready for normal use.
|
|
2504
|
+
*
|
|
2505
|
+
* - `"SecurityDomainRestore"`: The managed HSM pool is waiting for a security domain restore action.
|
|
2506
|
+
*
|
|
2507
|
+
* - `"Restoring"`: The managed HSM pool is being restored from full HSM backup.
|
|
2508
|
+
*/
|
|
2509
|
+
export type ProvisioningState = string;
|
|
2330
2510
|
/**
|
|
2331
2511
|
* Control permission to the managed HSM from public networks.
|
|
2332
2512
|
*
|
|
@@ -2401,4 +2581,14 @@ export type SkuFamily = string;
|
|
|
2401
2581
|
* - `"deletesas"`
|
|
2402
2582
|
*/
|
|
2403
2583
|
export type StoragePermissions = string;
|
|
2584
|
+
/**
|
|
2585
|
+
* Provisioning state of the vault.
|
|
2586
|
+
*
|
|
2587
|
+
* Known values:
|
|
2588
|
+
*
|
|
2589
|
+
* - `"Succeeded"`
|
|
2590
|
+
*
|
|
2591
|
+
* - `"RegisteringDns"`
|
|
2592
|
+
*/
|
|
2593
|
+
export type VaultProvisioningState = string;
|
|
2404
2594
|
//# sourceMappingURL=types.d.ts.map
|