@azure/provisioning-sql 0.0.0-stage → 1.0.0-beta.1
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 +7 -0
- package/LICENSE +21 -0
- package/README.md +64 -2
- package/dist/browser/deleted-server.d.ts +33 -0
- package/dist/browser/deleted-server.d.ts.map +1 -0
- package/dist/browser/deleted-server.js +61 -0
- package/dist/browser/deleted-server.js.map +1 -0
- package/dist/browser/index.d.ts +14 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +16 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/instance-failover-group.d.ts +48 -0
- package/dist/browser/instance-failover-group.d.ts.map +1 -0
- package/dist/browser/instance-failover-group.js +63 -0
- package/dist/browser/instance-failover-group.js.map +1 -0
- package/dist/browser/instance-pool.d.ts +101 -0
- package/dist/browser/instance-pool.d.ts.map +1 -0
- package/dist/browser/instance-pool.js +148 -0
- package/dist/browser/instance-pool.js.map +1 -0
- package/dist/browser/managed-database-move-operation-result.d.ts +30 -0
- package/dist/browser/managed-database-move-operation-result.d.ts.map +1 -0
- package/dist/browser/managed-database-move-operation-result.js +58 -0
- package/dist/browser/managed-database-move-operation-result.js.map +1 -0
- package/dist/browser/managed-instance.d.ts +1555 -0
- package/dist/browser/managed-instance.d.ts.map +1 -0
- package/dist/browser/managed-instance.js +2234 -0
- package/dist/browser/managed-instance.js.map +1 -0
- package/dist/browser/package.json +8 -0
- package/dist/browser/resource-group-long-term-retention-managed-instance-backup.d.ts +33 -0
- package/dist/browser/resource-group-long-term-retention-managed-instance-backup.d.ts.map +1 -0
- package/dist/browser/resource-group-long-term-retention-managed-instance-backup.js +61 -0
- package/dist/browser/resource-group-long-term-retention-managed-instance-backup.js.map +1 -0
- package/dist/browser/server-trust-group.d.ts +48 -0
- package/dist/browser/server-trust-group.d.ts.map +1 -0
- package/dist/browser/server-trust-group.js +63 -0
- package/dist/browser/server-trust-group.js.map +1 -0
- package/dist/browser/server.d.ts +3137 -0
- package/dist/browser/server.d.ts.map +1 -0
- package/dist/browser/server.js +4486 -0
- package/dist/browser/server.js.map +1 -0
- package/dist/browser/subscription-long-term-retention-backup.d.ts +33 -0
- package/dist/browser/subscription-long-term-retention-backup.d.ts.map +1 -0
- package/dist/browser/subscription-long-term-retention-backup.js +61 -0
- package/dist/browser/subscription-long-term-retention-backup.js.map +1 -0
- package/dist/browser/time-zone.d.ts +30 -0
- package/dist/browser/time-zone.d.ts.map +1 -0
- package/dist/browser/time-zone.js +58 -0
- package/dist/browser/time-zone.js.map +1 -0
- package/dist/browser/types.d.ts +13481 -0
- package/dist/browser/types.d.ts.map +1 -0
- package/dist/browser/types.js +3035 -0
- package/dist/browser/types.js.map +1 -0
- package/dist/browser/usage.d.ts +33 -0
- package/dist/browser/usage.d.ts.map +1 -0
- package/dist/browser/usage.js +61 -0
- package/dist/browser/usage.js.map +1 -0
- package/dist/browser/virtual-cluster.d.ts +66 -0
- package/dist/browser/virtual-cluster.d.ts.map +1 -0
- package/dist/browser/virtual-cluster.js +85 -0
- package/dist/browser/virtual-cluster.js.map +1 -0
- package/dist/commonjs/deleted-server.d.ts +33 -0
- package/dist/commonjs/deleted-server.d.ts.map +1 -0
- package/dist/commonjs/deleted-server.js +84 -0
- package/dist/commonjs/deleted-server.js.map +7 -0
- package/dist/commonjs/index.d.ts +14 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +296 -0
- package/dist/commonjs/index.js.map +7 -0
- package/dist/commonjs/instance-failover-group.d.ts +48 -0
- package/dist/commonjs/instance-failover-group.d.ts.map +1 -0
- package/dist/commonjs/instance-failover-group.js +86 -0
- package/dist/commonjs/instance-failover-group.js.map +7 -0
- package/dist/commonjs/instance-pool.d.ts +101 -0
- package/dist/commonjs/instance-pool.d.ts.map +1 -0
- package/dist/commonjs/instance-pool.js +172 -0
- package/dist/commonjs/instance-pool.js.map +7 -0
- package/dist/commonjs/managed-database-move-operation-result.d.ts +30 -0
- package/dist/commonjs/managed-database-move-operation-result.d.ts.map +1 -0
- package/dist/commonjs/managed-database-move-operation-result.js +81 -0
- package/dist/commonjs/managed-database-move-operation-result.js.map +7 -0
- package/dist/commonjs/managed-instance.d.ts +1555 -0
- package/dist/commonjs/managed-instance.d.ts.map +1 -0
- package/dist/commonjs/managed-instance.js +2308 -0
- package/dist/commonjs/managed-instance.js.map +7 -0
- package/dist/commonjs/package.json +8 -0
- package/dist/commonjs/resource-group-long-term-retention-managed-instance-backup.d.ts +33 -0
- package/dist/commonjs/resource-group-long-term-retention-managed-instance-backup.d.ts.map +1 -0
- package/dist/commonjs/resource-group-long-term-retention-managed-instance-backup.js +88 -0
- package/dist/commonjs/resource-group-long-term-retention-managed-instance-backup.js.map +7 -0
- package/dist/commonjs/server-trust-group.d.ts +48 -0
- package/dist/commonjs/server-trust-group.d.ts.map +1 -0
- package/dist/commonjs/server-trust-group.js +86 -0
- package/dist/commonjs/server-trust-group.js.map +7 -0
- package/dist/commonjs/server.d.ts +3137 -0
- package/dist/commonjs/server.d.ts.map +1 -0
- package/dist/commonjs/server.js +4604 -0
- package/dist/commonjs/server.js.map +7 -0
- package/dist/commonjs/subscription-long-term-retention-backup.d.ts +33 -0
- package/dist/commonjs/subscription-long-term-retention-backup.d.ts.map +1 -0
- package/dist/commonjs/subscription-long-term-retention-backup.js +84 -0
- package/dist/commonjs/subscription-long-term-retention-backup.js.map +7 -0
- package/dist/commonjs/time-zone.d.ts +30 -0
- package/dist/commonjs/time-zone.d.ts.map +1 -0
- package/dist/commonjs/time-zone.js +81 -0
- package/dist/commonjs/time-zone.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/types.d.ts +13481 -0
- package/dist/commonjs/types.d.ts.map +1 -0
- package/dist/commonjs/types.js +3439 -0
- package/dist/commonjs/types.js.map +7 -0
- package/dist/commonjs/usage.d.ts +33 -0
- package/dist/commonjs/usage.d.ts.map +1 -0
- package/dist/commonjs/usage.js +84 -0
- package/dist/commonjs/usage.js.map +7 -0
- package/dist/commonjs/virtual-cluster.d.ts +66 -0
- package/dist/commonjs/virtual-cluster.d.ts.map +1 -0
- package/dist/commonjs/virtual-cluster.js +108 -0
- package/dist/commonjs/virtual-cluster.js.map +7 -0
- package/dist/esm/deleted-server.d.ts +33 -0
- package/dist/esm/deleted-server.d.ts.map +1 -0
- package/dist/esm/deleted-server.js +61 -0
- package/dist/esm/deleted-server.js.map +1 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/instance-failover-group.d.ts +48 -0
- package/dist/esm/instance-failover-group.d.ts.map +1 -0
- package/dist/esm/instance-failover-group.js +63 -0
- package/dist/esm/instance-failover-group.js.map +1 -0
- package/dist/esm/instance-pool.d.ts +101 -0
- package/dist/esm/instance-pool.d.ts.map +1 -0
- package/dist/esm/instance-pool.js +148 -0
- package/dist/esm/instance-pool.js.map +1 -0
- package/dist/esm/managed-database-move-operation-result.d.ts +30 -0
- package/dist/esm/managed-database-move-operation-result.d.ts.map +1 -0
- package/dist/esm/managed-database-move-operation-result.js +58 -0
- package/dist/esm/managed-database-move-operation-result.js.map +1 -0
- package/dist/esm/managed-instance.d.ts +1555 -0
- package/dist/esm/managed-instance.d.ts.map +1 -0
- package/dist/esm/managed-instance.js +2234 -0
- package/dist/esm/managed-instance.js.map +1 -0
- package/dist/esm/package.json +8 -0
- package/dist/esm/resource-group-long-term-retention-managed-instance-backup.d.ts +33 -0
- package/dist/esm/resource-group-long-term-retention-managed-instance-backup.d.ts.map +1 -0
- package/dist/esm/resource-group-long-term-retention-managed-instance-backup.js +61 -0
- package/dist/esm/resource-group-long-term-retention-managed-instance-backup.js.map +1 -0
- package/dist/esm/server-trust-group.d.ts +48 -0
- package/dist/esm/server-trust-group.d.ts.map +1 -0
- package/dist/esm/server-trust-group.js +63 -0
- package/dist/esm/server-trust-group.js.map +1 -0
- package/dist/esm/server.d.ts +3137 -0
- package/dist/esm/server.d.ts.map +1 -0
- package/dist/esm/server.js +4486 -0
- package/dist/esm/server.js.map +1 -0
- package/dist/esm/subscription-long-term-retention-backup.d.ts +33 -0
- package/dist/esm/subscription-long-term-retention-backup.d.ts.map +1 -0
- package/dist/esm/subscription-long-term-retention-backup.js +61 -0
- package/dist/esm/subscription-long-term-retention-backup.js.map +1 -0
- package/dist/esm/time-zone.d.ts +30 -0
- package/dist/esm/time-zone.d.ts.map +1 -0
- package/dist/esm/time-zone.js +58 -0
- package/dist/esm/time-zone.js.map +1 -0
- package/dist/esm/types.d.ts +13481 -0
- package/dist/esm/types.d.ts.map +1 -0
- package/dist/esm/types.js +3035 -0
- package/dist/esm/types.js.map +1 -0
- package/dist/esm/usage.d.ts +33 -0
- package/dist/esm/usage.d.ts.map +1 -0
- package/dist/esm/usage.js +61 -0
- package/dist/esm/usage.js.map +1 -0
- package/dist/esm/virtual-cluster.d.ts +66 -0
- package/dist/esm/virtual-cluster.d.ts.map +1 -0
- package/dist/esm/virtual-cluster.js +85 -0
- package/dist/esm/virtual-cluster.js.map +1 -0
- package/package.json +103 -3
|
@@ -0,0 +1,4604 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var server_exports = {};
|
|
19
|
+
__export(server_exports, {
|
|
20
|
+
BackupShortTermRetentionPolicy: () => BackupShortTermRetentionPolicy,
|
|
21
|
+
ConnectionPolicy: () => ConnectionPolicy,
|
|
22
|
+
Credential: () => Credential,
|
|
23
|
+
DataMaskingPolicy: () => DataMaskingPolicy,
|
|
24
|
+
DataWarehouseUserActivities: () => DataWarehouseUserActivities,
|
|
25
|
+
DatabaseAdvancedThreatProtection: () => DatabaseAdvancedThreatProtection,
|
|
26
|
+
DatabaseAutomaticTuning: () => DatabaseAutomaticTuning,
|
|
27
|
+
DatabaseBlobAuditingPolicy: () => DatabaseBlobAuditingPolicy,
|
|
28
|
+
DevOpsAuditingSetting: () => DevOpsAuditingSetting,
|
|
29
|
+
ElasticPool: () => ElasticPool,
|
|
30
|
+
ExtendedDatabaseBlobAuditingPolicy: () => ExtendedDatabaseBlobAuditingPolicy,
|
|
31
|
+
ExtendedServerBlobAuditingPolicy: () => ExtendedServerBlobAuditingPolicy,
|
|
32
|
+
Extension: () => Extension,
|
|
33
|
+
FailoverGroup: () => FailoverGroup,
|
|
34
|
+
FirewallRule: () => FirewallRule,
|
|
35
|
+
GeoBackupPolicy: () => GeoBackupPolicy,
|
|
36
|
+
IPv6FirewallRule: () => IPv6FirewallRule,
|
|
37
|
+
Job: () => Job,
|
|
38
|
+
JobAgent: () => JobAgent,
|
|
39
|
+
LongTermRetentionPolicy: () => LongTermRetentionPolicy,
|
|
40
|
+
NetworkSecurityPerimeterConfiguration: () => NetworkSecurityPerimeterConfiguration,
|
|
41
|
+
OutboundFirewallRule: () => OutboundFirewallRule,
|
|
42
|
+
PrivateEndpoint: () => PrivateEndpoint,
|
|
43
|
+
PrivateLinkResource: () => PrivateLinkResource,
|
|
44
|
+
RecommendedAction: () => RecommendedAction,
|
|
45
|
+
RecoverableDatabase: () => RecoverableDatabase,
|
|
46
|
+
ReplicationLink: () => ReplicationLink,
|
|
47
|
+
RestorableDroppedDatabase: () => RestorableDroppedDatabase,
|
|
48
|
+
RestorePoint: () => RestorePoint,
|
|
49
|
+
Rule: () => Rule,
|
|
50
|
+
Server: () => Server,
|
|
51
|
+
ServerAdministrator: () => ServerAdministrator,
|
|
52
|
+
ServerAdvancedThreatProtection: () => ServerAdvancedThreatProtection,
|
|
53
|
+
ServerAutomaticTuning: () => ServerAutomaticTuning,
|
|
54
|
+
ServerAzureAdOnlyAuthentication: () => ServerAzureAdOnlyAuthentication,
|
|
55
|
+
ServerDatabase: () => ServerDatabase,
|
|
56
|
+
ServerDatabaseLedgerDigestUpload: () => ServerDatabaseLedgerDigestUpload,
|
|
57
|
+
ServerDatabaseSecurityAlertPolicy: () => ServerDatabaseSecurityAlertPolicy,
|
|
58
|
+
ServerDatabaseTransparentDataEncryption: () => ServerDatabaseTransparentDataEncryption,
|
|
59
|
+
ServerDnsAlias: () => ServerDnsAlias,
|
|
60
|
+
ServerEncryptionProtector: () => ServerEncryptionProtector,
|
|
61
|
+
ServerKey: () => ServerKey,
|
|
62
|
+
ServerPrivateEndpointConnection: () => ServerPrivateEndpointConnection,
|
|
63
|
+
ServerSecurityAlertPolicy: () => ServerSecurityAlertPolicy,
|
|
64
|
+
ServerVulnerabilityAssessment: () => ServerVulnerabilityAssessment,
|
|
65
|
+
SqlDatabaseAdvisor: () => SqlDatabaseAdvisor,
|
|
66
|
+
SqlDatabaseColumn: () => SqlDatabaseColumn,
|
|
67
|
+
SqlDatabaseSchema: () => SqlDatabaseSchema,
|
|
68
|
+
SqlDatabaseSensitivityLabel: () => SqlDatabaseSensitivityLabel,
|
|
69
|
+
SqlDatabaseSqlVulnerabilityAssessment: () => SqlDatabaseSqlVulnerabilityAssessment,
|
|
70
|
+
SqlDatabaseSqlVulnerabilityAssessmentBaseline: () => SqlDatabaseSqlVulnerabilityAssessmentBaseline,
|
|
71
|
+
SqlDatabaseSqlVulnerabilityAssessmentBaselineRule: () => SqlDatabaseSqlVulnerabilityAssessmentBaselineRule,
|
|
72
|
+
SqlDatabaseSqlVulnerabilityAssessmentScan: () => SqlDatabaseSqlVulnerabilityAssessmentScan,
|
|
73
|
+
SqlDatabaseSqlVulnerabilityAssessmentScanResult: () => SqlDatabaseSqlVulnerabilityAssessmentScanResult,
|
|
74
|
+
SqlDatabaseTable: () => SqlDatabaseTable,
|
|
75
|
+
SqlDatabaseVulnerabilityAssessment: () => SqlDatabaseVulnerabilityAssessment,
|
|
76
|
+
SqlDatabaseVulnerabilityAssessmentRuleBaseline: () => SqlDatabaseVulnerabilityAssessmentRuleBaseline,
|
|
77
|
+
SqlDatabaseVulnerabilityAssessmentScan: () => SqlDatabaseVulnerabilityAssessmentScan,
|
|
78
|
+
SqlServerAdvisor: () => SqlServerAdvisor,
|
|
79
|
+
SqlServerBlobAuditingPolicy: () => SqlServerBlobAuditingPolicy,
|
|
80
|
+
SqlServerJobExecution: () => SqlServerJobExecution,
|
|
81
|
+
SqlServerJobExecutionStep: () => SqlServerJobExecutionStep,
|
|
82
|
+
SqlServerJobExecutionStepTarget: () => SqlServerJobExecutionStepTarget,
|
|
83
|
+
SqlServerJobStep: () => SqlServerJobStep,
|
|
84
|
+
SqlServerJobVersionStep: () => SqlServerJobVersionStep,
|
|
85
|
+
SqlServerSqlVulnerabilityAssessment: () => SqlServerSqlVulnerabilityAssessment,
|
|
86
|
+
SyncAgent: () => SyncAgent,
|
|
87
|
+
SyncGroup: () => SyncGroup,
|
|
88
|
+
SyncMember: () => SyncMember,
|
|
89
|
+
TargetGroup: () => TargetGroup,
|
|
90
|
+
Version: () => Version,
|
|
91
|
+
VirtualNetworkRule: () => VirtualNetworkRule,
|
|
92
|
+
WorkloadClassifier: () => WorkloadClassifier,
|
|
93
|
+
WorkloadGroup: () => WorkloadGroup
|
|
94
|
+
});
|
|
95
|
+
module.exports = __toCommonJS(server_exports);
|
|
96
|
+
var import_provisioning_core = require("@azure/provisioning-core");
|
|
97
|
+
var import_internal = require("@azure/provisioning-core/internal");
|
|
98
|
+
var import_types = require("./types.js");
|
|
99
|
+
const API_VERSION = "2025-01-01";
|
|
100
|
+
class ServerAdministrator extends import_provisioning_core.Resource {
|
|
101
|
+
static resourceType = "Microsoft.Sql/servers/administrators";
|
|
102
|
+
static apiVersion = API_VERSION;
|
|
103
|
+
static namingRules = {
|
|
104
|
+
abbreviation: "a",
|
|
105
|
+
pattern: {
|
|
106
|
+
regex: ""
|
|
107
|
+
},
|
|
108
|
+
scope: "parent"
|
|
109
|
+
};
|
|
110
|
+
static {
|
|
111
|
+
this.registerShape(
|
|
112
|
+
(0, import_internal.createFlatModelShape)({
|
|
113
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
114
|
+
properties: {
|
|
115
|
+
armPath: ["properties"],
|
|
116
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.administratorPropertiesShape)
|
|
117
|
+
}
|
|
118
|
+
})
|
|
119
|
+
);
|
|
120
|
+
this.register();
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
124
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
125
|
+
*
|
|
126
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
127
|
+
*/
|
|
128
|
+
static buildResourceProps(props) {
|
|
129
|
+
return {
|
|
130
|
+
...props,
|
|
131
|
+
type: ServerAdministrator.resourceType,
|
|
132
|
+
apiVersion: ServerAdministrator.apiVersion
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
constructor(context, props, options) {
|
|
136
|
+
super(context, ServerAdministrator.buildResourceProps(props), options);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The name of server active directory administrator.
|
|
140
|
+
*/
|
|
141
|
+
get name() {
|
|
142
|
+
return this.expr("name");
|
|
143
|
+
}
|
|
144
|
+
set name(value) {
|
|
145
|
+
this.setProperty("name", value);
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Resource properties.
|
|
149
|
+
*/
|
|
150
|
+
get properties() {
|
|
151
|
+
return this.expr("properties");
|
|
152
|
+
}
|
|
153
|
+
set properties(value) {
|
|
154
|
+
this.setProperty("properties", value);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
class ServerAdvancedThreatProtection extends import_provisioning_core.Resource {
|
|
158
|
+
static resourceType = "Microsoft.Sql/servers/advancedThreatProtectionSettings";
|
|
159
|
+
static apiVersion = API_VERSION;
|
|
160
|
+
static namingRules = {
|
|
161
|
+
abbreviation: "atps",
|
|
162
|
+
pattern: {
|
|
163
|
+
regex: ""
|
|
164
|
+
},
|
|
165
|
+
scope: "parent"
|
|
166
|
+
};
|
|
167
|
+
static {
|
|
168
|
+
this.registerShape(
|
|
169
|
+
(0, import_internal.createFlatModelShape)({
|
|
170
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
171
|
+
properties: {
|
|
172
|
+
armPath: ["properties"],
|
|
173
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.advancedThreatProtectionPropertiesShape)
|
|
174
|
+
}
|
|
175
|
+
})
|
|
176
|
+
);
|
|
177
|
+
this.register();
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
181
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
182
|
+
*
|
|
183
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
184
|
+
*/
|
|
185
|
+
static buildResourceProps(props) {
|
|
186
|
+
return {
|
|
187
|
+
...props,
|
|
188
|
+
type: ServerAdvancedThreatProtection.resourceType,
|
|
189
|
+
apiVersion: ServerAdvancedThreatProtection.apiVersion
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
constructor(context, props, options) {
|
|
193
|
+
super(context, ServerAdvancedThreatProtection.buildResourceProps(props), options);
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* The name of the Advanced Threat Protection state.
|
|
197
|
+
*/
|
|
198
|
+
get name() {
|
|
199
|
+
return this.expr("name");
|
|
200
|
+
}
|
|
201
|
+
set name(value) {
|
|
202
|
+
this.setProperty("name", value);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Resource properties.
|
|
206
|
+
*/
|
|
207
|
+
get properties() {
|
|
208
|
+
return this.expr("properties");
|
|
209
|
+
}
|
|
210
|
+
set properties(value) {
|
|
211
|
+
this.setProperty("properties", value);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
class SqlServerAdvisor extends import_provisioning_core.Resource {
|
|
215
|
+
static resourceType = "Microsoft.Sql/servers/advisors";
|
|
216
|
+
static apiVersion = API_VERSION;
|
|
217
|
+
static namingRules = {
|
|
218
|
+
abbreviation: "a",
|
|
219
|
+
scope: "parent"
|
|
220
|
+
};
|
|
221
|
+
static {
|
|
222
|
+
this.registerShape(
|
|
223
|
+
(0, import_internal.createFlatModelShape)({
|
|
224
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
225
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
226
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
227
|
+
properties: {
|
|
228
|
+
armPath: ["properties"],
|
|
229
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.advisorPropertiesShape),
|
|
230
|
+
readOnly: true
|
|
231
|
+
}
|
|
232
|
+
})
|
|
233
|
+
);
|
|
234
|
+
this.register();
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
238
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
239
|
+
*
|
|
240
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
241
|
+
*/
|
|
242
|
+
static buildResourceProps(props) {
|
|
243
|
+
return {
|
|
244
|
+
...props,
|
|
245
|
+
type: SqlServerAdvisor.resourceType,
|
|
246
|
+
apiVersion: SqlServerAdvisor.apiVersion
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
constructor(context, props, options) {
|
|
250
|
+
super(context, SqlServerAdvisor.buildResourceProps(props), options);
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Resource kind.
|
|
254
|
+
*/
|
|
255
|
+
get kind() {
|
|
256
|
+
return this.expr("kind");
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Resource location.
|
|
260
|
+
*/
|
|
261
|
+
get location() {
|
|
262
|
+
return this.expr("location");
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* The name of the Database Advisor.
|
|
266
|
+
*/
|
|
267
|
+
get name() {
|
|
268
|
+
return this.expr("name");
|
|
269
|
+
}
|
|
270
|
+
set name(value) {
|
|
271
|
+
this.setProperty("name", value);
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Resource properties.
|
|
275
|
+
*/
|
|
276
|
+
get properties() {
|
|
277
|
+
return this.expr("properties");
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
class SqlServerBlobAuditingPolicy extends import_provisioning_core.Resource {
|
|
281
|
+
static resourceType = "Microsoft.Sql/servers/auditingSettings";
|
|
282
|
+
static apiVersion = API_VERSION;
|
|
283
|
+
static namingRules = {
|
|
284
|
+
abbreviation: "as",
|
|
285
|
+
scope: "parent"
|
|
286
|
+
};
|
|
287
|
+
static {
|
|
288
|
+
this.registerShape(
|
|
289
|
+
(0, import_internal.createFlatModelShape)({
|
|
290
|
+
name: { armPath: ["name"], value: (0, import_internal.createEnumShape)() },
|
|
291
|
+
properties: {
|
|
292
|
+
armPath: ["properties"],
|
|
293
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.serverBlobAuditingPolicyPropertiesShape)
|
|
294
|
+
}
|
|
295
|
+
})
|
|
296
|
+
);
|
|
297
|
+
this.register();
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
301
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
302
|
+
*
|
|
303
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
304
|
+
*/
|
|
305
|
+
static buildResourceProps(props) {
|
|
306
|
+
return {
|
|
307
|
+
...props,
|
|
308
|
+
type: SqlServerBlobAuditingPolicy.resourceType,
|
|
309
|
+
apiVersion: SqlServerBlobAuditingPolicy.apiVersion
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
constructor(context, props, options) {
|
|
313
|
+
super(context, SqlServerBlobAuditingPolicy.buildResourceProps(props), options);
|
|
314
|
+
}
|
|
315
|
+
get name() {
|
|
316
|
+
return this.expr("name");
|
|
317
|
+
}
|
|
318
|
+
set name(value) {
|
|
319
|
+
this.setProperty("name", value);
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Resource properties.
|
|
323
|
+
*/
|
|
324
|
+
get properties() {
|
|
325
|
+
return this.expr("properties");
|
|
326
|
+
}
|
|
327
|
+
set properties(value) {
|
|
328
|
+
this.setProperty("properties", value);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
class ServerAutomaticTuning extends import_provisioning_core.Resource {
|
|
332
|
+
static resourceType = "Microsoft.Sql/servers/automaticTuning";
|
|
333
|
+
static apiVersion = API_VERSION;
|
|
334
|
+
static {
|
|
335
|
+
this.registerShape(
|
|
336
|
+
(0, import_internal.createFlatModelShape)({
|
|
337
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringLiteralShape)(), readOnly: true },
|
|
338
|
+
properties: {
|
|
339
|
+
armPath: ["properties"],
|
|
340
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.automaticTuningServerPropertiesShape),
|
|
341
|
+
readOnly: true
|
|
342
|
+
}
|
|
343
|
+
})
|
|
344
|
+
);
|
|
345
|
+
this.register();
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
349
|
+
* resource metadata and the fixed singleton `name`. Shared by ordinary construction and internal
|
|
350
|
+
* resource reconstruction.
|
|
351
|
+
*
|
|
352
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
353
|
+
*/
|
|
354
|
+
static buildResourceProps(props) {
|
|
355
|
+
return {
|
|
356
|
+
...props,
|
|
357
|
+
type: ServerAutomaticTuning.resourceType,
|
|
358
|
+
apiVersion: ServerAutomaticTuning.apiVersion,
|
|
359
|
+
name: "current"
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
constructor(context, props, options) {
|
|
363
|
+
super(context, ServerAutomaticTuning.buildResourceProps(props), options);
|
|
364
|
+
}
|
|
365
|
+
get name() {
|
|
366
|
+
return this.expr("name");
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* Resource properties.
|
|
370
|
+
*/
|
|
371
|
+
get properties() {
|
|
372
|
+
return this.expr("properties");
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
class ServerAzureAdOnlyAuthentication extends import_provisioning_core.Resource {
|
|
376
|
+
static resourceType = "Microsoft.Sql/servers/azureADOnlyAuthentications";
|
|
377
|
+
static apiVersion = API_VERSION;
|
|
378
|
+
static namingRules = {
|
|
379
|
+
abbreviation: "aaa",
|
|
380
|
+
pattern: {
|
|
381
|
+
regex: ""
|
|
382
|
+
},
|
|
383
|
+
scope: "parent"
|
|
384
|
+
};
|
|
385
|
+
static {
|
|
386
|
+
this.registerShape(
|
|
387
|
+
(0, import_internal.createFlatModelShape)({
|
|
388
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
389
|
+
properties: {
|
|
390
|
+
armPath: ["properties"],
|
|
391
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.azureAdOnlyAuthPropertiesShape)
|
|
392
|
+
}
|
|
393
|
+
})
|
|
394
|
+
);
|
|
395
|
+
this.register();
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
399
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
400
|
+
*
|
|
401
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
402
|
+
*/
|
|
403
|
+
static buildResourceProps(props) {
|
|
404
|
+
return {
|
|
405
|
+
...props,
|
|
406
|
+
type: ServerAzureAdOnlyAuthentication.resourceType,
|
|
407
|
+
apiVersion: ServerAzureAdOnlyAuthentication.apiVersion
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
constructor(context, props, options) {
|
|
411
|
+
super(context, ServerAzureAdOnlyAuthentication.buildResourceProps(props), options);
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* The name of server azure active directory only authentication.
|
|
415
|
+
*/
|
|
416
|
+
get name() {
|
|
417
|
+
return this.expr("name");
|
|
418
|
+
}
|
|
419
|
+
set name(value) {
|
|
420
|
+
this.setProperty("name", value);
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* Resource properties.
|
|
424
|
+
*/
|
|
425
|
+
get properties() {
|
|
426
|
+
return this.expr("properties");
|
|
427
|
+
}
|
|
428
|
+
set properties(value) {
|
|
429
|
+
this.setProperty("properties", value);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
class ConnectionPolicy extends import_provisioning_core.Resource {
|
|
433
|
+
static resourceType = "Microsoft.Sql/servers/connectionPolicies";
|
|
434
|
+
static apiVersion = API_VERSION;
|
|
435
|
+
static namingRules = {
|
|
436
|
+
abbreviation: "cp",
|
|
437
|
+
pattern: {
|
|
438
|
+
regex: ""
|
|
439
|
+
},
|
|
440
|
+
scope: "parent"
|
|
441
|
+
};
|
|
442
|
+
static {
|
|
443
|
+
this.registerShape(
|
|
444
|
+
(0, import_internal.createFlatModelShape)({
|
|
445
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
446
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
447
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
448
|
+
properties: {
|
|
449
|
+
armPath: ["properties"],
|
|
450
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.serverConnectionPolicyPropertiesShape)
|
|
451
|
+
}
|
|
452
|
+
})
|
|
453
|
+
);
|
|
454
|
+
this.register();
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
458
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
459
|
+
*
|
|
460
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
461
|
+
*/
|
|
462
|
+
static buildResourceProps(props) {
|
|
463
|
+
return {
|
|
464
|
+
...props,
|
|
465
|
+
type: ConnectionPolicy.resourceType,
|
|
466
|
+
apiVersion: ConnectionPolicy.apiVersion
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
constructor(context, props, options) {
|
|
470
|
+
super(context, ConnectionPolicy.buildResourceProps(props), options);
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Metadata used for the Azure portal experience.
|
|
474
|
+
*/
|
|
475
|
+
get kind() {
|
|
476
|
+
return this.expr("kind");
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Resource location.
|
|
480
|
+
*/
|
|
481
|
+
get location() {
|
|
482
|
+
return this.expr("location");
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* The name of the connection policy.
|
|
486
|
+
*/
|
|
487
|
+
get name() {
|
|
488
|
+
return this.expr("name");
|
|
489
|
+
}
|
|
490
|
+
set name(value) {
|
|
491
|
+
this.setProperty("name", value);
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* Resource properties.
|
|
495
|
+
*/
|
|
496
|
+
get properties() {
|
|
497
|
+
return this.expr("properties");
|
|
498
|
+
}
|
|
499
|
+
set properties(value) {
|
|
500
|
+
this.setProperty("properties", value);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
class DatabaseAdvancedThreatProtection extends import_provisioning_core.Resource {
|
|
504
|
+
static resourceType = "Microsoft.Sql/servers/databases/advancedThreatProtectionSettings";
|
|
505
|
+
static apiVersion = API_VERSION;
|
|
506
|
+
static namingRules = {
|
|
507
|
+
abbreviation: "atps",
|
|
508
|
+
pattern: {
|
|
509
|
+
regex: ""
|
|
510
|
+
},
|
|
511
|
+
scope: "parent"
|
|
512
|
+
};
|
|
513
|
+
static {
|
|
514
|
+
this.registerShape(
|
|
515
|
+
(0, import_internal.createFlatModelShape)({
|
|
516
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
517
|
+
properties: {
|
|
518
|
+
armPath: ["properties"],
|
|
519
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.advancedThreatProtectionPropertiesShape)
|
|
520
|
+
}
|
|
521
|
+
})
|
|
522
|
+
);
|
|
523
|
+
this.register();
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
527
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
528
|
+
*
|
|
529
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
530
|
+
*/
|
|
531
|
+
static buildResourceProps(props) {
|
|
532
|
+
return {
|
|
533
|
+
...props,
|
|
534
|
+
type: DatabaseAdvancedThreatProtection.resourceType,
|
|
535
|
+
apiVersion: DatabaseAdvancedThreatProtection.apiVersion
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
constructor(context, props, options) {
|
|
539
|
+
super(context, DatabaseAdvancedThreatProtection.buildResourceProps(props), options);
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* The name of the Advanced Threat Protection state.
|
|
543
|
+
*/
|
|
544
|
+
get name() {
|
|
545
|
+
return this.expr("name");
|
|
546
|
+
}
|
|
547
|
+
set name(value) {
|
|
548
|
+
this.setProperty("name", value);
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Resource properties.
|
|
552
|
+
*/
|
|
553
|
+
get properties() {
|
|
554
|
+
return this.expr("properties");
|
|
555
|
+
}
|
|
556
|
+
set properties(value) {
|
|
557
|
+
this.setProperty("properties", value);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
class RecommendedAction extends import_provisioning_core.Resource {
|
|
561
|
+
static resourceType = "Microsoft.Sql/servers/databases/advisors/recommendedActions";
|
|
562
|
+
static apiVersion = API_VERSION;
|
|
563
|
+
static namingRules = {
|
|
564
|
+
abbreviation: "ra",
|
|
565
|
+
pattern: {
|
|
566
|
+
regex: ""
|
|
567
|
+
},
|
|
568
|
+
scope: "parent"
|
|
569
|
+
};
|
|
570
|
+
static {
|
|
571
|
+
this.registerShape(
|
|
572
|
+
(0, import_internal.createFlatModelShape)({
|
|
573
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
574
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
575
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
576
|
+
properties: {
|
|
577
|
+
armPath: ["properties"],
|
|
578
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.recommendedActionPropertiesShape),
|
|
579
|
+
readOnly: true
|
|
580
|
+
}
|
|
581
|
+
})
|
|
582
|
+
);
|
|
583
|
+
this.register();
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
587
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
588
|
+
*
|
|
589
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
590
|
+
*/
|
|
591
|
+
static buildResourceProps(props) {
|
|
592
|
+
return {
|
|
593
|
+
...props,
|
|
594
|
+
type: RecommendedAction.resourceType,
|
|
595
|
+
apiVersion: RecommendedAction.apiVersion
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
constructor(context, props, options) {
|
|
599
|
+
super(context, RecommendedAction.buildResourceProps(props), options);
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Resource kind.
|
|
603
|
+
*/
|
|
604
|
+
get kind() {
|
|
605
|
+
return this.expr("kind");
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* Resource location.
|
|
609
|
+
*/
|
|
610
|
+
get location() {
|
|
611
|
+
return this.expr("location");
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* The name of Database Recommended Action.
|
|
615
|
+
*/
|
|
616
|
+
get name() {
|
|
617
|
+
return this.expr("name");
|
|
618
|
+
}
|
|
619
|
+
set name(value) {
|
|
620
|
+
this.setProperty("name", value);
|
|
621
|
+
}
|
|
622
|
+
/**
|
|
623
|
+
* Resource properties.
|
|
624
|
+
*/
|
|
625
|
+
get properties() {
|
|
626
|
+
return this.expr("properties");
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
class SqlDatabaseAdvisor extends import_provisioning_core.Resource {
|
|
630
|
+
static resourceType = "Microsoft.Sql/servers/databases/advisors";
|
|
631
|
+
static apiVersion = API_VERSION;
|
|
632
|
+
static namingRules = {
|
|
633
|
+
abbreviation: "a",
|
|
634
|
+
scope: "parent"
|
|
635
|
+
};
|
|
636
|
+
static {
|
|
637
|
+
this.registerShape(
|
|
638
|
+
(0, import_internal.createFlatModelShape)({
|
|
639
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
640
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
641
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
642
|
+
properties: {
|
|
643
|
+
armPath: ["properties"],
|
|
644
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.advisorPropertiesShape),
|
|
645
|
+
readOnly: true
|
|
646
|
+
}
|
|
647
|
+
})
|
|
648
|
+
);
|
|
649
|
+
this.register();
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
653
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
654
|
+
*
|
|
655
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
656
|
+
*/
|
|
657
|
+
static buildResourceProps(props) {
|
|
658
|
+
return {
|
|
659
|
+
...props,
|
|
660
|
+
type: SqlDatabaseAdvisor.resourceType,
|
|
661
|
+
apiVersion: SqlDatabaseAdvisor.apiVersion
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
constructor(context, props, options) {
|
|
665
|
+
super(context, SqlDatabaseAdvisor.buildResourceProps(props), options);
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* Resource kind.
|
|
669
|
+
*/
|
|
670
|
+
get kind() {
|
|
671
|
+
return this.expr("kind");
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Resource location.
|
|
675
|
+
*/
|
|
676
|
+
get location() {
|
|
677
|
+
return this.expr("location");
|
|
678
|
+
}
|
|
679
|
+
/**
|
|
680
|
+
* The name of the Database Advisor.
|
|
681
|
+
*/
|
|
682
|
+
get name() {
|
|
683
|
+
return this.expr("name");
|
|
684
|
+
}
|
|
685
|
+
set name(value) {
|
|
686
|
+
this.setProperty("name", value);
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* Resource properties.
|
|
690
|
+
*/
|
|
691
|
+
get properties() {
|
|
692
|
+
return this.expr("properties");
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
class DatabaseBlobAuditingPolicy extends import_provisioning_core.Resource {
|
|
696
|
+
static resourceType = "Microsoft.Sql/servers/databases/auditingSettings";
|
|
697
|
+
static apiVersion = API_VERSION;
|
|
698
|
+
static namingRules = {
|
|
699
|
+
abbreviation: "as",
|
|
700
|
+
scope: "parent"
|
|
701
|
+
};
|
|
702
|
+
static {
|
|
703
|
+
this.registerShape(
|
|
704
|
+
(0, import_internal.createFlatModelShape)({
|
|
705
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
706
|
+
name: { armPath: ["name"], value: (0, import_internal.createEnumShape)() },
|
|
707
|
+
properties: {
|
|
708
|
+
armPath: ["properties"],
|
|
709
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.databaseBlobAuditingPolicyPropertiesShape)
|
|
710
|
+
}
|
|
711
|
+
})
|
|
712
|
+
);
|
|
713
|
+
this.register();
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
717
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
718
|
+
*
|
|
719
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
720
|
+
*/
|
|
721
|
+
static buildResourceProps(props) {
|
|
722
|
+
return {
|
|
723
|
+
...props,
|
|
724
|
+
type: DatabaseBlobAuditingPolicy.resourceType,
|
|
725
|
+
apiVersion: DatabaseBlobAuditingPolicy.apiVersion
|
|
726
|
+
};
|
|
727
|
+
}
|
|
728
|
+
constructor(context, props, options) {
|
|
729
|
+
super(context, DatabaseBlobAuditingPolicy.buildResourceProps(props), options);
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* Resource kind.
|
|
733
|
+
*/
|
|
734
|
+
get kind() {
|
|
735
|
+
return this.expr("kind");
|
|
736
|
+
}
|
|
737
|
+
get name() {
|
|
738
|
+
return this.expr("name");
|
|
739
|
+
}
|
|
740
|
+
set name(value) {
|
|
741
|
+
this.setProperty("name", value);
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* Resource properties.
|
|
745
|
+
*/
|
|
746
|
+
get properties() {
|
|
747
|
+
return this.expr("properties");
|
|
748
|
+
}
|
|
749
|
+
set properties(value) {
|
|
750
|
+
this.setProperty("properties", value);
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
class DatabaseAutomaticTuning extends import_provisioning_core.Resource {
|
|
754
|
+
static resourceType = "Microsoft.Sql/servers/databases/automaticTuning";
|
|
755
|
+
static apiVersion = API_VERSION;
|
|
756
|
+
static {
|
|
757
|
+
this.registerShape(
|
|
758
|
+
(0, import_internal.createFlatModelShape)({
|
|
759
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringLiteralShape)(), readOnly: true },
|
|
760
|
+
properties: {
|
|
761
|
+
armPath: ["properties"],
|
|
762
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.databaseAutomaticTuningPropertiesShape),
|
|
763
|
+
readOnly: true
|
|
764
|
+
}
|
|
765
|
+
})
|
|
766
|
+
);
|
|
767
|
+
this.register();
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
771
|
+
* resource metadata and the fixed singleton `name`. Shared by ordinary construction and internal
|
|
772
|
+
* resource reconstruction.
|
|
773
|
+
*
|
|
774
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
775
|
+
*/
|
|
776
|
+
static buildResourceProps(props) {
|
|
777
|
+
return {
|
|
778
|
+
...props,
|
|
779
|
+
type: DatabaseAutomaticTuning.resourceType,
|
|
780
|
+
apiVersion: DatabaseAutomaticTuning.apiVersion,
|
|
781
|
+
name: "current"
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
constructor(context, props, options) {
|
|
785
|
+
super(context, DatabaseAutomaticTuning.buildResourceProps(props), options);
|
|
786
|
+
}
|
|
787
|
+
get name() {
|
|
788
|
+
return this.expr("name");
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* Resource properties.
|
|
792
|
+
*/
|
|
793
|
+
get properties() {
|
|
794
|
+
return this.expr("properties");
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
class LongTermRetentionPolicy extends import_provisioning_core.Resource {
|
|
798
|
+
static resourceType = "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies";
|
|
799
|
+
static apiVersion = API_VERSION;
|
|
800
|
+
static namingRules = {
|
|
801
|
+
abbreviation: "bltrp",
|
|
802
|
+
pattern: {
|
|
803
|
+
regex: ""
|
|
804
|
+
},
|
|
805
|
+
scope: "parent"
|
|
806
|
+
};
|
|
807
|
+
static {
|
|
808
|
+
this.registerShape(
|
|
809
|
+
(0, import_internal.createFlatModelShape)({
|
|
810
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
811
|
+
properties: {
|
|
812
|
+
armPath: ["properties"],
|
|
813
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.longTermRetentionPolicyPropertiesShape)
|
|
814
|
+
}
|
|
815
|
+
})
|
|
816
|
+
);
|
|
817
|
+
this.register();
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
821
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
822
|
+
*
|
|
823
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
824
|
+
*/
|
|
825
|
+
static buildResourceProps(props) {
|
|
826
|
+
return {
|
|
827
|
+
...props,
|
|
828
|
+
type: LongTermRetentionPolicy.resourceType,
|
|
829
|
+
apiVersion: LongTermRetentionPolicy.apiVersion
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
constructor(context, props, options) {
|
|
833
|
+
super(context, LongTermRetentionPolicy.buildResourceProps(props), options);
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* The policy name. Should always be Default.
|
|
837
|
+
*/
|
|
838
|
+
get name() {
|
|
839
|
+
return this.expr("name");
|
|
840
|
+
}
|
|
841
|
+
set name(value) {
|
|
842
|
+
this.setProperty("name", value);
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* Resource properties.
|
|
846
|
+
*/
|
|
847
|
+
get properties() {
|
|
848
|
+
return this.expr("properties");
|
|
849
|
+
}
|
|
850
|
+
set properties(value) {
|
|
851
|
+
this.setProperty("properties", value);
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
class BackupShortTermRetentionPolicy extends import_provisioning_core.Resource {
|
|
855
|
+
static resourceType = "Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies";
|
|
856
|
+
static apiVersion = API_VERSION;
|
|
857
|
+
static namingRules = {
|
|
858
|
+
abbreviation: "bstrp",
|
|
859
|
+
pattern: {
|
|
860
|
+
regex: ""
|
|
861
|
+
},
|
|
862
|
+
scope: "parent"
|
|
863
|
+
};
|
|
864
|
+
static {
|
|
865
|
+
this.registerShape(
|
|
866
|
+
(0, import_internal.createFlatModelShape)({
|
|
867
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
868
|
+
properties: {
|
|
869
|
+
armPath: ["properties"],
|
|
870
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.backupShortTermRetentionPolicyPropertiesShape)
|
|
871
|
+
}
|
|
872
|
+
})
|
|
873
|
+
);
|
|
874
|
+
this.register();
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
878
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
879
|
+
*
|
|
880
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
881
|
+
*/
|
|
882
|
+
static buildResourceProps(props) {
|
|
883
|
+
return {
|
|
884
|
+
...props,
|
|
885
|
+
type: BackupShortTermRetentionPolicy.resourceType,
|
|
886
|
+
apiVersion: BackupShortTermRetentionPolicy.apiVersion
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
constructor(context, props, options) {
|
|
890
|
+
super(context, BackupShortTermRetentionPolicy.buildResourceProps(props), options);
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
* The policy name. Should always be default.
|
|
894
|
+
*/
|
|
895
|
+
get name() {
|
|
896
|
+
return this.expr("name");
|
|
897
|
+
}
|
|
898
|
+
set name(value) {
|
|
899
|
+
this.setProperty("name", value);
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* Resource properties.
|
|
903
|
+
*/
|
|
904
|
+
get properties() {
|
|
905
|
+
return this.expr("properties");
|
|
906
|
+
}
|
|
907
|
+
set properties(value) {
|
|
908
|
+
this.setProperty("properties", value);
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
class Rule extends import_provisioning_core.Resource {
|
|
912
|
+
static resourceType = "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules";
|
|
913
|
+
static apiVersion = API_VERSION;
|
|
914
|
+
static namingRules = {
|
|
915
|
+
abbreviation: "r",
|
|
916
|
+
scope: "parent"
|
|
917
|
+
};
|
|
918
|
+
static {
|
|
919
|
+
this.registerShape(
|
|
920
|
+
(0, import_internal.createFlatModelShape)({
|
|
921
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
922
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
923
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
924
|
+
properties: {
|
|
925
|
+
armPath: ["properties"],
|
|
926
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.dataMaskingRulePropertiesShape)
|
|
927
|
+
}
|
|
928
|
+
})
|
|
929
|
+
);
|
|
930
|
+
this.register();
|
|
931
|
+
}
|
|
932
|
+
/**
|
|
933
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
934
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
935
|
+
*
|
|
936
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
937
|
+
*/
|
|
938
|
+
static buildResourceProps(props) {
|
|
939
|
+
return {
|
|
940
|
+
...props,
|
|
941
|
+
type: Rule.resourceType,
|
|
942
|
+
apiVersion: Rule.apiVersion
|
|
943
|
+
};
|
|
944
|
+
}
|
|
945
|
+
constructor(context, props, options) {
|
|
946
|
+
super(context, Rule.buildResourceProps(props), options);
|
|
947
|
+
}
|
|
948
|
+
/**
|
|
949
|
+
* The kind of Data Masking Rule. Metadata, used for Azure portal.
|
|
950
|
+
*/
|
|
951
|
+
get kind() {
|
|
952
|
+
return this.expr("kind");
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* The location of the data masking rule.
|
|
956
|
+
*/
|
|
957
|
+
get location() {
|
|
958
|
+
return this.expr("location");
|
|
959
|
+
}
|
|
960
|
+
/**
|
|
961
|
+
* The name of the resource
|
|
962
|
+
*/
|
|
963
|
+
get name() {
|
|
964
|
+
return this.expr("name");
|
|
965
|
+
}
|
|
966
|
+
set name(value) {
|
|
967
|
+
this.setProperty("name", value);
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* Resource properties.
|
|
971
|
+
*/
|
|
972
|
+
get properties() {
|
|
973
|
+
return this.expr("properties");
|
|
974
|
+
}
|
|
975
|
+
set properties(value) {
|
|
976
|
+
this.setProperty("properties", value);
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
class DataMaskingPolicy extends import_provisioning_core.Resource {
|
|
980
|
+
static resourceType = "Microsoft.Sql/servers/databases/dataMaskingPolicies";
|
|
981
|
+
static apiVersion = API_VERSION;
|
|
982
|
+
static namingRules = {
|
|
983
|
+
abbreviation: "dmp",
|
|
984
|
+
pattern: {
|
|
985
|
+
regex: ""
|
|
986
|
+
},
|
|
987
|
+
scope: "parent"
|
|
988
|
+
};
|
|
989
|
+
static {
|
|
990
|
+
this.registerShape(
|
|
991
|
+
(0, import_internal.createFlatModelShape)({
|
|
992
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
993
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
994
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
995
|
+
properties: {
|
|
996
|
+
armPath: ["properties"],
|
|
997
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.dataMaskingPolicyPropertiesShape)
|
|
998
|
+
}
|
|
999
|
+
})
|
|
1000
|
+
);
|
|
1001
|
+
this.register();
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1005
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1006
|
+
*
|
|
1007
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1008
|
+
*/
|
|
1009
|
+
static buildResourceProps(props) {
|
|
1010
|
+
return {
|
|
1011
|
+
...props,
|
|
1012
|
+
type: DataMaskingPolicy.resourceType,
|
|
1013
|
+
apiVersion: DataMaskingPolicy.apiVersion
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
constructor(context, props, options) {
|
|
1017
|
+
super(context, DataMaskingPolicy.buildResourceProps(props), options);
|
|
1018
|
+
}
|
|
1019
|
+
/**
|
|
1020
|
+
* The kind of Data Masking Policy. Metadata, used for Azure portal.
|
|
1021
|
+
*/
|
|
1022
|
+
get kind() {
|
|
1023
|
+
return this.expr("kind");
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* The location of the data masking policy.
|
|
1027
|
+
*/
|
|
1028
|
+
get location() {
|
|
1029
|
+
return this.expr("location");
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* The name of the database for which the data masking policy applies.
|
|
1033
|
+
*/
|
|
1034
|
+
get name() {
|
|
1035
|
+
return this.expr("name");
|
|
1036
|
+
}
|
|
1037
|
+
set name(value) {
|
|
1038
|
+
this.setProperty("name", value);
|
|
1039
|
+
}
|
|
1040
|
+
/**
|
|
1041
|
+
* Resource properties.
|
|
1042
|
+
*/
|
|
1043
|
+
get properties() {
|
|
1044
|
+
return this.expr("properties");
|
|
1045
|
+
}
|
|
1046
|
+
set properties(value) {
|
|
1047
|
+
this.setProperty("properties", value);
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
class DataWarehouseUserActivities extends import_provisioning_core.Resource {
|
|
1051
|
+
static resourceType = "Microsoft.Sql/servers/databases/dataWarehouseUserActivities";
|
|
1052
|
+
static apiVersion = API_VERSION;
|
|
1053
|
+
static namingRules = {
|
|
1054
|
+
abbreviation: "dwua",
|
|
1055
|
+
pattern: {
|
|
1056
|
+
regex: ""
|
|
1057
|
+
},
|
|
1058
|
+
scope: "parent"
|
|
1059
|
+
};
|
|
1060
|
+
static {
|
|
1061
|
+
this.registerShape(
|
|
1062
|
+
(0, import_internal.createFlatModelShape)({
|
|
1063
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
1064
|
+
properties: {
|
|
1065
|
+
armPath: ["properties"],
|
|
1066
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.dataWarehouseUserActivitiesPropertiesShape),
|
|
1067
|
+
readOnly: true
|
|
1068
|
+
}
|
|
1069
|
+
})
|
|
1070
|
+
);
|
|
1071
|
+
this.register();
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1075
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1076
|
+
*
|
|
1077
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1078
|
+
*/
|
|
1079
|
+
static buildResourceProps(props) {
|
|
1080
|
+
return {
|
|
1081
|
+
...props,
|
|
1082
|
+
type: DataWarehouseUserActivities.resourceType,
|
|
1083
|
+
apiVersion: DataWarehouseUserActivities.apiVersion
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
constructor(context, props, options) {
|
|
1087
|
+
super(context, DataWarehouseUserActivities.buildResourceProps(props), options);
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* The activity name of the data warehouse.
|
|
1091
|
+
*/
|
|
1092
|
+
get name() {
|
|
1093
|
+
return this.expr("name");
|
|
1094
|
+
}
|
|
1095
|
+
set name(value) {
|
|
1096
|
+
this.setProperty("name", value);
|
|
1097
|
+
}
|
|
1098
|
+
/**
|
|
1099
|
+
* Resource properties.
|
|
1100
|
+
*/
|
|
1101
|
+
get properties() {
|
|
1102
|
+
return this.expr("properties");
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
class ExtendedDatabaseBlobAuditingPolicy extends import_provisioning_core.Resource {
|
|
1106
|
+
static resourceType = "Microsoft.Sql/servers/databases/extendedAuditingSettings";
|
|
1107
|
+
static apiVersion = API_VERSION;
|
|
1108
|
+
static namingRules = {
|
|
1109
|
+
abbreviation: "eas",
|
|
1110
|
+
scope: "parent"
|
|
1111
|
+
};
|
|
1112
|
+
static {
|
|
1113
|
+
this.registerShape(
|
|
1114
|
+
(0, import_internal.createFlatModelShape)({
|
|
1115
|
+
name: { armPath: ["name"], value: (0, import_internal.createEnumShape)() },
|
|
1116
|
+
properties: {
|
|
1117
|
+
armPath: ["properties"],
|
|
1118
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.extendedDatabaseBlobAuditingPolicyPropertiesShape)
|
|
1119
|
+
}
|
|
1120
|
+
})
|
|
1121
|
+
);
|
|
1122
|
+
this.register();
|
|
1123
|
+
}
|
|
1124
|
+
/**
|
|
1125
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1126
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1127
|
+
*
|
|
1128
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1129
|
+
*/
|
|
1130
|
+
static buildResourceProps(props) {
|
|
1131
|
+
return {
|
|
1132
|
+
...props,
|
|
1133
|
+
type: ExtendedDatabaseBlobAuditingPolicy.resourceType,
|
|
1134
|
+
apiVersion: ExtendedDatabaseBlobAuditingPolicy.apiVersion
|
|
1135
|
+
};
|
|
1136
|
+
}
|
|
1137
|
+
constructor(context, props, options) {
|
|
1138
|
+
super(context, ExtendedDatabaseBlobAuditingPolicy.buildResourceProps(props), options);
|
|
1139
|
+
}
|
|
1140
|
+
get name() {
|
|
1141
|
+
return this.expr("name");
|
|
1142
|
+
}
|
|
1143
|
+
set name(value) {
|
|
1144
|
+
this.setProperty("name", value);
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
* Resource properties.
|
|
1148
|
+
*/
|
|
1149
|
+
get properties() {
|
|
1150
|
+
return this.expr("properties");
|
|
1151
|
+
}
|
|
1152
|
+
set properties(value) {
|
|
1153
|
+
this.setProperty("properties", value);
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
class Extension extends import_provisioning_core.Resource {
|
|
1157
|
+
static resourceType = "Microsoft.Sql/servers/databases/extensions";
|
|
1158
|
+
static apiVersion = API_VERSION;
|
|
1159
|
+
static namingRules = {
|
|
1160
|
+
abbreviation: "e",
|
|
1161
|
+
pattern: {
|
|
1162
|
+
regex: ""
|
|
1163
|
+
},
|
|
1164
|
+
scope: "parent"
|
|
1165
|
+
};
|
|
1166
|
+
static {
|
|
1167
|
+
this.registerShape(
|
|
1168
|
+
(0, import_internal.createFlatModelShape)({
|
|
1169
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
1170
|
+
properties: {
|
|
1171
|
+
armPath: ["properties"],
|
|
1172
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.databaseExtensionsPropertiesShape)
|
|
1173
|
+
}
|
|
1174
|
+
})
|
|
1175
|
+
);
|
|
1176
|
+
this.register();
|
|
1177
|
+
}
|
|
1178
|
+
/**
|
|
1179
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1180
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1181
|
+
*
|
|
1182
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1183
|
+
*/
|
|
1184
|
+
static buildResourceProps(props) {
|
|
1185
|
+
return {
|
|
1186
|
+
...props,
|
|
1187
|
+
type: Extension.resourceType,
|
|
1188
|
+
apiVersion: Extension.apiVersion
|
|
1189
|
+
};
|
|
1190
|
+
}
|
|
1191
|
+
constructor(context, props, options) {
|
|
1192
|
+
super(context, Extension.buildResourceProps(props), options);
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* The name of the resource
|
|
1196
|
+
*/
|
|
1197
|
+
get name() {
|
|
1198
|
+
return this.expr("name");
|
|
1199
|
+
}
|
|
1200
|
+
set name(value) {
|
|
1201
|
+
this.setProperty("name", value);
|
|
1202
|
+
}
|
|
1203
|
+
/**
|
|
1204
|
+
* Resource properties.
|
|
1205
|
+
*/
|
|
1206
|
+
get properties() {
|
|
1207
|
+
return this.expr("properties");
|
|
1208
|
+
}
|
|
1209
|
+
set properties(value) {
|
|
1210
|
+
this.setProperty("properties", value);
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
class GeoBackupPolicy extends import_provisioning_core.Resource {
|
|
1214
|
+
static resourceType = "Microsoft.Sql/servers/databases/geoBackupPolicies";
|
|
1215
|
+
static apiVersion = API_VERSION;
|
|
1216
|
+
static namingRules = {
|
|
1217
|
+
abbreviation: "gbp",
|
|
1218
|
+
pattern: {
|
|
1219
|
+
regex: ""
|
|
1220
|
+
},
|
|
1221
|
+
scope: "parent"
|
|
1222
|
+
};
|
|
1223
|
+
static {
|
|
1224
|
+
this.registerShape(
|
|
1225
|
+
(0, import_internal.createFlatModelShape)({
|
|
1226
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
1227
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
1228
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
1229
|
+
properties: {
|
|
1230
|
+
armPath: ["properties"],
|
|
1231
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.geoBackupPolicyPropertiesShape)
|
|
1232
|
+
}
|
|
1233
|
+
})
|
|
1234
|
+
);
|
|
1235
|
+
this.register();
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1239
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1240
|
+
*
|
|
1241
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1242
|
+
*/
|
|
1243
|
+
static buildResourceProps(props) {
|
|
1244
|
+
return {
|
|
1245
|
+
...props,
|
|
1246
|
+
type: GeoBackupPolicy.resourceType,
|
|
1247
|
+
apiVersion: GeoBackupPolicy.apiVersion
|
|
1248
|
+
};
|
|
1249
|
+
}
|
|
1250
|
+
constructor(context, props, options) {
|
|
1251
|
+
super(context, GeoBackupPolicy.buildResourceProps(props), options);
|
|
1252
|
+
}
|
|
1253
|
+
/**
|
|
1254
|
+
* Kind of geo backup policy. This is metadata used for the Azure portal experience.
|
|
1255
|
+
*/
|
|
1256
|
+
get kind() {
|
|
1257
|
+
return this.expr("kind");
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* Backup policy location.
|
|
1261
|
+
*/
|
|
1262
|
+
get location() {
|
|
1263
|
+
return this.expr("location");
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* The name of the Geo backup policy. This should always be 'Default'.
|
|
1267
|
+
*/
|
|
1268
|
+
get name() {
|
|
1269
|
+
return this.expr("name");
|
|
1270
|
+
}
|
|
1271
|
+
set name(value) {
|
|
1272
|
+
this.setProperty("name", value);
|
|
1273
|
+
}
|
|
1274
|
+
/**
|
|
1275
|
+
* Resource properties.
|
|
1276
|
+
*/
|
|
1277
|
+
get properties() {
|
|
1278
|
+
return this.expr("properties");
|
|
1279
|
+
}
|
|
1280
|
+
set properties(value) {
|
|
1281
|
+
this.setProperty("properties", value);
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
class ServerDatabaseLedgerDigestUpload extends import_provisioning_core.Resource {
|
|
1285
|
+
static resourceType = "Microsoft.Sql/servers/databases/ledgerDigestUploads";
|
|
1286
|
+
static apiVersion = API_VERSION;
|
|
1287
|
+
static namingRules = {
|
|
1288
|
+
abbreviation: "ldu",
|
|
1289
|
+
pattern: {
|
|
1290
|
+
regex: ""
|
|
1291
|
+
},
|
|
1292
|
+
scope: "parent"
|
|
1293
|
+
};
|
|
1294
|
+
static {
|
|
1295
|
+
this.registerShape(
|
|
1296
|
+
(0, import_internal.createFlatModelShape)({
|
|
1297
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
1298
|
+
properties: {
|
|
1299
|
+
armPath: ["properties"],
|
|
1300
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.ledgerDigestUploadsPropertiesShape)
|
|
1301
|
+
}
|
|
1302
|
+
})
|
|
1303
|
+
);
|
|
1304
|
+
this.register();
|
|
1305
|
+
}
|
|
1306
|
+
/**
|
|
1307
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1308
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1309
|
+
*
|
|
1310
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1311
|
+
*/
|
|
1312
|
+
static buildResourceProps(props) {
|
|
1313
|
+
return {
|
|
1314
|
+
...props,
|
|
1315
|
+
type: ServerDatabaseLedgerDigestUpload.resourceType,
|
|
1316
|
+
apiVersion: ServerDatabaseLedgerDigestUpload.apiVersion
|
|
1317
|
+
};
|
|
1318
|
+
}
|
|
1319
|
+
constructor(context, props, options) {
|
|
1320
|
+
super(context, ServerDatabaseLedgerDigestUpload.buildResourceProps(props), options);
|
|
1321
|
+
}
|
|
1322
|
+
get name() {
|
|
1323
|
+
return this.expr("name");
|
|
1324
|
+
}
|
|
1325
|
+
set name(value) {
|
|
1326
|
+
this.setProperty("name", value);
|
|
1327
|
+
}
|
|
1328
|
+
/**
|
|
1329
|
+
* Resource properties.
|
|
1330
|
+
*/
|
|
1331
|
+
get properties() {
|
|
1332
|
+
return this.expr("properties");
|
|
1333
|
+
}
|
|
1334
|
+
set properties(value) {
|
|
1335
|
+
this.setProperty("properties", value);
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
class ReplicationLink extends import_provisioning_core.Resource {
|
|
1339
|
+
static resourceType = "Microsoft.Sql/servers/databases/replicationLinks";
|
|
1340
|
+
static apiVersion = API_VERSION;
|
|
1341
|
+
static namingRules = {
|
|
1342
|
+
abbreviation: "rl",
|
|
1343
|
+
pattern: {
|
|
1344
|
+
regex: ""
|
|
1345
|
+
},
|
|
1346
|
+
scope: "parent"
|
|
1347
|
+
};
|
|
1348
|
+
static {
|
|
1349
|
+
this.registerShape(
|
|
1350
|
+
(0, import_internal.createFlatModelShape)({
|
|
1351
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
1352
|
+
properties: {
|
|
1353
|
+
armPath: ["properties"],
|
|
1354
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.replicationLinkPropertiesShape)
|
|
1355
|
+
}
|
|
1356
|
+
})
|
|
1357
|
+
);
|
|
1358
|
+
this.register();
|
|
1359
|
+
}
|
|
1360
|
+
/**
|
|
1361
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1362
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1363
|
+
*
|
|
1364
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1365
|
+
*/
|
|
1366
|
+
static buildResourceProps(props) {
|
|
1367
|
+
return {
|
|
1368
|
+
...props,
|
|
1369
|
+
type: ReplicationLink.resourceType,
|
|
1370
|
+
apiVersion: ReplicationLink.apiVersion
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
constructor(context, props, options) {
|
|
1374
|
+
super(context, ReplicationLink.buildResourceProps(props), options);
|
|
1375
|
+
}
|
|
1376
|
+
/**
|
|
1377
|
+
* The name of the replication link.
|
|
1378
|
+
*/
|
|
1379
|
+
get name() {
|
|
1380
|
+
return this.expr("name");
|
|
1381
|
+
}
|
|
1382
|
+
set name(value) {
|
|
1383
|
+
this.setProperty("name", value);
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* Resource properties.
|
|
1387
|
+
*/
|
|
1388
|
+
get properties() {
|
|
1389
|
+
return this.expr("properties");
|
|
1390
|
+
}
|
|
1391
|
+
set properties(value) {
|
|
1392
|
+
this.setProperty("properties", value);
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
class RestorePoint extends import_provisioning_core.Resource {
|
|
1396
|
+
static resourceType = "Microsoft.Sql/servers/databases/restorePoints";
|
|
1397
|
+
static apiVersion = API_VERSION;
|
|
1398
|
+
static namingRules = {
|
|
1399
|
+
abbreviation: "rp",
|
|
1400
|
+
pattern: {
|
|
1401
|
+
regex: ""
|
|
1402
|
+
},
|
|
1403
|
+
scope: "parent"
|
|
1404
|
+
};
|
|
1405
|
+
static {
|
|
1406
|
+
this.registerShape(
|
|
1407
|
+
(0, import_internal.createFlatModelShape)({
|
|
1408
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
1409
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
1410
|
+
properties: {
|
|
1411
|
+
armPath: ["properties"],
|
|
1412
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.restorePointPropertiesShape),
|
|
1413
|
+
readOnly: true
|
|
1414
|
+
}
|
|
1415
|
+
})
|
|
1416
|
+
);
|
|
1417
|
+
this.register();
|
|
1418
|
+
}
|
|
1419
|
+
/**
|
|
1420
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1421
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1422
|
+
*
|
|
1423
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1424
|
+
*/
|
|
1425
|
+
static buildResourceProps(props) {
|
|
1426
|
+
return {
|
|
1427
|
+
...props,
|
|
1428
|
+
type: RestorePoint.resourceType,
|
|
1429
|
+
apiVersion: RestorePoint.apiVersion
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
constructor(context, props, options) {
|
|
1433
|
+
super(context, RestorePoint.buildResourceProps(props), options);
|
|
1434
|
+
}
|
|
1435
|
+
/**
|
|
1436
|
+
* Resource location.
|
|
1437
|
+
*/
|
|
1438
|
+
get location() {
|
|
1439
|
+
return this.expr("location");
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1442
|
+
* The name of the restore point.
|
|
1443
|
+
*/
|
|
1444
|
+
get name() {
|
|
1445
|
+
return this.expr("name");
|
|
1446
|
+
}
|
|
1447
|
+
set name(value) {
|
|
1448
|
+
this.setProperty("name", value);
|
|
1449
|
+
}
|
|
1450
|
+
/**
|
|
1451
|
+
* Resource properties.
|
|
1452
|
+
*/
|
|
1453
|
+
get properties() {
|
|
1454
|
+
return this.expr("properties");
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
class SqlDatabaseSensitivityLabel extends import_provisioning_core.Resource {
|
|
1458
|
+
static resourceType = "Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels";
|
|
1459
|
+
static apiVersion = API_VERSION;
|
|
1460
|
+
static namingRules = {
|
|
1461
|
+
abbreviation: "sl",
|
|
1462
|
+
scope: "parent"
|
|
1463
|
+
};
|
|
1464
|
+
static {
|
|
1465
|
+
this.registerShape(
|
|
1466
|
+
(0, import_internal.createFlatModelShape)({
|
|
1467
|
+
managedBy: { armPath: ["managedBy"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
1468
|
+
name: { armPath: ["name"], value: (0, import_internal.createEnumShape)() },
|
|
1469
|
+
properties: {
|
|
1470
|
+
armPath: ["properties"],
|
|
1471
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.sensitivityLabelPropertiesShape)
|
|
1472
|
+
}
|
|
1473
|
+
})
|
|
1474
|
+
);
|
|
1475
|
+
this.register();
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1479
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1480
|
+
*
|
|
1481
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1482
|
+
*/
|
|
1483
|
+
static buildResourceProps(props) {
|
|
1484
|
+
return {
|
|
1485
|
+
...props,
|
|
1486
|
+
type: SqlDatabaseSensitivityLabel.resourceType,
|
|
1487
|
+
apiVersion: SqlDatabaseSensitivityLabel.apiVersion
|
|
1488
|
+
};
|
|
1489
|
+
}
|
|
1490
|
+
constructor(context, props, options) {
|
|
1491
|
+
super(context, SqlDatabaseSensitivityLabel.buildResourceProps(props), options);
|
|
1492
|
+
}
|
|
1493
|
+
/**
|
|
1494
|
+
* Resource that manages the sensitivity label.
|
|
1495
|
+
*/
|
|
1496
|
+
get managedBy() {
|
|
1497
|
+
return this.expr("managedBy");
|
|
1498
|
+
}
|
|
1499
|
+
/**
|
|
1500
|
+
* The source of the sensitivity label.
|
|
1501
|
+
*/
|
|
1502
|
+
get name() {
|
|
1503
|
+
return this.expr("name");
|
|
1504
|
+
}
|
|
1505
|
+
set name(value) {
|
|
1506
|
+
this.setProperty("name", value);
|
|
1507
|
+
}
|
|
1508
|
+
/**
|
|
1509
|
+
* Resource properties.
|
|
1510
|
+
*/
|
|
1511
|
+
get properties() {
|
|
1512
|
+
return this.expr("properties");
|
|
1513
|
+
}
|
|
1514
|
+
set properties(value) {
|
|
1515
|
+
this.setProperty("properties", value);
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
class SqlDatabaseColumn extends import_provisioning_core.Resource {
|
|
1519
|
+
static resourceType = "Microsoft.Sql/servers/databases/schemas/tables/columns";
|
|
1520
|
+
static apiVersion = API_VERSION;
|
|
1521
|
+
static namingRules = {
|
|
1522
|
+
abbreviation: "c",
|
|
1523
|
+
scope: "parent"
|
|
1524
|
+
};
|
|
1525
|
+
static {
|
|
1526
|
+
this.registerShape(
|
|
1527
|
+
(0, import_internal.createFlatModelShape)({
|
|
1528
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
1529
|
+
properties: {
|
|
1530
|
+
armPath: ["properties"],
|
|
1531
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.databaseColumnPropertiesShape),
|
|
1532
|
+
readOnly: true
|
|
1533
|
+
}
|
|
1534
|
+
})
|
|
1535
|
+
);
|
|
1536
|
+
this.register();
|
|
1537
|
+
}
|
|
1538
|
+
/**
|
|
1539
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1540
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1541
|
+
*
|
|
1542
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1543
|
+
*/
|
|
1544
|
+
static buildResourceProps(props) {
|
|
1545
|
+
return {
|
|
1546
|
+
...props,
|
|
1547
|
+
type: SqlDatabaseColumn.resourceType,
|
|
1548
|
+
apiVersion: SqlDatabaseColumn.apiVersion
|
|
1549
|
+
};
|
|
1550
|
+
}
|
|
1551
|
+
constructor(context, props, options) {
|
|
1552
|
+
super(context, SqlDatabaseColumn.buildResourceProps(props), options);
|
|
1553
|
+
}
|
|
1554
|
+
/**
|
|
1555
|
+
* The name of the column.
|
|
1556
|
+
*/
|
|
1557
|
+
get name() {
|
|
1558
|
+
return this.expr("name");
|
|
1559
|
+
}
|
|
1560
|
+
set name(value) {
|
|
1561
|
+
this.setProperty("name", value);
|
|
1562
|
+
}
|
|
1563
|
+
/**
|
|
1564
|
+
* Resource properties.
|
|
1565
|
+
*/
|
|
1566
|
+
get properties() {
|
|
1567
|
+
return this.expr("properties");
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
class SqlDatabaseTable extends import_provisioning_core.Resource {
|
|
1571
|
+
static resourceType = "Microsoft.Sql/servers/databases/schemas/tables";
|
|
1572
|
+
static apiVersion = API_VERSION;
|
|
1573
|
+
static namingRules = {
|
|
1574
|
+
abbreviation: "t",
|
|
1575
|
+
scope: "parent"
|
|
1576
|
+
};
|
|
1577
|
+
static {
|
|
1578
|
+
this.registerShape(
|
|
1579
|
+
(0, import_internal.createFlatModelShape)({
|
|
1580
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
1581
|
+
properties: {
|
|
1582
|
+
armPath: ["properties"],
|
|
1583
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.databaseTablePropertiesShape),
|
|
1584
|
+
readOnly: true
|
|
1585
|
+
}
|
|
1586
|
+
})
|
|
1587
|
+
);
|
|
1588
|
+
this.register();
|
|
1589
|
+
}
|
|
1590
|
+
/**
|
|
1591
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1592
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1593
|
+
*
|
|
1594
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1595
|
+
*/
|
|
1596
|
+
static buildResourceProps(props) {
|
|
1597
|
+
return {
|
|
1598
|
+
...props,
|
|
1599
|
+
type: SqlDatabaseTable.resourceType,
|
|
1600
|
+
apiVersion: SqlDatabaseTable.apiVersion
|
|
1601
|
+
};
|
|
1602
|
+
}
|
|
1603
|
+
constructor(context, props, options) {
|
|
1604
|
+
super(context, SqlDatabaseTable.buildResourceProps(props), options);
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* The name of the table.
|
|
1608
|
+
*/
|
|
1609
|
+
get name() {
|
|
1610
|
+
return this.expr("name");
|
|
1611
|
+
}
|
|
1612
|
+
set name(value) {
|
|
1613
|
+
this.setProperty("name", value);
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* Resource properties.
|
|
1617
|
+
*/
|
|
1618
|
+
get properties() {
|
|
1619
|
+
return this.expr("properties");
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
class SqlDatabaseSchema extends import_provisioning_core.Resource {
|
|
1623
|
+
static resourceType = "Microsoft.Sql/servers/databases/schemas";
|
|
1624
|
+
static apiVersion = API_VERSION;
|
|
1625
|
+
static namingRules = {
|
|
1626
|
+
abbreviation: "s",
|
|
1627
|
+
scope: "parent"
|
|
1628
|
+
};
|
|
1629
|
+
static {
|
|
1630
|
+
this.registerShape(
|
|
1631
|
+
(0, import_internal.createFlatModelShape)({
|
|
1632
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
1633
|
+
properties: { armPath: ["properties"], value: (0, import_internal.createAnyShape)(), readOnly: true }
|
|
1634
|
+
})
|
|
1635
|
+
);
|
|
1636
|
+
this.register();
|
|
1637
|
+
}
|
|
1638
|
+
/**
|
|
1639
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1640
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1641
|
+
*
|
|
1642
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1643
|
+
*/
|
|
1644
|
+
static buildResourceProps(props) {
|
|
1645
|
+
return {
|
|
1646
|
+
...props,
|
|
1647
|
+
type: SqlDatabaseSchema.resourceType,
|
|
1648
|
+
apiVersion: SqlDatabaseSchema.apiVersion
|
|
1649
|
+
};
|
|
1650
|
+
}
|
|
1651
|
+
constructor(context, props, options) {
|
|
1652
|
+
super(context, SqlDatabaseSchema.buildResourceProps(props), options);
|
|
1653
|
+
}
|
|
1654
|
+
/**
|
|
1655
|
+
* The name of the schema.
|
|
1656
|
+
*/
|
|
1657
|
+
get name() {
|
|
1658
|
+
return this.expr("name");
|
|
1659
|
+
}
|
|
1660
|
+
set name(value) {
|
|
1661
|
+
this.setProperty("name", value);
|
|
1662
|
+
}
|
|
1663
|
+
/**
|
|
1664
|
+
* The resource-specific properties for this resource.
|
|
1665
|
+
*/
|
|
1666
|
+
get properties() {
|
|
1667
|
+
return this.expr("properties");
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
class ServerDatabaseSecurityAlertPolicy extends import_provisioning_core.Resource {
|
|
1671
|
+
static resourceType = "Microsoft.Sql/servers/databases/securityAlertPolicies";
|
|
1672
|
+
static apiVersion = API_VERSION;
|
|
1673
|
+
static namingRules = {
|
|
1674
|
+
abbreviation: "sap",
|
|
1675
|
+
pattern: {
|
|
1676
|
+
regex: ""
|
|
1677
|
+
},
|
|
1678
|
+
scope: "parent"
|
|
1679
|
+
};
|
|
1680
|
+
static {
|
|
1681
|
+
this.registerShape(
|
|
1682
|
+
(0, import_internal.createFlatModelShape)({
|
|
1683
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
1684
|
+
properties: {
|
|
1685
|
+
armPath: ["properties"],
|
|
1686
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.securityAlertsPolicyPropertiesShape)
|
|
1687
|
+
}
|
|
1688
|
+
})
|
|
1689
|
+
);
|
|
1690
|
+
this.register();
|
|
1691
|
+
}
|
|
1692
|
+
/**
|
|
1693
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1694
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1695
|
+
*
|
|
1696
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1697
|
+
*/
|
|
1698
|
+
static buildResourceProps(props) {
|
|
1699
|
+
return {
|
|
1700
|
+
...props,
|
|
1701
|
+
type: ServerDatabaseSecurityAlertPolicy.resourceType,
|
|
1702
|
+
apiVersion: ServerDatabaseSecurityAlertPolicy.apiVersion
|
|
1703
|
+
};
|
|
1704
|
+
}
|
|
1705
|
+
constructor(context, props, options) {
|
|
1706
|
+
super(context, ServerDatabaseSecurityAlertPolicy.buildResourceProps(props), options);
|
|
1707
|
+
}
|
|
1708
|
+
/**
|
|
1709
|
+
* The name of the security alert policy.
|
|
1710
|
+
*/
|
|
1711
|
+
get name() {
|
|
1712
|
+
return this.expr("name");
|
|
1713
|
+
}
|
|
1714
|
+
set name(value) {
|
|
1715
|
+
this.setProperty("name", value);
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
* Resource properties.
|
|
1719
|
+
*/
|
|
1720
|
+
get properties() {
|
|
1721
|
+
return this.expr("properties");
|
|
1722
|
+
}
|
|
1723
|
+
set properties(value) {
|
|
1724
|
+
this.setProperty("properties", value);
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
class SqlDatabaseSqlVulnerabilityAssessmentBaselineRule extends import_provisioning_core.Resource {
|
|
1728
|
+
static resourceType = "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines/rules";
|
|
1729
|
+
static apiVersion = API_VERSION;
|
|
1730
|
+
static namingRules = {
|
|
1731
|
+
abbreviation: "r",
|
|
1732
|
+
scope: "parent"
|
|
1733
|
+
};
|
|
1734
|
+
static {
|
|
1735
|
+
this.registerShape(
|
|
1736
|
+
(0, import_internal.createFlatModelShape)({
|
|
1737
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
1738
|
+
properties: {
|
|
1739
|
+
armPath: ["properties"],
|
|
1740
|
+
value: (0, import_internal.createDeferredShape)(
|
|
1741
|
+
() => import_types.databaseSqlVulnerabilityAssessmentRuleBaselinePropertiesShape
|
|
1742
|
+
)
|
|
1743
|
+
}
|
|
1744
|
+
})
|
|
1745
|
+
);
|
|
1746
|
+
this.register();
|
|
1747
|
+
}
|
|
1748
|
+
/**
|
|
1749
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1750
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1751
|
+
*
|
|
1752
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1753
|
+
*/
|
|
1754
|
+
static buildResourceProps(props) {
|
|
1755
|
+
return {
|
|
1756
|
+
...props,
|
|
1757
|
+
type: SqlDatabaseSqlVulnerabilityAssessmentBaselineRule.resourceType,
|
|
1758
|
+
apiVersion: SqlDatabaseSqlVulnerabilityAssessmentBaselineRule.apiVersion
|
|
1759
|
+
};
|
|
1760
|
+
}
|
|
1761
|
+
constructor(context, props, options) {
|
|
1762
|
+
super(
|
|
1763
|
+
context,
|
|
1764
|
+
SqlDatabaseSqlVulnerabilityAssessmentBaselineRule.buildResourceProps(props),
|
|
1765
|
+
options
|
|
1766
|
+
);
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* The vulnerability assessment rule ID.
|
|
1770
|
+
*/
|
|
1771
|
+
get name() {
|
|
1772
|
+
return this.expr("name");
|
|
1773
|
+
}
|
|
1774
|
+
set name(value) {
|
|
1775
|
+
this.setProperty("name", value);
|
|
1776
|
+
}
|
|
1777
|
+
/**
|
|
1778
|
+
* Resource properties.
|
|
1779
|
+
*/
|
|
1780
|
+
get properties() {
|
|
1781
|
+
return this.expr("properties");
|
|
1782
|
+
}
|
|
1783
|
+
set properties(value) {
|
|
1784
|
+
this.setProperty("properties", value);
|
|
1785
|
+
}
|
|
1786
|
+
}
|
|
1787
|
+
class SqlDatabaseSqlVulnerabilityAssessmentBaseline extends import_provisioning_core.Resource {
|
|
1788
|
+
static resourceType = "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines";
|
|
1789
|
+
static apiVersion = API_VERSION;
|
|
1790
|
+
static namingRules = {
|
|
1791
|
+
abbreviation: "b",
|
|
1792
|
+
scope: "parent"
|
|
1793
|
+
};
|
|
1794
|
+
static {
|
|
1795
|
+
this.registerShape(
|
|
1796
|
+
(0, import_internal.createFlatModelShape)({
|
|
1797
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
1798
|
+
properties: {
|
|
1799
|
+
armPath: ["properties"],
|
|
1800
|
+
value: (0, import_internal.createDeferredShape)(
|
|
1801
|
+
() => import_types.databaseSqlVulnerabilityAssessmentBaselineSetPropertiesShape
|
|
1802
|
+
)
|
|
1803
|
+
}
|
|
1804
|
+
})
|
|
1805
|
+
);
|
|
1806
|
+
this.register();
|
|
1807
|
+
}
|
|
1808
|
+
/**
|
|
1809
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1810
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1811
|
+
*
|
|
1812
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1813
|
+
*/
|
|
1814
|
+
static buildResourceProps(props) {
|
|
1815
|
+
return {
|
|
1816
|
+
...props,
|
|
1817
|
+
type: SqlDatabaseSqlVulnerabilityAssessmentBaseline.resourceType,
|
|
1818
|
+
apiVersion: SqlDatabaseSqlVulnerabilityAssessmentBaseline.apiVersion
|
|
1819
|
+
};
|
|
1820
|
+
}
|
|
1821
|
+
constructor(context, props, options) {
|
|
1822
|
+
super(
|
|
1823
|
+
context,
|
|
1824
|
+
SqlDatabaseSqlVulnerabilityAssessmentBaseline.buildResourceProps(props),
|
|
1825
|
+
options
|
|
1826
|
+
);
|
|
1827
|
+
}
|
|
1828
|
+
get name() {
|
|
1829
|
+
return this.expr("name");
|
|
1830
|
+
}
|
|
1831
|
+
set name(value) {
|
|
1832
|
+
this.setProperty("name", value);
|
|
1833
|
+
}
|
|
1834
|
+
/**
|
|
1835
|
+
* Resource properties.
|
|
1836
|
+
*/
|
|
1837
|
+
get properties() {
|
|
1838
|
+
return this.expr("properties");
|
|
1839
|
+
}
|
|
1840
|
+
set properties(value) {
|
|
1841
|
+
this.setProperty("properties", value);
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
class SqlDatabaseSqlVulnerabilityAssessmentScanResult extends import_provisioning_core.Resource {
|
|
1845
|
+
static resourceType = "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/scans/scanResults";
|
|
1846
|
+
static apiVersion = API_VERSION;
|
|
1847
|
+
static namingRules = {
|
|
1848
|
+
abbreviation: "sr",
|
|
1849
|
+
scope: "parent"
|
|
1850
|
+
};
|
|
1851
|
+
static {
|
|
1852
|
+
this.registerShape(
|
|
1853
|
+
(0, import_internal.createFlatModelShape)({
|
|
1854
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
1855
|
+
properties: {
|
|
1856
|
+
armPath: ["properties"],
|
|
1857
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.sqlVulnerabilityAssessmentScanResultPropertiesShape),
|
|
1858
|
+
readOnly: true
|
|
1859
|
+
}
|
|
1860
|
+
})
|
|
1861
|
+
);
|
|
1862
|
+
this.register();
|
|
1863
|
+
}
|
|
1864
|
+
/**
|
|
1865
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1866
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1867
|
+
*
|
|
1868
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1869
|
+
*/
|
|
1870
|
+
static buildResourceProps(props) {
|
|
1871
|
+
return {
|
|
1872
|
+
...props,
|
|
1873
|
+
type: SqlDatabaseSqlVulnerabilityAssessmentScanResult.resourceType,
|
|
1874
|
+
apiVersion: SqlDatabaseSqlVulnerabilityAssessmentScanResult.apiVersion
|
|
1875
|
+
};
|
|
1876
|
+
}
|
|
1877
|
+
constructor(context, props, options) {
|
|
1878
|
+
super(
|
|
1879
|
+
context,
|
|
1880
|
+
SqlDatabaseSqlVulnerabilityAssessmentScanResult.buildResourceProps(props),
|
|
1881
|
+
options
|
|
1882
|
+
);
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
* The scan result id of the specific result to retrieve.
|
|
1886
|
+
*/
|
|
1887
|
+
get name() {
|
|
1888
|
+
return this.expr("name");
|
|
1889
|
+
}
|
|
1890
|
+
set name(value) {
|
|
1891
|
+
this.setProperty("name", value);
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* Resource properties.
|
|
1895
|
+
*/
|
|
1896
|
+
get properties() {
|
|
1897
|
+
return this.expr("properties");
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
class SqlDatabaseSqlVulnerabilityAssessmentScan extends import_provisioning_core.Resource {
|
|
1901
|
+
static resourceType = "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/scans";
|
|
1902
|
+
static apiVersion = API_VERSION;
|
|
1903
|
+
static namingRules = {
|
|
1904
|
+
abbreviation: "s",
|
|
1905
|
+
scope: "parent"
|
|
1906
|
+
};
|
|
1907
|
+
static {
|
|
1908
|
+
this.registerShape(
|
|
1909
|
+
(0, import_internal.createFlatModelShape)({
|
|
1910
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
1911
|
+
properties: {
|
|
1912
|
+
armPath: ["properties"],
|
|
1913
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.sqlVulnerabilityAssessmentScanRecordPropertiesShape),
|
|
1914
|
+
readOnly: true
|
|
1915
|
+
}
|
|
1916
|
+
})
|
|
1917
|
+
);
|
|
1918
|
+
this.register();
|
|
1919
|
+
}
|
|
1920
|
+
/**
|
|
1921
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1922
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1923
|
+
*
|
|
1924
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1925
|
+
*/
|
|
1926
|
+
static buildResourceProps(props) {
|
|
1927
|
+
return {
|
|
1928
|
+
...props,
|
|
1929
|
+
type: SqlDatabaseSqlVulnerabilityAssessmentScan.resourceType,
|
|
1930
|
+
apiVersion: SqlDatabaseSqlVulnerabilityAssessmentScan.apiVersion
|
|
1931
|
+
};
|
|
1932
|
+
}
|
|
1933
|
+
constructor(context, props, options) {
|
|
1934
|
+
super(context, SqlDatabaseSqlVulnerabilityAssessmentScan.buildResourceProps(props), options);
|
|
1935
|
+
}
|
|
1936
|
+
/**
|
|
1937
|
+
* The vulnerability assessment scan Id of the scan to retrieve.
|
|
1938
|
+
*/
|
|
1939
|
+
get name() {
|
|
1940
|
+
return this.expr("name");
|
|
1941
|
+
}
|
|
1942
|
+
set name(value) {
|
|
1943
|
+
this.setProperty("name", value);
|
|
1944
|
+
}
|
|
1945
|
+
/**
|
|
1946
|
+
* Resource properties.
|
|
1947
|
+
*/
|
|
1948
|
+
get properties() {
|
|
1949
|
+
return this.expr("properties");
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
class SqlDatabaseSqlVulnerabilityAssessment extends import_provisioning_core.Resource {
|
|
1953
|
+
static resourceType = "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments";
|
|
1954
|
+
static apiVersion = API_VERSION;
|
|
1955
|
+
static namingRules = {
|
|
1956
|
+
abbreviation: "sva",
|
|
1957
|
+
scope: "parent"
|
|
1958
|
+
};
|
|
1959
|
+
static {
|
|
1960
|
+
this.registerShape(
|
|
1961
|
+
(0, import_internal.createFlatModelShape)({
|
|
1962
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
1963
|
+
properties: {
|
|
1964
|
+
armPath: ["properties"],
|
|
1965
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.sqlVulnerabilityAssessmentPolicyPropertiesShape),
|
|
1966
|
+
readOnly: true
|
|
1967
|
+
}
|
|
1968
|
+
})
|
|
1969
|
+
);
|
|
1970
|
+
this.register();
|
|
1971
|
+
}
|
|
1972
|
+
/**
|
|
1973
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1974
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1975
|
+
*
|
|
1976
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1977
|
+
*/
|
|
1978
|
+
static buildResourceProps(props) {
|
|
1979
|
+
return {
|
|
1980
|
+
...props,
|
|
1981
|
+
type: SqlDatabaseSqlVulnerabilityAssessment.resourceType,
|
|
1982
|
+
apiVersion: SqlDatabaseSqlVulnerabilityAssessment.apiVersion
|
|
1983
|
+
};
|
|
1984
|
+
}
|
|
1985
|
+
constructor(context, props, options) {
|
|
1986
|
+
super(context, SqlDatabaseSqlVulnerabilityAssessment.buildResourceProps(props), options);
|
|
1987
|
+
}
|
|
1988
|
+
/**
|
|
1989
|
+
* The name of the SQL Vulnerability Assessment.
|
|
1990
|
+
*/
|
|
1991
|
+
get name() {
|
|
1992
|
+
return this.expr("name");
|
|
1993
|
+
}
|
|
1994
|
+
set name(value) {
|
|
1995
|
+
this.setProperty("name", value);
|
|
1996
|
+
}
|
|
1997
|
+
/**
|
|
1998
|
+
* Resource properties.
|
|
1999
|
+
*/
|
|
2000
|
+
get properties() {
|
|
2001
|
+
return this.expr("properties");
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
class SyncMember extends import_provisioning_core.Resource {
|
|
2005
|
+
static resourceType = "Microsoft.Sql/servers/databases/syncGroups/syncMembers";
|
|
2006
|
+
static apiVersion = API_VERSION;
|
|
2007
|
+
static namingRules = {
|
|
2008
|
+
abbreviation: "sm",
|
|
2009
|
+
pattern: {
|
|
2010
|
+
regex: ""
|
|
2011
|
+
},
|
|
2012
|
+
scope: "parent"
|
|
2013
|
+
};
|
|
2014
|
+
static {
|
|
2015
|
+
this.registerShape(
|
|
2016
|
+
(0, import_internal.createFlatModelShape)({
|
|
2017
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2018
|
+
properties: {
|
|
2019
|
+
armPath: ["properties"],
|
|
2020
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.syncMemberPropertiesShape)
|
|
2021
|
+
}
|
|
2022
|
+
})
|
|
2023
|
+
);
|
|
2024
|
+
this.register();
|
|
2025
|
+
}
|
|
2026
|
+
/**
|
|
2027
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2028
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2029
|
+
*
|
|
2030
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2031
|
+
*/
|
|
2032
|
+
static buildResourceProps(props) {
|
|
2033
|
+
return {
|
|
2034
|
+
...props,
|
|
2035
|
+
type: SyncMember.resourceType,
|
|
2036
|
+
apiVersion: SyncMember.apiVersion
|
|
2037
|
+
};
|
|
2038
|
+
}
|
|
2039
|
+
constructor(context, props, options) {
|
|
2040
|
+
super(context, SyncMember.buildResourceProps(props), options);
|
|
2041
|
+
}
|
|
2042
|
+
/**
|
|
2043
|
+
* The name of the sync member.
|
|
2044
|
+
*/
|
|
2045
|
+
get name() {
|
|
2046
|
+
return this.expr("name");
|
|
2047
|
+
}
|
|
2048
|
+
set name(value) {
|
|
2049
|
+
this.setProperty("name", value);
|
|
2050
|
+
}
|
|
2051
|
+
/**
|
|
2052
|
+
* Resource properties.
|
|
2053
|
+
*/
|
|
2054
|
+
get properties() {
|
|
2055
|
+
return this.expr("properties");
|
|
2056
|
+
}
|
|
2057
|
+
set properties(value) {
|
|
2058
|
+
this.setProperty("properties", value);
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
class SyncGroup extends import_provisioning_core.Resource {
|
|
2062
|
+
static resourceType = "Microsoft.Sql/servers/databases/syncGroups";
|
|
2063
|
+
static apiVersion = API_VERSION;
|
|
2064
|
+
static namingRules = {
|
|
2065
|
+
abbreviation: "sg",
|
|
2066
|
+
pattern: {
|
|
2067
|
+
regex: ""
|
|
2068
|
+
},
|
|
2069
|
+
scope: "parent"
|
|
2070
|
+
};
|
|
2071
|
+
static {
|
|
2072
|
+
this.registerShape(
|
|
2073
|
+
(0, import_internal.createFlatModelShape)({
|
|
2074
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2075
|
+
properties: {
|
|
2076
|
+
armPath: ["properties"],
|
|
2077
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.syncGroupPropertiesShape)
|
|
2078
|
+
},
|
|
2079
|
+
sku: { armPath: ["sku"], value: (0, import_internal.createDeferredShape)(() => import_types.skuShape) }
|
|
2080
|
+
})
|
|
2081
|
+
);
|
|
2082
|
+
this.register();
|
|
2083
|
+
}
|
|
2084
|
+
/**
|
|
2085
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2086
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2087
|
+
*
|
|
2088
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2089
|
+
*/
|
|
2090
|
+
static buildResourceProps(props) {
|
|
2091
|
+
return {
|
|
2092
|
+
...props,
|
|
2093
|
+
type: SyncGroup.resourceType,
|
|
2094
|
+
apiVersion: SyncGroup.apiVersion
|
|
2095
|
+
};
|
|
2096
|
+
}
|
|
2097
|
+
constructor(context, props, options) {
|
|
2098
|
+
super(context, SyncGroup.buildResourceProps(props), options);
|
|
2099
|
+
}
|
|
2100
|
+
/**
|
|
2101
|
+
* The name of the sync group.
|
|
2102
|
+
*/
|
|
2103
|
+
get name() {
|
|
2104
|
+
return this.expr("name");
|
|
2105
|
+
}
|
|
2106
|
+
set name(value) {
|
|
2107
|
+
this.setProperty("name", value);
|
|
2108
|
+
}
|
|
2109
|
+
/**
|
|
2110
|
+
* Resource properties.
|
|
2111
|
+
*/
|
|
2112
|
+
get properties() {
|
|
2113
|
+
return this.expr("properties");
|
|
2114
|
+
}
|
|
2115
|
+
set properties(value) {
|
|
2116
|
+
this.setProperty("properties", value);
|
|
2117
|
+
}
|
|
2118
|
+
/**
|
|
2119
|
+
* The name and capacity of the SKU.
|
|
2120
|
+
*/
|
|
2121
|
+
get sku() {
|
|
2122
|
+
return this.expr("sku");
|
|
2123
|
+
}
|
|
2124
|
+
set sku(value) {
|
|
2125
|
+
this.setProperty("sku", value);
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
class ServerDatabaseTransparentDataEncryption extends import_provisioning_core.Resource {
|
|
2129
|
+
static resourceType = "Microsoft.Sql/servers/databases/transparentDataEncryption";
|
|
2130
|
+
static apiVersion = API_VERSION;
|
|
2131
|
+
static namingRules = {
|
|
2132
|
+
abbreviation: "tde",
|
|
2133
|
+
pattern: {
|
|
2134
|
+
regex: ""
|
|
2135
|
+
},
|
|
2136
|
+
scope: "parent"
|
|
2137
|
+
};
|
|
2138
|
+
static {
|
|
2139
|
+
this.registerShape(
|
|
2140
|
+
(0, import_internal.createFlatModelShape)({
|
|
2141
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
2142
|
+
properties: {
|
|
2143
|
+
armPath: ["properties"],
|
|
2144
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.transparentDataEncryptionPropertiesShape)
|
|
2145
|
+
}
|
|
2146
|
+
})
|
|
2147
|
+
);
|
|
2148
|
+
this.register();
|
|
2149
|
+
}
|
|
2150
|
+
/**
|
|
2151
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2152
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2153
|
+
*
|
|
2154
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2155
|
+
*/
|
|
2156
|
+
static buildResourceProps(props) {
|
|
2157
|
+
return {
|
|
2158
|
+
...props,
|
|
2159
|
+
type: ServerDatabaseTransparentDataEncryption.resourceType,
|
|
2160
|
+
apiVersion: ServerDatabaseTransparentDataEncryption.apiVersion
|
|
2161
|
+
};
|
|
2162
|
+
}
|
|
2163
|
+
constructor(context, props, options) {
|
|
2164
|
+
super(context, ServerDatabaseTransparentDataEncryption.buildResourceProps(props), options);
|
|
2165
|
+
}
|
|
2166
|
+
/**
|
|
2167
|
+
* The name of the transparent data encryption configuration.
|
|
2168
|
+
*/
|
|
2169
|
+
get name() {
|
|
2170
|
+
return this.expr("name");
|
|
2171
|
+
}
|
|
2172
|
+
set name(value) {
|
|
2173
|
+
this.setProperty("name", value);
|
|
2174
|
+
}
|
|
2175
|
+
/**
|
|
2176
|
+
* Resource properties.
|
|
2177
|
+
*/
|
|
2178
|
+
get properties() {
|
|
2179
|
+
return this.expr("properties");
|
|
2180
|
+
}
|
|
2181
|
+
set properties(value) {
|
|
2182
|
+
this.setProperty("properties", value);
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
class SqlDatabaseVulnerabilityAssessmentRuleBaseline extends import_provisioning_core.Resource {
|
|
2186
|
+
static resourceType = "Microsoft.Sql/servers/databases/vulnerabilityAssessments/rules/baselines";
|
|
2187
|
+
static apiVersion = API_VERSION;
|
|
2188
|
+
static namingRules = {
|
|
2189
|
+
abbreviation: "b",
|
|
2190
|
+
nameSegments: 2,
|
|
2191
|
+
scope: "parent"
|
|
2192
|
+
};
|
|
2193
|
+
static {
|
|
2194
|
+
this.registerShape(
|
|
2195
|
+
(0, import_internal.createFlatModelShape)({
|
|
2196
|
+
name: { armPath: ["name"], value: (0, import_internal.createEnumShape)() },
|
|
2197
|
+
properties: {
|
|
2198
|
+
armPath: ["properties"],
|
|
2199
|
+
value: (0, import_internal.createDeferredShape)(
|
|
2200
|
+
() => import_types.databaseVulnerabilityAssessmentRuleBaselinePropertiesShape
|
|
2201
|
+
)
|
|
2202
|
+
}
|
|
2203
|
+
})
|
|
2204
|
+
);
|
|
2205
|
+
this.register();
|
|
2206
|
+
}
|
|
2207
|
+
/**
|
|
2208
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2209
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2210
|
+
*
|
|
2211
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2212
|
+
*/
|
|
2213
|
+
static buildResourceProps(props) {
|
|
2214
|
+
return {
|
|
2215
|
+
...props,
|
|
2216
|
+
type: SqlDatabaseVulnerabilityAssessmentRuleBaseline.resourceType,
|
|
2217
|
+
apiVersion: SqlDatabaseVulnerabilityAssessmentRuleBaseline.apiVersion
|
|
2218
|
+
};
|
|
2219
|
+
}
|
|
2220
|
+
constructor(context, props, options) {
|
|
2221
|
+
super(
|
|
2222
|
+
context,
|
|
2223
|
+
SqlDatabaseVulnerabilityAssessmentRuleBaseline.buildResourceProps(props),
|
|
2224
|
+
options
|
|
2225
|
+
);
|
|
2226
|
+
}
|
|
2227
|
+
/**
|
|
2228
|
+
* The name of the vulnerability assessment rule baseline (default implies a baseline on a
|
|
2229
|
+
* database level rule and master for server level rule).
|
|
2230
|
+
*/
|
|
2231
|
+
get name() {
|
|
2232
|
+
return this.expr("name");
|
|
2233
|
+
}
|
|
2234
|
+
set name(value) {
|
|
2235
|
+
this.setProperty("name", value);
|
|
2236
|
+
}
|
|
2237
|
+
/**
|
|
2238
|
+
* Resource properties.
|
|
2239
|
+
*/
|
|
2240
|
+
get properties() {
|
|
2241
|
+
return this.expr("properties");
|
|
2242
|
+
}
|
|
2243
|
+
set properties(value) {
|
|
2244
|
+
this.setProperty("properties", value);
|
|
2245
|
+
}
|
|
2246
|
+
}
|
|
2247
|
+
class SqlDatabaseVulnerabilityAssessmentScan extends import_provisioning_core.Resource {
|
|
2248
|
+
static resourceType = "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans";
|
|
2249
|
+
static apiVersion = API_VERSION;
|
|
2250
|
+
static namingRules = {
|
|
2251
|
+
abbreviation: "s",
|
|
2252
|
+
scope: "parent"
|
|
2253
|
+
};
|
|
2254
|
+
static {
|
|
2255
|
+
this.registerShape(
|
|
2256
|
+
(0, import_internal.createFlatModelShape)({
|
|
2257
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2258
|
+
properties: {
|
|
2259
|
+
armPath: ["properties"],
|
|
2260
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.vulnerabilityAssessmentScanRecordPropertiesShape),
|
|
2261
|
+
readOnly: true
|
|
2262
|
+
}
|
|
2263
|
+
})
|
|
2264
|
+
);
|
|
2265
|
+
this.register();
|
|
2266
|
+
}
|
|
2267
|
+
/**
|
|
2268
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2269
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2270
|
+
*
|
|
2271
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2272
|
+
*/
|
|
2273
|
+
static buildResourceProps(props) {
|
|
2274
|
+
return {
|
|
2275
|
+
...props,
|
|
2276
|
+
type: SqlDatabaseVulnerabilityAssessmentScan.resourceType,
|
|
2277
|
+
apiVersion: SqlDatabaseVulnerabilityAssessmentScan.apiVersion
|
|
2278
|
+
};
|
|
2279
|
+
}
|
|
2280
|
+
constructor(context, props, options) {
|
|
2281
|
+
super(context, SqlDatabaseVulnerabilityAssessmentScan.buildResourceProps(props), options);
|
|
2282
|
+
}
|
|
2283
|
+
/**
|
|
2284
|
+
* The vulnerability assessment scan Id of the scan to retrieve.
|
|
2285
|
+
*/
|
|
2286
|
+
get name() {
|
|
2287
|
+
return this.expr("name");
|
|
2288
|
+
}
|
|
2289
|
+
set name(value) {
|
|
2290
|
+
this.setProperty("name", value);
|
|
2291
|
+
}
|
|
2292
|
+
/**
|
|
2293
|
+
* Resource properties.
|
|
2294
|
+
*/
|
|
2295
|
+
get properties() {
|
|
2296
|
+
return this.expr("properties");
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
class SqlDatabaseVulnerabilityAssessment extends import_provisioning_core.Resource {
|
|
2300
|
+
static resourceType = "Microsoft.Sql/servers/databases/vulnerabilityAssessments";
|
|
2301
|
+
static apiVersion = API_VERSION;
|
|
2302
|
+
static namingRules = {
|
|
2303
|
+
abbreviation: "va",
|
|
2304
|
+
scope: "parent"
|
|
2305
|
+
};
|
|
2306
|
+
static {
|
|
2307
|
+
this.registerShape(
|
|
2308
|
+
(0, import_internal.createFlatModelShape)({
|
|
2309
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
2310
|
+
properties: {
|
|
2311
|
+
armPath: ["properties"],
|
|
2312
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.databaseVulnerabilityAssessmentPropertiesShape)
|
|
2313
|
+
}
|
|
2314
|
+
})
|
|
2315
|
+
);
|
|
2316
|
+
this.register();
|
|
2317
|
+
}
|
|
2318
|
+
/**
|
|
2319
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2320
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2321
|
+
*
|
|
2322
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2323
|
+
*/
|
|
2324
|
+
static buildResourceProps(props) {
|
|
2325
|
+
return {
|
|
2326
|
+
...props,
|
|
2327
|
+
type: SqlDatabaseVulnerabilityAssessment.resourceType,
|
|
2328
|
+
apiVersion: SqlDatabaseVulnerabilityAssessment.apiVersion
|
|
2329
|
+
};
|
|
2330
|
+
}
|
|
2331
|
+
constructor(context, props, options) {
|
|
2332
|
+
super(context, SqlDatabaseVulnerabilityAssessment.buildResourceProps(props), options);
|
|
2333
|
+
}
|
|
2334
|
+
/**
|
|
2335
|
+
* The name of the vulnerability assessment.
|
|
2336
|
+
*/
|
|
2337
|
+
get name() {
|
|
2338
|
+
return this.expr("name");
|
|
2339
|
+
}
|
|
2340
|
+
set name(value) {
|
|
2341
|
+
this.setProperty("name", value);
|
|
2342
|
+
}
|
|
2343
|
+
/**
|
|
2344
|
+
* Resource properties.
|
|
2345
|
+
*/
|
|
2346
|
+
get properties() {
|
|
2347
|
+
return this.expr("properties");
|
|
2348
|
+
}
|
|
2349
|
+
set properties(value) {
|
|
2350
|
+
this.setProperty("properties", value);
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
class WorkloadClassifier extends import_provisioning_core.Resource {
|
|
2354
|
+
static resourceType = "Microsoft.Sql/servers/databases/workloadGroups/workloadClassifiers";
|
|
2355
|
+
static apiVersion = API_VERSION;
|
|
2356
|
+
static namingRules = {
|
|
2357
|
+
abbreviation: "wc",
|
|
2358
|
+
pattern: {
|
|
2359
|
+
regex: ""
|
|
2360
|
+
},
|
|
2361
|
+
scope: "parent"
|
|
2362
|
+
};
|
|
2363
|
+
static {
|
|
2364
|
+
this.registerShape(
|
|
2365
|
+
(0, import_internal.createFlatModelShape)({
|
|
2366
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2367
|
+
properties: {
|
|
2368
|
+
armPath: ["properties"],
|
|
2369
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.workloadClassifierPropertiesShape)
|
|
2370
|
+
}
|
|
2371
|
+
})
|
|
2372
|
+
);
|
|
2373
|
+
this.register();
|
|
2374
|
+
}
|
|
2375
|
+
/**
|
|
2376
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2377
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2378
|
+
*
|
|
2379
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2380
|
+
*/
|
|
2381
|
+
static buildResourceProps(props) {
|
|
2382
|
+
return {
|
|
2383
|
+
...props,
|
|
2384
|
+
type: WorkloadClassifier.resourceType,
|
|
2385
|
+
apiVersion: WorkloadClassifier.apiVersion
|
|
2386
|
+
};
|
|
2387
|
+
}
|
|
2388
|
+
constructor(context, props, options) {
|
|
2389
|
+
super(context, WorkloadClassifier.buildResourceProps(props), options);
|
|
2390
|
+
}
|
|
2391
|
+
/**
|
|
2392
|
+
* The name of the workload classifier.
|
|
2393
|
+
*/
|
|
2394
|
+
get name() {
|
|
2395
|
+
return this.expr("name");
|
|
2396
|
+
}
|
|
2397
|
+
set name(value) {
|
|
2398
|
+
this.setProperty("name", value);
|
|
2399
|
+
}
|
|
2400
|
+
/**
|
|
2401
|
+
* Resource properties.
|
|
2402
|
+
*/
|
|
2403
|
+
get properties() {
|
|
2404
|
+
return this.expr("properties");
|
|
2405
|
+
}
|
|
2406
|
+
set properties(value) {
|
|
2407
|
+
this.setProperty("properties", value);
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
class WorkloadGroup extends import_provisioning_core.Resource {
|
|
2411
|
+
static resourceType = "Microsoft.Sql/servers/databases/workloadGroups";
|
|
2412
|
+
static apiVersion = API_VERSION;
|
|
2413
|
+
static namingRules = {
|
|
2414
|
+
abbreviation: "wg",
|
|
2415
|
+
pattern: {
|
|
2416
|
+
regex: ""
|
|
2417
|
+
},
|
|
2418
|
+
scope: "parent"
|
|
2419
|
+
};
|
|
2420
|
+
static {
|
|
2421
|
+
this.registerShape(
|
|
2422
|
+
(0, import_internal.createFlatModelShape)({
|
|
2423
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2424
|
+
properties: {
|
|
2425
|
+
armPath: ["properties"],
|
|
2426
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.workloadGroupPropertiesShape)
|
|
2427
|
+
}
|
|
2428
|
+
})
|
|
2429
|
+
);
|
|
2430
|
+
this.register();
|
|
2431
|
+
}
|
|
2432
|
+
/**
|
|
2433
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2434
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2435
|
+
*
|
|
2436
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2437
|
+
*/
|
|
2438
|
+
static buildResourceProps(props) {
|
|
2439
|
+
return {
|
|
2440
|
+
...props,
|
|
2441
|
+
type: WorkloadGroup.resourceType,
|
|
2442
|
+
apiVersion: WorkloadGroup.apiVersion
|
|
2443
|
+
};
|
|
2444
|
+
}
|
|
2445
|
+
constructor(context, props, options) {
|
|
2446
|
+
super(context, WorkloadGroup.buildResourceProps(props), options);
|
|
2447
|
+
}
|
|
2448
|
+
/**
|
|
2449
|
+
* The name of the workload group.
|
|
2450
|
+
*/
|
|
2451
|
+
get name() {
|
|
2452
|
+
return this.expr("name");
|
|
2453
|
+
}
|
|
2454
|
+
set name(value) {
|
|
2455
|
+
this.setProperty("name", value);
|
|
2456
|
+
}
|
|
2457
|
+
/**
|
|
2458
|
+
* Resource properties.
|
|
2459
|
+
*/
|
|
2460
|
+
get properties() {
|
|
2461
|
+
return this.expr("properties");
|
|
2462
|
+
}
|
|
2463
|
+
set properties(value) {
|
|
2464
|
+
this.setProperty("properties", value);
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
class ServerDatabase extends import_provisioning_core.Resource {
|
|
2468
|
+
static resourceType = "Microsoft.Sql/servers/databases";
|
|
2469
|
+
static apiVersion = API_VERSION;
|
|
2470
|
+
static namingRules = {
|
|
2471
|
+
abbreviation: "d",
|
|
2472
|
+
pattern: {
|
|
2473
|
+
regex: ""
|
|
2474
|
+
},
|
|
2475
|
+
scope: "parent"
|
|
2476
|
+
};
|
|
2477
|
+
static {
|
|
2478
|
+
this.registerShape(
|
|
2479
|
+
(0, import_internal.createFlatModelShape)({
|
|
2480
|
+
identity: {
|
|
2481
|
+
armPath: ["identity"],
|
|
2482
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.databaseIdentityShape)
|
|
2483
|
+
},
|
|
2484
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
2485
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)() },
|
|
2486
|
+
managedBy: { armPath: ["managedBy"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
2487
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2488
|
+
properties: {
|
|
2489
|
+
armPath: ["properties"],
|
|
2490
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.databasePropertiesShape)
|
|
2491
|
+
},
|
|
2492
|
+
sku: { armPath: ["sku"], value: (0, import_internal.createDeferredShape)(() => import_types.skuShape) },
|
|
2493
|
+
tags: { armPath: ["tags"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()) }
|
|
2494
|
+
})
|
|
2495
|
+
);
|
|
2496
|
+
this.register();
|
|
2497
|
+
}
|
|
2498
|
+
/**
|
|
2499
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2500
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2501
|
+
*
|
|
2502
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2503
|
+
*/
|
|
2504
|
+
static buildResourceProps(props) {
|
|
2505
|
+
return {
|
|
2506
|
+
...props,
|
|
2507
|
+
type: ServerDatabase.resourceType,
|
|
2508
|
+
apiVersion: ServerDatabase.apiVersion
|
|
2509
|
+
};
|
|
2510
|
+
}
|
|
2511
|
+
constructor(context, props, options) {
|
|
2512
|
+
super(context, ServerDatabase.buildResourceProps(props), options);
|
|
2513
|
+
}
|
|
2514
|
+
/**
|
|
2515
|
+
* The Azure Active Directory identity of the database.
|
|
2516
|
+
*/
|
|
2517
|
+
get identity() {
|
|
2518
|
+
return this.expr("identity");
|
|
2519
|
+
}
|
|
2520
|
+
set identity(value) {
|
|
2521
|
+
this.setProperty("identity", value);
|
|
2522
|
+
}
|
|
2523
|
+
/**
|
|
2524
|
+
* Kind of database. This is metadata used for the Azure portal experience.
|
|
2525
|
+
*/
|
|
2526
|
+
get kind() {
|
|
2527
|
+
return this.expr("kind");
|
|
2528
|
+
}
|
|
2529
|
+
/**
|
|
2530
|
+
* The geo-location where the resource lives
|
|
2531
|
+
*/
|
|
2532
|
+
get location() {
|
|
2533
|
+
return this.expr("location");
|
|
2534
|
+
}
|
|
2535
|
+
set location(value) {
|
|
2536
|
+
this.setProperty("location", value);
|
|
2537
|
+
}
|
|
2538
|
+
/**
|
|
2539
|
+
* Resource that manages the database.
|
|
2540
|
+
*/
|
|
2541
|
+
get managedBy() {
|
|
2542
|
+
return this.expr("managedBy");
|
|
2543
|
+
}
|
|
2544
|
+
/**
|
|
2545
|
+
* The name of the database.
|
|
2546
|
+
*/
|
|
2547
|
+
get name() {
|
|
2548
|
+
return this.expr("name");
|
|
2549
|
+
}
|
|
2550
|
+
set name(value) {
|
|
2551
|
+
this.setProperty("name", value);
|
|
2552
|
+
}
|
|
2553
|
+
/**
|
|
2554
|
+
* Resource properties.
|
|
2555
|
+
*/
|
|
2556
|
+
get properties() {
|
|
2557
|
+
return this.expr("properties");
|
|
2558
|
+
}
|
|
2559
|
+
set properties(value) {
|
|
2560
|
+
this.setProperty("properties", value);
|
|
2561
|
+
}
|
|
2562
|
+
/**
|
|
2563
|
+
* The database SKU. The list of SKUs may vary by region and support offer. To determine the SKUs
|
|
2564
|
+
* (including the SKU name, tier/edition, family, and capacity) that are available to your
|
|
2565
|
+
* subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the
|
|
2566
|
+
* following commands: ```azurecli az sql db list-editions -l <location> -o table ```
|
|
2567
|
+
* ```powershell Get-AzSqlServerServiceObjective -Location <location> ```
|
|
2568
|
+
*/
|
|
2569
|
+
get sku() {
|
|
2570
|
+
return this.expr("sku");
|
|
2571
|
+
}
|
|
2572
|
+
set sku(value) {
|
|
2573
|
+
this.setProperty("sku", value);
|
|
2574
|
+
}
|
|
2575
|
+
/**
|
|
2576
|
+
* Resource tags.
|
|
2577
|
+
*/
|
|
2578
|
+
get tags() {
|
|
2579
|
+
return this.expr("tags");
|
|
2580
|
+
}
|
|
2581
|
+
set tags(value) {
|
|
2582
|
+
this.setProperty("tags", value);
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
class DevOpsAuditingSetting extends import_provisioning_core.Resource {
|
|
2586
|
+
static resourceType = "Microsoft.Sql/servers/devOpsAuditingSettings";
|
|
2587
|
+
static apiVersion = API_VERSION;
|
|
2588
|
+
static namingRules = {
|
|
2589
|
+
abbreviation: "doas",
|
|
2590
|
+
pattern: {
|
|
2591
|
+
regex: ""
|
|
2592
|
+
},
|
|
2593
|
+
scope: "parent"
|
|
2594
|
+
};
|
|
2595
|
+
static {
|
|
2596
|
+
this.registerShape(
|
|
2597
|
+
(0, import_internal.createFlatModelShape)({
|
|
2598
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
2599
|
+
properties: {
|
|
2600
|
+
armPath: ["properties"],
|
|
2601
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.serverDevOpsAuditSettingsPropertiesShape)
|
|
2602
|
+
}
|
|
2603
|
+
})
|
|
2604
|
+
);
|
|
2605
|
+
this.register();
|
|
2606
|
+
}
|
|
2607
|
+
/**
|
|
2608
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2609
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2610
|
+
*
|
|
2611
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2612
|
+
*/
|
|
2613
|
+
static buildResourceProps(props) {
|
|
2614
|
+
return {
|
|
2615
|
+
...props,
|
|
2616
|
+
type: DevOpsAuditingSetting.resourceType,
|
|
2617
|
+
apiVersion: DevOpsAuditingSetting.apiVersion
|
|
2618
|
+
};
|
|
2619
|
+
}
|
|
2620
|
+
constructor(context, props, options) {
|
|
2621
|
+
super(context, DevOpsAuditingSetting.buildResourceProps(props), options);
|
|
2622
|
+
}
|
|
2623
|
+
get name() {
|
|
2624
|
+
return this.expr("name");
|
|
2625
|
+
}
|
|
2626
|
+
set name(value) {
|
|
2627
|
+
this.setProperty("name", value);
|
|
2628
|
+
}
|
|
2629
|
+
/**
|
|
2630
|
+
* Resource properties.
|
|
2631
|
+
*/
|
|
2632
|
+
get properties() {
|
|
2633
|
+
return this.expr("properties");
|
|
2634
|
+
}
|
|
2635
|
+
set properties(value) {
|
|
2636
|
+
this.setProperty("properties", value);
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
class ServerDnsAlias extends import_provisioning_core.Resource {
|
|
2640
|
+
static resourceType = "Microsoft.Sql/servers/dnsAliases";
|
|
2641
|
+
static apiVersion = API_VERSION;
|
|
2642
|
+
static namingRules = {
|
|
2643
|
+
abbreviation: "da",
|
|
2644
|
+
pattern: {
|
|
2645
|
+
regex: ""
|
|
2646
|
+
},
|
|
2647
|
+
scope: "parent"
|
|
2648
|
+
};
|
|
2649
|
+
static {
|
|
2650
|
+
this.registerShape(
|
|
2651
|
+
(0, import_internal.createFlatModelShape)({
|
|
2652
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2653
|
+
properties: {
|
|
2654
|
+
armPath: ["properties"],
|
|
2655
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.serverDnsAliasPropertiesShape),
|
|
2656
|
+
readOnly: true
|
|
2657
|
+
}
|
|
2658
|
+
})
|
|
2659
|
+
);
|
|
2660
|
+
this.register();
|
|
2661
|
+
}
|
|
2662
|
+
/**
|
|
2663
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2664
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2665
|
+
*
|
|
2666
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2667
|
+
*/
|
|
2668
|
+
static buildResourceProps(props) {
|
|
2669
|
+
return {
|
|
2670
|
+
...props,
|
|
2671
|
+
type: ServerDnsAlias.resourceType,
|
|
2672
|
+
apiVersion: ServerDnsAlias.apiVersion
|
|
2673
|
+
};
|
|
2674
|
+
}
|
|
2675
|
+
constructor(context, props, options) {
|
|
2676
|
+
super(context, ServerDnsAlias.buildResourceProps(props), options);
|
|
2677
|
+
}
|
|
2678
|
+
/**
|
|
2679
|
+
* The name of the server dns alias.
|
|
2680
|
+
*/
|
|
2681
|
+
get name() {
|
|
2682
|
+
return this.expr("name");
|
|
2683
|
+
}
|
|
2684
|
+
set name(value) {
|
|
2685
|
+
this.setProperty("name", value);
|
|
2686
|
+
}
|
|
2687
|
+
/**
|
|
2688
|
+
* Resource properties.
|
|
2689
|
+
*/
|
|
2690
|
+
get properties() {
|
|
2691
|
+
return this.expr("properties");
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
class ElasticPool extends import_provisioning_core.Resource {
|
|
2695
|
+
static resourceType = "Microsoft.Sql/servers/elasticPools";
|
|
2696
|
+
static apiVersion = API_VERSION;
|
|
2697
|
+
static namingRules = {
|
|
2698
|
+
abbreviation: "ep",
|
|
2699
|
+
pattern: {
|
|
2700
|
+
regex: ""
|
|
2701
|
+
},
|
|
2702
|
+
scope: "parent"
|
|
2703
|
+
};
|
|
2704
|
+
static {
|
|
2705
|
+
this.registerShape(
|
|
2706
|
+
(0, import_internal.createFlatModelShape)({
|
|
2707
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
2708
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)() },
|
|
2709
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2710
|
+
properties: {
|
|
2711
|
+
armPath: ["properties"],
|
|
2712
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.elasticPoolPropertiesShape)
|
|
2713
|
+
},
|
|
2714
|
+
sku: { armPath: ["sku"], value: (0, import_internal.createDeferredShape)(() => import_types.skuShape) },
|
|
2715
|
+
tags: { armPath: ["tags"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()) }
|
|
2716
|
+
})
|
|
2717
|
+
);
|
|
2718
|
+
this.register();
|
|
2719
|
+
}
|
|
2720
|
+
/**
|
|
2721
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2722
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2723
|
+
*
|
|
2724
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2725
|
+
*/
|
|
2726
|
+
static buildResourceProps(props) {
|
|
2727
|
+
return {
|
|
2728
|
+
...props,
|
|
2729
|
+
type: ElasticPool.resourceType,
|
|
2730
|
+
apiVersion: ElasticPool.apiVersion
|
|
2731
|
+
};
|
|
2732
|
+
}
|
|
2733
|
+
constructor(context, props, options) {
|
|
2734
|
+
super(context, ElasticPool.buildResourceProps(props), options);
|
|
2735
|
+
}
|
|
2736
|
+
/**
|
|
2737
|
+
* Kind of elastic pool. This is metadata used for the Azure portal experience.
|
|
2738
|
+
*/
|
|
2739
|
+
get kind() {
|
|
2740
|
+
return this.expr("kind");
|
|
2741
|
+
}
|
|
2742
|
+
/**
|
|
2743
|
+
* The geo-location where the resource lives
|
|
2744
|
+
*/
|
|
2745
|
+
get location() {
|
|
2746
|
+
return this.expr("location");
|
|
2747
|
+
}
|
|
2748
|
+
set location(value) {
|
|
2749
|
+
this.setProperty("location", value);
|
|
2750
|
+
}
|
|
2751
|
+
/**
|
|
2752
|
+
* The name of the elastic pool.
|
|
2753
|
+
*/
|
|
2754
|
+
get name() {
|
|
2755
|
+
return this.expr("name");
|
|
2756
|
+
}
|
|
2757
|
+
set name(value) {
|
|
2758
|
+
this.setProperty("name", value);
|
|
2759
|
+
}
|
|
2760
|
+
/**
|
|
2761
|
+
* Resource properties.
|
|
2762
|
+
*/
|
|
2763
|
+
get properties() {
|
|
2764
|
+
return this.expr("properties");
|
|
2765
|
+
}
|
|
2766
|
+
set properties(value) {
|
|
2767
|
+
this.setProperty("properties", value);
|
|
2768
|
+
}
|
|
2769
|
+
/**
|
|
2770
|
+
* The elastic pool SKU. The list of SKUs may vary by region and support offer. To determine the
|
|
2771
|
+
* SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your
|
|
2772
|
+
* subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the
|
|
2773
|
+
* following command: ```azurecli az sql elastic-pool list-editions -l <location> -o table ```
|
|
2774
|
+
*/
|
|
2775
|
+
get sku() {
|
|
2776
|
+
return this.expr("sku");
|
|
2777
|
+
}
|
|
2778
|
+
set sku(value) {
|
|
2779
|
+
this.setProperty("sku", value);
|
|
2780
|
+
}
|
|
2781
|
+
/**
|
|
2782
|
+
* Resource tags.
|
|
2783
|
+
*/
|
|
2784
|
+
get tags() {
|
|
2785
|
+
return this.expr("tags");
|
|
2786
|
+
}
|
|
2787
|
+
set tags(value) {
|
|
2788
|
+
this.setProperty("tags", value);
|
|
2789
|
+
}
|
|
2790
|
+
}
|
|
2791
|
+
class ServerEncryptionProtector extends import_provisioning_core.Resource {
|
|
2792
|
+
static resourceType = "Microsoft.Sql/servers/encryptionProtector";
|
|
2793
|
+
static apiVersion = API_VERSION;
|
|
2794
|
+
static namingRules = {
|
|
2795
|
+
abbreviation: "ep",
|
|
2796
|
+
pattern: {
|
|
2797
|
+
regex: ""
|
|
2798
|
+
},
|
|
2799
|
+
scope: "parent"
|
|
2800
|
+
};
|
|
2801
|
+
static {
|
|
2802
|
+
this.registerShape(
|
|
2803
|
+
(0, import_internal.createFlatModelShape)({
|
|
2804
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
2805
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
2806
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
2807
|
+
properties: {
|
|
2808
|
+
armPath: ["properties"],
|
|
2809
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.encryptionProtectorPropertiesShape)
|
|
2810
|
+
}
|
|
2811
|
+
})
|
|
2812
|
+
);
|
|
2813
|
+
this.register();
|
|
2814
|
+
}
|
|
2815
|
+
/**
|
|
2816
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2817
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2818
|
+
*
|
|
2819
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2820
|
+
*/
|
|
2821
|
+
static buildResourceProps(props) {
|
|
2822
|
+
return {
|
|
2823
|
+
...props,
|
|
2824
|
+
type: ServerEncryptionProtector.resourceType,
|
|
2825
|
+
apiVersion: ServerEncryptionProtector.apiVersion
|
|
2826
|
+
};
|
|
2827
|
+
}
|
|
2828
|
+
constructor(context, props, options) {
|
|
2829
|
+
super(context, ServerEncryptionProtector.buildResourceProps(props), options);
|
|
2830
|
+
}
|
|
2831
|
+
/**
|
|
2832
|
+
* Kind of encryption protector. This is metadata used for the Azure portal experience.
|
|
2833
|
+
*/
|
|
2834
|
+
get kind() {
|
|
2835
|
+
return this.expr("kind");
|
|
2836
|
+
}
|
|
2837
|
+
/**
|
|
2838
|
+
* Resource location.
|
|
2839
|
+
*/
|
|
2840
|
+
get location() {
|
|
2841
|
+
return this.expr("location");
|
|
2842
|
+
}
|
|
2843
|
+
/**
|
|
2844
|
+
* The name of the encryption protector to be retrieved.
|
|
2845
|
+
*/
|
|
2846
|
+
get name() {
|
|
2847
|
+
return this.expr("name");
|
|
2848
|
+
}
|
|
2849
|
+
set name(value) {
|
|
2850
|
+
this.setProperty("name", value);
|
|
2851
|
+
}
|
|
2852
|
+
/**
|
|
2853
|
+
* Resource properties.
|
|
2854
|
+
*/
|
|
2855
|
+
get properties() {
|
|
2856
|
+
return this.expr("properties");
|
|
2857
|
+
}
|
|
2858
|
+
set properties(value) {
|
|
2859
|
+
this.setProperty("properties", value);
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
class ExtendedServerBlobAuditingPolicy extends import_provisioning_core.Resource {
|
|
2863
|
+
static resourceType = "Microsoft.Sql/servers/extendedAuditingSettings";
|
|
2864
|
+
static apiVersion = API_VERSION;
|
|
2865
|
+
static namingRules = {
|
|
2866
|
+
abbreviation: "eas",
|
|
2867
|
+
scope: "parent"
|
|
2868
|
+
};
|
|
2869
|
+
static {
|
|
2870
|
+
this.registerShape(
|
|
2871
|
+
(0, import_internal.createFlatModelShape)({
|
|
2872
|
+
name: { armPath: ["name"], value: (0, import_internal.createEnumShape)() },
|
|
2873
|
+
properties: {
|
|
2874
|
+
armPath: ["properties"],
|
|
2875
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.extendedServerBlobAuditingPolicyPropertiesShape)
|
|
2876
|
+
}
|
|
2877
|
+
})
|
|
2878
|
+
);
|
|
2879
|
+
this.register();
|
|
2880
|
+
}
|
|
2881
|
+
/**
|
|
2882
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2883
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2884
|
+
*
|
|
2885
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2886
|
+
*/
|
|
2887
|
+
static buildResourceProps(props) {
|
|
2888
|
+
return {
|
|
2889
|
+
...props,
|
|
2890
|
+
type: ExtendedServerBlobAuditingPolicy.resourceType,
|
|
2891
|
+
apiVersion: ExtendedServerBlobAuditingPolicy.apiVersion
|
|
2892
|
+
};
|
|
2893
|
+
}
|
|
2894
|
+
constructor(context, props, options) {
|
|
2895
|
+
super(context, ExtendedServerBlobAuditingPolicy.buildResourceProps(props), options);
|
|
2896
|
+
}
|
|
2897
|
+
get name() {
|
|
2898
|
+
return this.expr("name");
|
|
2899
|
+
}
|
|
2900
|
+
set name(value) {
|
|
2901
|
+
this.setProperty("name", value);
|
|
2902
|
+
}
|
|
2903
|
+
/**
|
|
2904
|
+
* Resource properties.
|
|
2905
|
+
*/
|
|
2906
|
+
get properties() {
|
|
2907
|
+
return this.expr("properties");
|
|
2908
|
+
}
|
|
2909
|
+
set properties(value) {
|
|
2910
|
+
this.setProperty("properties", value);
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
class FailoverGroup extends import_provisioning_core.Resource {
|
|
2914
|
+
static resourceType = "Microsoft.Sql/servers/failoverGroups";
|
|
2915
|
+
static apiVersion = API_VERSION;
|
|
2916
|
+
static namingRules = {
|
|
2917
|
+
abbreviation: "fg",
|
|
2918
|
+
pattern: {
|
|
2919
|
+
regex: ""
|
|
2920
|
+
},
|
|
2921
|
+
scope: "parent"
|
|
2922
|
+
};
|
|
2923
|
+
static {
|
|
2924
|
+
this.registerShape(
|
|
2925
|
+
(0, import_internal.createFlatModelShape)({
|
|
2926
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
2927
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2928
|
+
properties: {
|
|
2929
|
+
armPath: ["properties"],
|
|
2930
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.failoverGroupPropertiesShape)
|
|
2931
|
+
},
|
|
2932
|
+
tags: { armPath: ["tags"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()) }
|
|
2933
|
+
})
|
|
2934
|
+
);
|
|
2935
|
+
this.register();
|
|
2936
|
+
}
|
|
2937
|
+
/**
|
|
2938
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2939
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2940
|
+
*
|
|
2941
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2942
|
+
*/
|
|
2943
|
+
static buildResourceProps(props) {
|
|
2944
|
+
return {
|
|
2945
|
+
...props,
|
|
2946
|
+
type: FailoverGroup.resourceType,
|
|
2947
|
+
apiVersion: FailoverGroup.apiVersion
|
|
2948
|
+
};
|
|
2949
|
+
}
|
|
2950
|
+
constructor(context, props, options) {
|
|
2951
|
+
super(context, FailoverGroup.buildResourceProps(props), options);
|
|
2952
|
+
}
|
|
2953
|
+
/**
|
|
2954
|
+
* Resource location.
|
|
2955
|
+
*/
|
|
2956
|
+
get location() {
|
|
2957
|
+
return this.expr("location");
|
|
2958
|
+
}
|
|
2959
|
+
/**
|
|
2960
|
+
* The name of the failover group.
|
|
2961
|
+
*/
|
|
2962
|
+
get name() {
|
|
2963
|
+
return this.expr("name");
|
|
2964
|
+
}
|
|
2965
|
+
set name(value) {
|
|
2966
|
+
this.setProperty("name", value);
|
|
2967
|
+
}
|
|
2968
|
+
/**
|
|
2969
|
+
* Resource properties.
|
|
2970
|
+
*/
|
|
2971
|
+
get properties() {
|
|
2972
|
+
return this.expr("properties");
|
|
2973
|
+
}
|
|
2974
|
+
set properties(value) {
|
|
2975
|
+
this.setProperty("properties", value);
|
|
2976
|
+
}
|
|
2977
|
+
/**
|
|
2978
|
+
* Resource tags.
|
|
2979
|
+
*/
|
|
2980
|
+
get tags() {
|
|
2981
|
+
return this.expr("tags");
|
|
2982
|
+
}
|
|
2983
|
+
set tags(value) {
|
|
2984
|
+
this.setProperty("tags", value);
|
|
2985
|
+
}
|
|
2986
|
+
}
|
|
2987
|
+
class FirewallRule extends import_provisioning_core.Resource {
|
|
2988
|
+
static resourceType = "Microsoft.Sql/servers/firewallRules";
|
|
2989
|
+
static apiVersion = API_VERSION;
|
|
2990
|
+
static namingRules = {
|
|
2991
|
+
abbreviation: "fr",
|
|
2992
|
+
scope: "parent"
|
|
2993
|
+
};
|
|
2994
|
+
static {
|
|
2995
|
+
this.registerShape(
|
|
2996
|
+
(0, import_internal.createFlatModelShape)({
|
|
2997
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
2998
|
+
properties: {
|
|
2999
|
+
armPath: ["properties"],
|
|
3000
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.serverFirewallRulePropertiesShape)
|
|
3001
|
+
}
|
|
3002
|
+
})
|
|
3003
|
+
);
|
|
3004
|
+
this.register();
|
|
3005
|
+
}
|
|
3006
|
+
/**
|
|
3007
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3008
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3009
|
+
*
|
|
3010
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3011
|
+
*/
|
|
3012
|
+
static buildResourceProps(props) {
|
|
3013
|
+
return {
|
|
3014
|
+
...props,
|
|
3015
|
+
type: FirewallRule.resourceType,
|
|
3016
|
+
apiVersion: FirewallRule.apiVersion
|
|
3017
|
+
};
|
|
3018
|
+
}
|
|
3019
|
+
constructor(context, props, options) {
|
|
3020
|
+
super(context, FirewallRule.buildResourceProps(props), options);
|
|
3021
|
+
}
|
|
3022
|
+
/**
|
|
3023
|
+
* Resource name.
|
|
3024
|
+
*/
|
|
3025
|
+
get name() {
|
|
3026
|
+
return this.expr("name");
|
|
3027
|
+
}
|
|
3028
|
+
set name(value) {
|
|
3029
|
+
this.setProperty("name", value);
|
|
3030
|
+
}
|
|
3031
|
+
/**
|
|
3032
|
+
* Resource properties.
|
|
3033
|
+
*/
|
|
3034
|
+
get properties() {
|
|
3035
|
+
return this.expr("properties");
|
|
3036
|
+
}
|
|
3037
|
+
set properties(value) {
|
|
3038
|
+
this.setProperty("properties", value);
|
|
3039
|
+
}
|
|
3040
|
+
}
|
|
3041
|
+
class IPv6FirewallRule extends import_provisioning_core.Resource {
|
|
3042
|
+
static resourceType = "Microsoft.Sql/servers/ipv6FirewallRules";
|
|
3043
|
+
static apiVersion = API_VERSION;
|
|
3044
|
+
static namingRules = {
|
|
3045
|
+
abbreviation: "ir",
|
|
3046
|
+
scope: "parent"
|
|
3047
|
+
};
|
|
3048
|
+
static {
|
|
3049
|
+
this.registerShape(
|
|
3050
|
+
(0, import_internal.createFlatModelShape)({
|
|
3051
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3052
|
+
properties: {
|
|
3053
|
+
armPath: ["properties"],
|
|
3054
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.iPv6ServerFirewallRulePropertiesShape)
|
|
3055
|
+
}
|
|
3056
|
+
})
|
|
3057
|
+
);
|
|
3058
|
+
this.register();
|
|
3059
|
+
}
|
|
3060
|
+
/**
|
|
3061
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3062
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3063
|
+
*
|
|
3064
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3065
|
+
*/
|
|
3066
|
+
static buildResourceProps(props) {
|
|
3067
|
+
return {
|
|
3068
|
+
...props,
|
|
3069
|
+
type: IPv6FirewallRule.resourceType,
|
|
3070
|
+
apiVersion: IPv6FirewallRule.apiVersion
|
|
3071
|
+
};
|
|
3072
|
+
}
|
|
3073
|
+
constructor(context, props, options) {
|
|
3074
|
+
super(context, IPv6FirewallRule.buildResourceProps(props), options);
|
|
3075
|
+
}
|
|
3076
|
+
/**
|
|
3077
|
+
* Resource name.
|
|
3078
|
+
*/
|
|
3079
|
+
get name() {
|
|
3080
|
+
return this.expr("name");
|
|
3081
|
+
}
|
|
3082
|
+
set name(value) {
|
|
3083
|
+
this.setProperty("name", value);
|
|
3084
|
+
}
|
|
3085
|
+
/**
|
|
3086
|
+
* Resource properties.
|
|
3087
|
+
*/
|
|
3088
|
+
get properties() {
|
|
3089
|
+
return this.expr("properties");
|
|
3090
|
+
}
|
|
3091
|
+
set properties(value) {
|
|
3092
|
+
this.setProperty("properties", value);
|
|
3093
|
+
}
|
|
3094
|
+
}
|
|
3095
|
+
class Credential extends import_provisioning_core.Resource {
|
|
3096
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/credentials";
|
|
3097
|
+
static apiVersion = API_VERSION;
|
|
3098
|
+
static namingRules = {
|
|
3099
|
+
abbreviation: "c",
|
|
3100
|
+
pattern: {
|
|
3101
|
+
regex: ""
|
|
3102
|
+
},
|
|
3103
|
+
scope: "parent"
|
|
3104
|
+
};
|
|
3105
|
+
static {
|
|
3106
|
+
this.registerShape(
|
|
3107
|
+
(0, import_internal.createFlatModelShape)({
|
|
3108
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3109
|
+
properties: {
|
|
3110
|
+
armPath: ["properties"],
|
|
3111
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobCredentialPropertiesShape)
|
|
3112
|
+
}
|
|
3113
|
+
})
|
|
3114
|
+
);
|
|
3115
|
+
this.register();
|
|
3116
|
+
}
|
|
3117
|
+
/**
|
|
3118
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3119
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3120
|
+
*
|
|
3121
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3122
|
+
*/
|
|
3123
|
+
static buildResourceProps(props) {
|
|
3124
|
+
return {
|
|
3125
|
+
...props,
|
|
3126
|
+
type: Credential.resourceType,
|
|
3127
|
+
apiVersion: Credential.apiVersion
|
|
3128
|
+
};
|
|
3129
|
+
}
|
|
3130
|
+
constructor(context, props, options) {
|
|
3131
|
+
super(context, Credential.buildResourceProps(props), options);
|
|
3132
|
+
}
|
|
3133
|
+
/**
|
|
3134
|
+
* The name of the credential.
|
|
3135
|
+
*/
|
|
3136
|
+
get name() {
|
|
3137
|
+
return this.expr("name");
|
|
3138
|
+
}
|
|
3139
|
+
set name(value) {
|
|
3140
|
+
this.setProperty("name", value);
|
|
3141
|
+
}
|
|
3142
|
+
/**
|
|
3143
|
+
* Resource properties.
|
|
3144
|
+
*/
|
|
3145
|
+
get properties() {
|
|
3146
|
+
return this.expr("properties");
|
|
3147
|
+
}
|
|
3148
|
+
set properties(value) {
|
|
3149
|
+
this.setProperty("properties", value);
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
class SqlServerJobExecutionStepTarget extends import_provisioning_core.Resource {
|
|
3153
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets";
|
|
3154
|
+
static apiVersion = API_VERSION;
|
|
3155
|
+
static namingRules = {
|
|
3156
|
+
abbreviation: "t",
|
|
3157
|
+
scope: "parent"
|
|
3158
|
+
};
|
|
3159
|
+
static {
|
|
3160
|
+
this.registerShape(
|
|
3161
|
+
(0, import_internal.createFlatModelShape)({
|
|
3162
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3163
|
+
properties: {
|
|
3164
|
+
armPath: ["properties"],
|
|
3165
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobExecutionPropertiesShape),
|
|
3166
|
+
readOnly: true
|
|
3167
|
+
}
|
|
3168
|
+
})
|
|
3169
|
+
);
|
|
3170
|
+
this.register();
|
|
3171
|
+
}
|
|
3172
|
+
/**
|
|
3173
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3174
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3175
|
+
*
|
|
3176
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3177
|
+
*/
|
|
3178
|
+
static buildResourceProps(props) {
|
|
3179
|
+
return {
|
|
3180
|
+
...props,
|
|
3181
|
+
type: SqlServerJobExecutionStepTarget.resourceType,
|
|
3182
|
+
apiVersion: SqlServerJobExecutionStepTarget.apiVersion
|
|
3183
|
+
};
|
|
3184
|
+
}
|
|
3185
|
+
constructor(context, props, options) {
|
|
3186
|
+
super(context, SqlServerJobExecutionStepTarget.buildResourceProps(props), options);
|
|
3187
|
+
}
|
|
3188
|
+
/**
|
|
3189
|
+
* The id of the job execution
|
|
3190
|
+
*/
|
|
3191
|
+
get name() {
|
|
3192
|
+
return this.expr("name");
|
|
3193
|
+
}
|
|
3194
|
+
set name(value) {
|
|
3195
|
+
this.setProperty("name", value);
|
|
3196
|
+
}
|
|
3197
|
+
/**
|
|
3198
|
+
* Resource properties.
|
|
3199
|
+
*/
|
|
3200
|
+
get properties() {
|
|
3201
|
+
return this.expr("properties");
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
3204
|
+
class SqlServerJobExecutionStep extends import_provisioning_core.Resource {
|
|
3205
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/jobs/executions/steps";
|
|
3206
|
+
static apiVersion = API_VERSION;
|
|
3207
|
+
static namingRules = {
|
|
3208
|
+
abbreviation: "s",
|
|
3209
|
+
scope: "parent"
|
|
3210
|
+
};
|
|
3211
|
+
static {
|
|
3212
|
+
this.registerShape(
|
|
3213
|
+
(0, import_internal.createFlatModelShape)({
|
|
3214
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3215
|
+
properties: {
|
|
3216
|
+
armPath: ["properties"],
|
|
3217
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobExecutionPropertiesShape),
|
|
3218
|
+
readOnly: true
|
|
3219
|
+
}
|
|
3220
|
+
})
|
|
3221
|
+
);
|
|
3222
|
+
this.register();
|
|
3223
|
+
}
|
|
3224
|
+
/**
|
|
3225
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3226
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3227
|
+
*
|
|
3228
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3229
|
+
*/
|
|
3230
|
+
static buildResourceProps(props) {
|
|
3231
|
+
return {
|
|
3232
|
+
...props,
|
|
3233
|
+
type: SqlServerJobExecutionStep.resourceType,
|
|
3234
|
+
apiVersion: SqlServerJobExecutionStep.apiVersion
|
|
3235
|
+
};
|
|
3236
|
+
}
|
|
3237
|
+
constructor(context, props, options) {
|
|
3238
|
+
super(context, SqlServerJobExecutionStep.buildResourceProps(props), options);
|
|
3239
|
+
}
|
|
3240
|
+
/**
|
|
3241
|
+
* The id of the job execution
|
|
3242
|
+
*/
|
|
3243
|
+
get name() {
|
|
3244
|
+
return this.expr("name");
|
|
3245
|
+
}
|
|
3246
|
+
set name(value) {
|
|
3247
|
+
this.setProperty("name", value);
|
|
3248
|
+
}
|
|
3249
|
+
/**
|
|
3250
|
+
* Resource properties.
|
|
3251
|
+
*/
|
|
3252
|
+
get properties() {
|
|
3253
|
+
return this.expr("properties");
|
|
3254
|
+
}
|
|
3255
|
+
}
|
|
3256
|
+
class SqlServerJobExecution extends import_provisioning_core.Resource {
|
|
3257
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/jobs/executions";
|
|
3258
|
+
static apiVersion = API_VERSION;
|
|
3259
|
+
static namingRules = {
|
|
3260
|
+
abbreviation: "e",
|
|
3261
|
+
scope: "parent"
|
|
3262
|
+
};
|
|
3263
|
+
static {
|
|
3264
|
+
this.registerShape(
|
|
3265
|
+
(0, import_internal.createFlatModelShape)({
|
|
3266
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3267
|
+
properties: {
|
|
3268
|
+
armPath: ["properties"],
|
|
3269
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobExecutionPropertiesShape),
|
|
3270
|
+
readOnly: true
|
|
3271
|
+
}
|
|
3272
|
+
})
|
|
3273
|
+
);
|
|
3274
|
+
this.register();
|
|
3275
|
+
}
|
|
3276
|
+
/**
|
|
3277
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3278
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3279
|
+
*
|
|
3280
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3281
|
+
*/
|
|
3282
|
+
static buildResourceProps(props) {
|
|
3283
|
+
return {
|
|
3284
|
+
...props,
|
|
3285
|
+
type: SqlServerJobExecution.resourceType,
|
|
3286
|
+
apiVersion: SqlServerJobExecution.apiVersion
|
|
3287
|
+
};
|
|
3288
|
+
}
|
|
3289
|
+
constructor(context, props, options) {
|
|
3290
|
+
super(context, SqlServerJobExecution.buildResourceProps(props), options);
|
|
3291
|
+
}
|
|
3292
|
+
/**
|
|
3293
|
+
* The id of the job execution
|
|
3294
|
+
*/
|
|
3295
|
+
get name() {
|
|
3296
|
+
return this.expr("name");
|
|
3297
|
+
}
|
|
3298
|
+
set name(value) {
|
|
3299
|
+
this.setProperty("name", value);
|
|
3300
|
+
}
|
|
3301
|
+
/**
|
|
3302
|
+
* Resource properties.
|
|
3303
|
+
*/
|
|
3304
|
+
get properties() {
|
|
3305
|
+
return this.expr("properties");
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
class SqlServerJobStep extends import_provisioning_core.Resource {
|
|
3309
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/jobs/steps";
|
|
3310
|
+
static apiVersion = API_VERSION;
|
|
3311
|
+
static namingRules = {
|
|
3312
|
+
abbreviation: "s",
|
|
3313
|
+
scope: "parent"
|
|
3314
|
+
};
|
|
3315
|
+
static {
|
|
3316
|
+
this.registerShape(
|
|
3317
|
+
(0, import_internal.createFlatModelShape)({
|
|
3318
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3319
|
+
properties: {
|
|
3320
|
+
armPath: ["properties"],
|
|
3321
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobStepPropertiesShape)
|
|
3322
|
+
}
|
|
3323
|
+
})
|
|
3324
|
+
);
|
|
3325
|
+
this.register();
|
|
3326
|
+
}
|
|
3327
|
+
/**
|
|
3328
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3329
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3330
|
+
*
|
|
3331
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3332
|
+
*/
|
|
3333
|
+
static buildResourceProps(props) {
|
|
3334
|
+
return {
|
|
3335
|
+
...props,
|
|
3336
|
+
type: SqlServerJobStep.resourceType,
|
|
3337
|
+
apiVersion: SqlServerJobStep.apiVersion
|
|
3338
|
+
};
|
|
3339
|
+
}
|
|
3340
|
+
constructor(context, props, options) {
|
|
3341
|
+
super(context, SqlServerJobStep.buildResourceProps(props), options);
|
|
3342
|
+
}
|
|
3343
|
+
/**
|
|
3344
|
+
* The name of the job step.
|
|
3345
|
+
*/
|
|
3346
|
+
get name() {
|
|
3347
|
+
return this.expr("name");
|
|
3348
|
+
}
|
|
3349
|
+
set name(value) {
|
|
3350
|
+
this.setProperty("name", value);
|
|
3351
|
+
}
|
|
3352
|
+
/**
|
|
3353
|
+
* Resource properties.
|
|
3354
|
+
*/
|
|
3355
|
+
get properties() {
|
|
3356
|
+
return this.expr("properties");
|
|
3357
|
+
}
|
|
3358
|
+
set properties(value) {
|
|
3359
|
+
this.setProperty("properties", value);
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3362
|
+
class SqlServerJobVersionStep extends import_provisioning_core.Resource {
|
|
3363
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/jobs/versions/steps";
|
|
3364
|
+
static apiVersion = API_VERSION;
|
|
3365
|
+
static namingRules = {
|
|
3366
|
+
abbreviation: "s",
|
|
3367
|
+
scope: "parent"
|
|
3368
|
+
};
|
|
3369
|
+
static {
|
|
3370
|
+
this.registerShape(
|
|
3371
|
+
(0, import_internal.createFlatModelShape)({
|
|
3372
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3373
|
+
properties: {
|
|
3374
|
+
armPath: ["properties"],
|
|
3375
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobStepPropertiesShape),
|
|
3376
|
+
readOnly: true
|
|
3377
|
+
}
|
|
3378
|
+
})
|
|
3379
|
+
);
|
|
3380
|
+
this.register();
|
|
3381
|
+
}
|
|
3382
|
+
/**
|
|
3383
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3384
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3385
|
+
*
|
|
3386
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3387
|
+
*/
|
|
3388
|
+
static buildResourceProps(props) {
|
|
3389
|
+
return {
|
|
3390
|
+
...props,
|
|
3391
|
+
type: SqlServerJobVersionStep.resourceType,
|
|
3392
|
+
apiVersion: SqlServerJobVersionStep.apiVersion
|
|
3393
|
+
};
|
|
3394
|
+
}
|
|
3395
|
+
constructor(context, props, options) {
|
|
3396
|
+
super(context, SqlServerJobVersionStep.buildResourceProps(props), options);
|
|
3397
|
+
}
|
|
3398
|
+
/**
|
|
3399
|
+
* The name of the job step.
|
|
3400
|
+
*/
|
|
3401
|
+
get name() {
|
|
3402
|
+
return this.expr("name");
|
|
3403
|
+
}
|
|
3404
|
+
set name(value) {
|
|
3405
|
+
this.setProperty("name", value);
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
* Resource properties.
|
|
3409
|
+
*/
|
|
3410
|
+
get properties() {
|
|
3411
|
+
return this.expr("properties");
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
class Version extends import_provisioning_core.Resource {
|
|
3415
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/jobs/versions";
|
|
3416
|
+
static apiVersion = API_VERSION;
|
|
3417
|
+
static namingRules = {
|
|
3418
|
+
abbreviation: "v",
|
|
3419
|
+
scope: "parent"
|
|
3420
|
+
};
|
|
3421
|
+
static {
|
|
3422
|
+
this.registerShape(
|
|
3423
|
+
(0, import_internal.createFlatModelShape)({
|
|
3424
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3425
|
+
properties: { armPath: ["properties"], value: (0, import_internal.createAnyShape)(), readOnly: true }
|
|
3426
|
+
})
|
|
3427
|
+
);
|
|
3428
|
+
this.register();
|
|
3429
|
+
}
|
|
3430
|
+
/**
|
|
3431
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3432
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3433
|
+
*
|
|
3434
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3435
|
+
*/
|
|
3436
|
+
static buildResourceProps(props) {
|
|
3437
|
+
return {
|
|
3438
|
+
...props,
|
|
3439
|
+
type: Version.resourceType,
|
|
3440
|
+
apiVersion: Version.apiVersion
|
|
3441
|
+
};
|
|
3442
|
+
}
|
|
3443
|
+
constructor(context, props, options) {
|
|
3444
|
+
super(context, Version.buildResourceProps(props), options);
|
|
3445
|
+
}
|
|
3446
|
+
/**
|
|
3447
|
+
* The version of the job to get.
|
|
3448
|
+
*/
|
|
3449
|
+
get name() {
|
|
3450
|
+
return this.expr("name");
|
|
3451
|
+
}
|
|
3452
|
+
set name(value) {
|
|
3453
|
+
this.setProperty("name", value);
|
|
3454
|
+
}
|
|
3455
|
+
/**
|
|
3456
|
+
* The resource-specific properties for this resource.
|
|
3457
|
+
*/
|
|
3458
|
+
get properties() {
|
|
3459
|
+
return this.expr("properties");
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3462
|
+
class Job extends import_provisioning_core.Resource {
|
|
3463
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/jobs";
|
|
3464
|
+
static apiVersion = API_VERSION;
|
|
3465
|
+
static namingRules = {
|
|
3466
|
+
abbreviation: "j",
|
|
3467
|
+
pattern: {
|
|
3468
|
+
regex: ""
|
|
3469
|
+
},
|
|
3470
|
+
scope: "parent"
|
|
3471
|
+
};
|
|
3472
|
+
static {
|
|
3473
|
+
this.registerShape(
|
|
3474
|
+
(0, import_internal.createFlatModelShape)({
|
|
3475
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3476
|
+
properties: {
|
|
3477
|
+
armPath: ["properties"],
|
|
3478
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobPropertiesShape)
|
|
3479
|
+
}
|
|
3480
|
+
})
|
|
3481
|
+
);
|
|
3482
|
+
this.register();
|
|
3483
|
+
}
|
|
3484
|
+
/**
|
|
3485
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3486
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3487
|
+
*
|
|
3488
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3489
|
+
*/
|
|
3490
|
+
static buildResourceProps(props) {
|
|
3491
|
+
return {
|
|
3492
|
+
...props,
|
|
3493
|
+
type: Job.resourceType,
|
|
3494
|
+
apiVersion: Job.apiVersion
|
|
3495
|
+
};
|
|
3496
|
+
}
|
|
3497
|
+
constructor(context, props, options) {
|
|
3498
|
+
super(context, Job.buildResourceProps(props), options);
|
|
3499
|
+
}
|
|
3500
|
+
/**
|
|
3501
|
+
* The name of the job to get.
|
|
3502
|
+
*/
|
|
3503
|
+
get name() {
|
|
3504
|
+
return this.expr("name");
|
|
3505
|
+
}
|
|
3506
|
+
set name(value) {
|
|
3507
|
+
this.setProperty("name", value);
|
|
3508
|
+
}
|
|
3509
|
+
/**
|
|
3510
|
+
* Resource properties.
|
|
3511
|
+
*/
|
|
3512
|
+
get properties() {
|
|
3513
|
+
return this.expr("properties");
|
|
3514
|
+
}
|
|
3515
|
+
set properties(value) {
|
|
3516
|
+
this.setProperty("properties", value);
|
|
3517
|
+
}
|
|
3518
|
+
}
|
|
3519
|
+
class PrivateEndpoint extends import_provisioning_core.Resource {
|
|
3520
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/privateEndpoints";
|
|
3521
|
+
static apiVersion = API_VERSION;
|
|
3522
|
+
static namingRules = {
|
|
3523
|
+
abbreviation: "pe",
|
|
3524
|
+
pattern: {
|
|
3525
|
+
regex: ""
|
|
3526
|
+
},
|
|
3527
|
+
scope: "parent"
|
|
3528
|
+
};
|
|
3529
|
+
static {
|
|
3530
|
+
this.registerShape(
|
|
3531
|
+
(0, import_internal.createFlatModelShape)({
|
|
3532
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3533
|
+
properties: {
|
|
3534
|
+
armPath: ["properties"],
|
|
3535
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobPrivateEndpointPropertiesShape)
|
|
3536
|
+
}
|
|
3537
|
+
})
|
|
3538
|
+
);
|
|
3539
|
+
this.register();
|
|
3540
|
+
}
|
|
3541
|
+
/**
|
|
3542
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3543
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3544
|
+
*
|
|
3545
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3546
|
+
*/
|
|
3547
|
+
static buildResourceProps(props) {
|
|
3548
|
+
return {
|
|
3549
|
+
...props,
|
|
3550
|
+
type: PrivateEndpoint.resourceType,
|
|
3551
|
+
apiVersion: PrivateEndpoint.apiVersion
|
|
3552
|
+
};
|
|
3553
|
+
}
|
|
3554
|
+
constructor(context, props, options) {
|
|
3555
|
+
super(context, PrivateEndpoint.buildResourceProps(props), options);
|
|
3556
|
+
}
|
|
3557
|
+
/**
|
|
3558
|
+
* The name of the private endpoint to get.
|
|
3559
|
+
*/
|
|
3560
|
+
get name() {
|
|
3561
|
+
return this.expr("name");
|
|
3562
|
+
}
|
|
3563
|
+
set name(value) {
|
|
3564
|
+
this.setProperty("name", value);
|
|
3565
|
+
}
|
|
3566
|
+
/**
|
|
3567
|
+
* Resource properties.
|
|
3568
|
+
*/
|
|
3569
|
+
get properties() {
|
|
3570
|
+
return this.expr("properties");
|
|
3571
|
+
}
|
|
3572
|
+
set properties(value) {
|
|
3573
|
+
this.setProperty("properties", value);
|
|
3574
|
+
}
|
|
3575
|
+
}
|
|
3576
|
+
class TargetGroup extends import_provisioning_core.Resource {
|
|
3577
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents/targetGroups";
|
|
3578
|
+
static apiVersion = API_VERSION;
|
|
3579
|
+
static namingRules = {
|
|
3580
|
+
abbreviation: "tg",
|
|
3581
|
+
pattern: {
|
|
3582
|
+
regex: ""
|
|
3583
|
+
},
|
|
3584
|
+
scope: "parent"
|
|
3585
|
+
};
|
|
3586
|
+
static {
|
|
3587
|
+
this.registerShape(
|
|
3588
|
+
(0, import_internal.createFlatModelShape)({
|
|
3589
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3590
|
+
properties: {
|
|
3591
|
+
armPath: ["properties"],
|
|
3592
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobTargetGroupPropertiesShape)
|
|
3593
|
+
}
|
|
3594
|
+
})
|
|
3595
|
+
);
|
|
3596
|
+
this.register();
|
|
3597
|
+
}
|
|
3598
|
+
/**
|
|
3599
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3600
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3601
|
+
*
|
|
3602
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3603
|
+
*/
|
|
3604
|
+
static buildResourceProps(props) {
|
|
3605
|
+
return {
|
|
3606
|
+
...props,
|
|
3607
|
+
type: TargetGroup.resourceType,
|
|
3608
|
+
apiVersion: TargetGroup.apiVersion
|
|
3609
|
+
};
|
|
3610
|
+
}
|
|
3611
|
+
constructor(context, props, options) {
|
|
3612
|
+
super(context, TargetGroup.buildResourceProps(props), options);
|
|
3613
|
+
}
|
|
3614
|
+
/**
|
|
3615
|
+
* The name of the target group.
|
|
3616
|
+
*/
|
|
3617
|
+
get name() {
|
|
3618
|
+
return this.expr("name");
|
|
3619
|
+
}
|
|
3620
|
+
set name(value) {
|
|
3621
|
+
this.setProperty("name", value);
|
|
3622
|
+
}
|
|
3623
|
+
/**
|
|
3624
|
+
* Resource properties.
|
|
3625
|
+
*/
|
|
3626
|
+
get properties() {
|
|
3627
|
+
return this.expr("properties");
|
|
3628
|
+
}
|
|
3629
|
+
set properties(value) {
|
|
3630
|
+
this.setProperty("properties", value);
|
|
3631
|
+
}
|
|
3632
|
+
}
|
|
3633
|
+
class JobAgent extends import_provisioning_core.Resource {
|
|
3634
|
+
static resourceType = "Microsoft.Sql/servers/jobAgents";
|
|
3635
|
+
static apiVersion = API_VERSION;
|
|
3636
|
+
static namingRules = {
|
|
3637
|
+
abbreviation: "ja",
|
|
3638
|
+
pattern: {
|
|
3639
|
+
regex: ""
|
|
3640
|
+
},
|
|
3641
|
+
scope: "parent"
|
|
3642
|
+
};
|
|
3643
|
+
static {
|
|
3644
|
+
this.registerShape(
|
|
3645
|
+
(0, import_internal.createFlatModelShape)({
|
|
3646
|
+
identity: {
|
|
3647
|
+
armPath: ["identity"],
|
|
3648
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobAgentIdentityShape)
|
|
3649
|
+
},
|
|
3650
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)() },
|
|
3651
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3652
|
+
properties: {
|
|
3653
|
+
armPath: ["properties"],
|
|
3654
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.jobAgentPropertiesShape)
|
|
3655
|
+
},
|
|
3656
|
+
sku: { armPath: ["sku"], value: (0, import_internal.createDeferredShape)(() => import_types.skuShape) },
|
|
3657
|
+
tags: { armPath: ["tags"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()) }
|
|
3658
|
+
})
|
|
3659
|
+
);
|
|
3660
|
+
this.register();
|
|
3661
|
+
}
|
|
3662
|
+
/**
|
|
3663
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3664
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3665
|
+
*
|
|
3666
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3667
|
+
*/
|
|
3668
|
+
static buildResourceProps(props) {
|
|
3669
|
+
return {
|
|
3670
|
+
...props,
|
|
3671
|
+
type: JobAgent.resourceType,
|
|
3672
|
+
apiVersion: JobAgent.apiVersion
|
|
3673
|
+
};
|
|
3674
|
+
}
|
|
3675
|
+
constructor(context, props, options) {
|
|
3676
|
+
super(context, JobAgent.buildResourceProps(props), options);
|
|
3677
|
+
}
|
|
3678
|
+
/**
|
|
3679
|
+
* The identity of the job agent.
|
|
3680
|
+
*/
|
|
3681
|
+
get identity() {
|
|
3682
|
+
return this.expr("identity");
|
|
3683
|
+
}
|
|
3684
|
+
set identity(value) {
|
|
3685
|
+
this.setProperty("identity", value);
|
|
3686
|
+
}
|
|
3687
|
+
/**
|
|
3688
|
+
* The geo-location where the resource lives
|
|
3689
|
+
*/
|
|
3690
|
+
get location() {
|
|
3691
|
+
return this.expr("location");
|
|
3692
|
+
}
|
|
3693
|
+
set location(value) {
|
|
3694
|
+
this.setProperty("location", value);
|
|
3695
|
+
}
|
|
3696
|
+
/**
|
|
3697
|
+
* The name of the job agent to be retrieved.
|
|
3698
|
+
*/
|
|
3699
|
+
get name() {
|
|
3700
|
+
return this.expr("name");
|
|
3701
|
+
}
|
|
3702
|
+
set name(value) {
|
|
3703
|
+
this.setProperty("name", value);
|
|
3704
|
+
}
|
|
3705
|
+
/**
|
|
3706
|
+
* Resource properties.
|
|
3707
|
+
*/
|
|
3708
|
+
get properties() {
|
|
3709
|
+
return this.expr("properties");
|
|
3710
|
+
}
|
|
3711
|
+
set properties(value) {
|
|
3712
|
+
this.setProperty("properties", value);
|
|
3713
|
+
}
|
|
3714
|
+
/**
|
|
3715
|
+
* The name and tier of the SKU.
|
|
3716
|
+
*/
|
|
3717
|
+
get sku() {
|
|
3718
|
+
return this.expr("sku");
|
|
3719
|
+
}
|
|
3720
|
+
set sku(value) {
|
|
3721
|
+
this.setProperty("sku", value);
|
|
3722
|
+
}
|
|
3723
|
+
/**
|
|
3724
|
+
* Resource tags.
|
|
3725
|
+
*/
|
|
3726
|
+
get tags() {
|
|
3727
|
+
return this.expr("tags");
|
|
3728
|
+
}
|
|
3729
|
+
set tags(value) {
|
|
3730
|
+
this.setProperty("tags", value);
|
|
3731
|
+
}
|
|
3732
|
+
}
|
|
3733
|
+
class ServerKey extends import_provisioning_core.Resource {
|
|
3734
|
+
static resourceType = "Microsoft.Sql/servers/keys";
|
|
3735
|
+
static apiVersion = API_VERSION;
|
|
3736
|
+
static namingRules = {
|
|
3737
|
+
abbreviation: "k",
|
|
3738
|
+
pattern: {
|
|
3739
|
+
regex: ""
|
|
3740
|
+
},
|
|
3741
|
+
scope: "parent"
|
|
3742
|
+
};
|
|
3743
|
+
static {
|
|
3744
|
+
this.registerShape(
|
|
3745
|
+
(0, import_internal.createFlatModelShape)({
|
|
3746
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
3747
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
3748
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3749
|
+
properties: {
|
|
3750
|
+
armPath: ["properties"],
|
|
3751
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.serverKeyPropertiesShape)
|
|
3752
|
+
}
|
|
3753
|
+
})
|
|
3754
|
+
);
|
|
3755
|
+
this.register();
|
|
3756
|
+
}
|
|
3757
|
+
/**
|
|
3758
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3759
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3760
|
+
*
|
|
3761
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3762
|
+
*/
|
|
3763
|
+
static buildResourceProps(props) {
|
|
3764
|
+
return {
|
|
3765
|
+
...props,
|
|
3766
|
+
type: ServerKey.resourceType,
|
|
3767
|
+
apiVersion: ServerKey.apiVersion
|
|
3768
|
+
};
|
|
3769
|
+
}
|
|
3770
|
+
constructor(context, props, options) {
|
|
3771
|
+
super(context, ServerKey.buildResourceProps(props), options);
|
|
3772
|
+
}
|
|
3773
|
+
/**
|
|
3774
|
+
* Kind of encryption protector. This is metadata used for the Azure portal experience.
|
|
3775
|
+
*/
|
|
3776
|
+
get kind() {
|
|
3777
|
+
return this.expr("kind");
|
|
3778
|
+
}
|
|
3779
|
+
/**
|
|
3780
|
+
* Resource location.
|
|
3781
|
+
*/
|
|
3782
|
+
get location() {
|
|
3783
|
+
return this.expr("location");
|
|
3784
|
+
}
|
|
3785
|
+
/**
|
|
3786
|
+
* The name of the server key to be retrieved.
|
|
3787
|
+
*/
|
|
3788
|
+
get name() {
|
|
3789
|
+
return this.expr("name");
|
|
3790
|
+
}
|
|
3791
|
+
set name(value) {
|
|
3792
|
+
this.setProperty("name", value);
|
|
3793
|
+
}
|
|
3794
|
+
/**
|
|
3795
|
+
* Resource properties.
|
|
3796
|
+
*/
|
|
3797
|
+
get properties() {
|
|
3798
|
+
return this.expr("properties");
|
|
3799
|
+
}
|
|
3800
|
+
set properties(value) {
|
|
3801
|
+
this.setProperty("properties", value);
|
|
3802
|
+
}
|
|
3803
|
+
}
|
|
3804
|
+
class NetworkSecurityPerimeterConfiguration extends import_provisioning_core.Resource {
|
|
3805
|
+
static resourceType = "Microsoft.Sql/servers/networkSecurityPerimeterConfigurations";
|
|
3806
|
+
static apiVersion = API_VERSION;
|
|
3807
|
+
static namingRules = {
|
|
3808
|
+
abbreviation: "nspc",
|
|
3809
|
+
pattern: {
|
|
3810
|
+
regex: ""
|
|
3811
|
+
},
|
|
3812
|
+
scope: "parent"
|
|
3813
|
+
};
|
|
3814
|
+
static {
|
|
3815
|
+
this.registerShape(
|
|
3816
|
+
(0, import_internal.createFlatModelShape)({
|
|
3817
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3818
|
+
properties: {
|
|
3819
|
+
armPath: ["properties"],
|
|
3820
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.networkSecurityPerimeterConfigurationPropertiesShape),
|
|
3821
|
+
readOnly: true
|
|
3822
|
+
}
|
|
3823
|
+
})
|
|
3824
|
+
);
|
|
3825
|
+
this.register();
|
|
3826
|
+
}
|
|
3827
|
+
/**
|
|
3828
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3829
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3830
|
+
*
|
|
3831
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3832
|
+
*/
|
|
3833
|
+
static buildResourceProps(props) {
|
|
3834
|
+
return {
|
|
3835
|
+
...props,
|
|
3836
|
+
type: NetworkSecurityPerimeterConfiguration.resourceType,
|
|
3837
|
+
apiVersion: NetworkSecurityPerimeterConfiguration.apiVersion
|
|
3838
|
+
};
|
|
3839
|
+
}
|
|
3840
|
+
constructor(context, props, options) {
|
|
3841
|
+
super(context, NetworkSecurityPerimeterConfiguration.buildResourceProps(props), options);
|
|
3842
|
+
}
|
|
3843
|
+
get name() {
|
|
3844
|
+
return this.expr("name");
|
|
3845
|
+
}
|
|
3846
|
+
set name(value) {
|
|
3847
|
+
this.setProperty("name", value);
|
|
3848
|
+
}
|
|
3849
|
+
/**
|
|
3850
|
+
* Resource properties.
|
|
3851
|
+
*/
|
|
3852
|
+
get properties() {
|
|
3853
|
+
return this.expr("properties");
|
|
3854
|
+
}
|
|
3855
|
+
}
|
|
3856
|
+
class OutboundFirewallRule extends import_provisioning_core.Resource {
|
|
3857
|
+
static resourceType = "Microsoft.Sql/servers/outboundFirewallRules";
|
|
3858
|
+
static apiVersion = API_VERSION;
|
|
3859
|
+
static namingRules = {
|
|
3860
|
+
abbreviation: "ofr",
|
|
3861
|
+
pattern: {
|
|
3862
|
+
regex: ""
|
|
3863
|
+
},
|
|
3864
|
+
scope: "parent"
|
|
3865
|
+
};
|
|
3866
|
+
static {
|
|
3867
|
+
this.registerShape(
|
|
3868
|
+
(0, import_internal.createFlatModelShape)({
|
|
3869
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3870
|
+
properties: {
|
|
3871
|
+
armPath: ["properties"],
|
|
3872
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.outboundFirewallRulePropertiesShape),
|
|
3873
|
+
readOnly: true
|
|
3874
|
+
}
|
|
3875
|
+
})
|
|
3876
|
+
);
|
|
3877
|
+
this.register();
|
|
3878
|
+
}
|
|
3879
|
+
/**
|
|
3880
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3881
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3882
|
+
*
|
|
3883
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3884
|
+
*/
|
|
3885
|
+
static buildResourceProps(props) {
|
|
3886
|
+
return {
|
|
3887
|
+
...props,
|
|
3888
|
+
type: OutboundFirewallRule.resourceType,
|
|
3889
|
+
apiVersion: OutboundFirewallRule.apiVersion
|
|
3890
|
+
};
|
|
3891
|
+
}
|
|
3892
|
+
constructor(context, props, options) {
|
|
3893
|
+
super(context, OutboundFirewallRule.buildResourceProps(props), options);
|
|
3894
|
+
}
|
|
3895
|
+
get name() {
|
|
3896
|
+
return this.expr("name");
|
|
3897
|
+
}
|
|
3898
|
+
set name(value) {
|
|
3899
|
+
this.setProperty("name", value);
|
|
3900
|
+
}
|
|
3901
|
+
/**
|
|
3902
|
+
* Resource properties.
|
|
3903
|
+
*/
|
|
3904
|
+
get properties() {
|
|
3905
|
+
return this.expr("properties");
|
|
3906
|
+
}
|
|
3907
|
+
}
|
|
3908
|
+
class ServerPrivateEndpointConnection extends import_provisioning_core.Resource {
|
|
3909
|
+
static resourceType = "Microsoft.Sql/servers/privateEndpointConnections";
|
|
3910
|
+
static apiVersion = API_VERSION;
|
|
3911
|
+
static namingRules = {
|
|
3912
|
+
abbreviation: "pec",
|
|
3913
|
+
pattern: {
|
|
3914
|
+
regex: ""
|
|
3915
|
+
},
|
|
3916
|
+
scope: "parent"
|
|
3917
|
+
};
|
|
3918
|
+
static {
|
|
3919
|
+
this.registerShape(
|
|
3920
|
+
(0, import_internal.createFlatModelShape)({
|
|
3921
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3922
|
+
properties: {
|
|
3923
|
+
armPath: ["properties"],
|
|
3924
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.privateEndpointConnectionPropertiesShape)
|
|
3925
|
+
}
|
|
3926
|
+
})
|
|
3927
|
+
);
|
|
3928
|
+
this.register();
|
|
3929
|
+
}
|
|
3930
|
+
/**
|
|
3931
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3932
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3933
|
+
*
|
|
3934
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3935
|
+
*/
|
|
3936
|
+
static buildResourceProps(props) {
|
|
3937
|
+
return {
|
|
3938
|
+
...props,
|
|
3939
|
+
type: ServerPrivateEndpointConnection.resourceType,
|
|
3940
|
+
apiVersion: ServerPrivateEndpointConnection.apiVersion
|
|
3941
|
+
};
|
|
3942
|
+
}
|
|
3943
|
+
constructor(context, props, options) {
|
|
3944
|
+
super(context, ServerPrivateEndpointConnection.buildResourceProps(props), options);
|
|
3945
|
+
}
|
|
3946
|
+
/**
|
|
3947
|
+
* The name of the private endpoint connection.
|
|
3948
|
+
*/
|
|
3949
|
+
get name() {
|
|
3950
|
+
return this.expr("name");
|
|
3951
|
+
}
|
|
3952
|
+
set name(value) {
|
|
3953
|
+
this.setProperty("name", value);
|
|
3954
|
+
}
|
|
3955
|
+
/**
|
|
3956
|
+
* Resource properties.
|
|
3957
|
+
*/
|
|
3958
|
+
get properties() {
|
|
3959
|
+
return this.expr("properties");
|
|
3960
|
+
}
|
|
3961
|
+
set properties(value) {
|
|
3962
|
+
this.setProperty("properties", value);
|
|
3963
|
+
}
|
|
3964
|
+
}
|
|
3965
|
+
class PrivateLinkResource extends import_provisioning_core.Resource {
|
|
3966
|
+
static resourceType = "Microsoft.Sql/servers/privateLinkResources";
|
|
3967
|
+
static apiVersion = API_VERSION;
|
|
3968
|
+
static namingRules = {
|
|
3969
|
+
abbreviation: "plr",
|
|
3970
|
+
pattern: {
|
|
3971
|
+
regex: ""
|
|
3972
|
+
},
|
|
3973
|
+
scope: "parent"
|
|
3974
|
+
};
|
|
3975
|
+
static {
|
|
3976
|
+
this.registerShape(
|
|
3977
|
+
(0, import_internal.createFlatModelShape)({
|
|
3978
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
3979
|
+
properties: {
|
|
3980
|
+
armPath: ["properties"],
|
|
3981
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.privateLinkResourcePropertiesShape),
|
|
3982
|
+
readOnly: true
|
|
3983
|
+
}
|
|
3984
|
+
})
|
|
3985
|
+
);
|
|
3986
|
+
this.register();
|
|
3987
|
+
}
|
|
3988
|
+
/**
|
|
3989
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3990
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3991
|
+
*
|
|
3992
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3993
|
+
*/
|
|
3994
|
+
static buildResourceProps(props) {
|
|
3995
|
+
return {
|
|
3996
|
+
...props,
|
|
3997
|
+
type: PrivateLinkResource.resourceType,
|
|
3998
|
+
apiVersion: PrivateLinkResource.apiVersion
|
|
3999
|
+
};
|
|
4000
|
+
}
|
|
4001
|
+
constructor(context, props, options) {
|
|
4002
|
+
super(context, PrivateLinkResource.buildResourceProps(props), options);
|
|
4003
|
+
}
|
|
4004
|
+
/**
|
|
4005
|
+
* The name of the private link resource.
|
|
4006
|
+
*/
|
|
4007
|
+
get name() {
|
|
4008
|
+
return this.expr("name");
|
|
4009
|
+
}
|
|
4010
|
+
set name(value) {
|
|
4011
|
+
this.setProperty("name", value);
|
|
4012
|
+
}
|
|
4013
|
+
/**
|
|
4014
|
+
* The private link resource group id.
|
|
4015
|
+
*/
|
|
4016
|
+
get properties() {
|
|
4017
|
+
return this.expr("properties");
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
4020
|
+
class RecoverableDatabase extends import_provisioning_core.Resource {
|
|
4021
|
+
static resourceType = "Microsoft.Sql/servers/recoverableDatabases";
|
|
4022
|
+
static apiVersion = API_VERSION;
|
|
4023
|
+
static namingRules = {
|
|
4024
|
+
abbreviation: "rd",
|
|
4025
|
+
pattern: {
|
|
4026
|
+
regex: ""
|
|
4027
|
+
},
|
|
4028
|
+
scope: "parent"
|
|
4029
|
+
};
|
|
4030
|
+
static {
|
|
4031
|
+
this.registerShape(
|
|
4032
|
+
(0, import_internal.createFlatModelShape)({
|
|
4033
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
4034
|
+
properties: {
|
|
4035
|
+
armPath: ["properties"],
|
|
4036
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.recoverableDatabasePropertiesShape),
|
|
4037
|
+
readOnly: true
|
|
4038
|
+
}
|
|
4039
|
+
})
|
|
4040
|
+
);
|
|
4041
|
+
this.register();
|
|
4042
|
+
}
|
|
4043
|
+
/**
|
|
4044
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
4045
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
4046
|
+
*
|
|
4047
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
4048
|
+
*/
|
|
4049
|
+
static buildResourceProps(props) {
|
|
4050
|
+
return {
|
|
4051
|
+
...props,
|
|
4052
|
+
type: RecoverableDatabase.resourceType,
|
|
4053
|
+
apiVersion: RecoverableDatabase.apiVersion
|
|
4054
|
+
};
|
|
4055
|
+
}
|
|
4056
|
+
constructor(context, props, options) {
|
|
4057
|
+
super(context, RecoverableDatabase.buildResourceProps(props), options);
|
|
4058
|
+
}
|
|
4059
|
+
/**
|
|
4060
|
+
* The name of the database.
|
|
4061
|
+
*/
|
|
4062
|
+
get name() {
|
|
4063
|
+
return this.expr("name");
|
|
4064
|
+
}
|
|
4065
|
+
set name(value) {
|
|
4066
|
+
this.setProperty("name", value);
|
|
4067
|
+
}
|
|
4068
|
+
/**
|
|
4069
|
+
* Resource properties.
|
|
4070
|
+
*/
|
|
4071
|
+
get properties() {
|
|
4072
|
+
return this.expr("properties");
|
|
4073
|
+
}
|
|
4074
|
+
}
|
|
4075
|
+
class RestorableDroppedDatabase extends import_provisioning_core.Resource {
|
|
4076
|
+
static resourceType = "Microsoft.Sql/servers/restorableDroppedDatabases";
|
|
4077
|
+
static apiVersion = API_VERSION;
|
|
4078
|
+
static namingRules = {
|
|
4079
|
+
abbreviation: "rdd",
|
|
4080
|
+
pattern: {
|
|
4081
|
+
regex: ""
|
|
4082
|
+
},
|
|
4083
|
+
scope: "parent"
|
|
4084
|
+
};
|
|
4085
|
+
static {
|
|
4086
|
+
this.registerShape(
|
|
4087
|
+
(0, import_internal.createFlatModelShape)({
|
|
4088
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
4089
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
4090
|
+
properties: {
|
|
4091
|
+
armPath: ["properties"],
|
|
4092
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.restorableDroppedDatabasePropertiesShape),
|
|
4093
|
+
readOnly: true
|
|
4094
|
+
},
|
|
4095
|
+
sku: { armPath: ["sku"], value: (0, import_internal.createDeferredShape)(() => import_types.skuShape), readOnly: true },
|
|
4096
|
+
tags: { armPath: ["tags"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()), readOnly: true }
|
|
4097
|
+
})
|
|
4098
|
+
);
|
|
4099
|
+
this.register();
|
|
4100
|
+
}
|
|
4101
|
+
/**
|
|
4102
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
4103
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
4104
|
+
*
|
|
4105
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
4106
|
+
*/
|
|
4107
|
+
static buildResourceProps(props) {
|
|
4108
|
+
return {
|
|
4109
|
+
...props,
|
|
4110
|
+
type: RestorableDroppedDatabase.resourceType,
|
|
4111
|
+
apiVersion: RestorableDroppedDatabase.apiVersion
|
|
4112
|
+
};
|
|
4113
|
+
}
|
|
4114
|
+
constructor(context, props, options) {
|
|
4115
|
+
super(context, RestorableDroppedDatabase.buildResourceProps(props), options);
|
|
4116
|
+
}
|
|
4117
|
+
/**
|
|
4118
|
+
* Resource location.
|
|
4119
|
+
*/
|
|
4120
|
+
get location() {
|
|
4121
|
+
return this.expr("location");
|
|
4122
|
+
}
|
|
4123
|
+
get name() {
|
|
4124
|
+
return this.expr("name");
|
|
4125
|
+
}
|
|
4126
|
+
set name(value) {
|
|
4127
|
+
this.setProperty("name", value);
|
|
4128
|
+
}
|
|
4129
|
+
/**
|
|
4130
|
+
* Resource properties.
|
|
4131
|
+
*/
|
|
4132
|
+
get properties() {
|
|
4133
|
+
return this.expr("properties");
|
|
4134
|
+
}
|
|
4135
|
+
/**
|
|
4136
|
+
* The name and tier of the SKU.
|
|
4137
|
+
*/
|
|
4138
|
+
get sku() {
|
|
4139
|
+
return this.expr("sku");
|
|
4140
|
+
}
|
|
4141
|
+
/**
|
|
4142
|
+
* Resource tags.
|
|
4143
|
+
*/
|
|
4144
|
+
get tags() {
|
|
4145
|
+
return this.expr("tags");
|
|
4146
|
+
}
|
|
4147
|
+
}
|
|
4148
|
+
class ServerSecurityAlertPolicy extends import_provisioning_core.Resource {
|
|
4149
|
+
static resourceType = "Microsoft.Sql/servers/securityAlertPolicies";
|
|
4150
|
+
static apiVersion = API_VERSION;
|
|
4151
|
+
static namingRules = {
|
|
4152
|
+
abbreviation: "sap",
|
|
4153
|
+
pattern: {
|
|
4154
|
+
regex: ""
|
|
4155
|
+
},
|
|
4156
|
+
scope: "parent"
|
|
4157
|
+
};
|
|
4158
|
+
static {
|
|
4159
|
+
this.registerShape(
|
|
4160
|
+
(0, import_internal.createFlatModelShape)({
|
|
4161
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
4162
|
+
properties: {
|
|
4163
|
+
armPath: ["properties"],
|
|
4164
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.securityAlertsPolicyPropertiesShape)
|
|
4165
|
+
}
|
|
4166
|
+
})
|
|
4167
|
+
);
|
|
4168
|
+
this.register();
|
|
4169
|
+
}
|
|
4170
|
+
/**
|
|
4171
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
4172
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
4173
|
+
*
|
|
4174
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
4175
|
+
*/
|
|
4176
|
+
static buildResourceProps(props) {
|
|
4177
|
+
return {
|
|
4178
|
+
...props,
|
|
4179
|
+
type: ServerSecurityAlertPolicy.resourceType,
|
|
4180
|
+
apiVersion: ServerSecurityAlertPolicy.apiVersion
|
|
4181
|
+
};
|
|
4182
|
+
}
|
|
4183
|
+
constructor(context, props, options) {
|
|
4184
|
+
super(context, ServerSecurityAlertPolicy.buildResourceProps(props), options);
|
|
4185
|
+
}
|
|
4186
|
+
/**
|
|
4187
|
+
* The name of the security alert policy.
|
|
4188
|
+
*/
|
|
4189
|
+
get name() {
|
|
4190
|
+
return this.expr("name");
|
|
4191
|
+
}
|
|
4192
|
+
set name(value) {
|
|
4193
|
+
this.setProperty("name", value);
|
|
4194
|
+
}
|
|
4195
|
+
/**
|
|
4196
|
+
* Resource properties.
|
|
4197
|
+
*/
|
|
4198
|
+
get properties() {
|
|
4199
|
+
return this.expr("properties");
|
|
4200
|
+
}
|
|
4201
|
+
set properties(value) {
|
|
4202
|
+
this.setProperty("properties", value);
|
|
4203
|
+
}
|
|
4204
|
+
}
|
|
4205
|
+
class SqlServerSqlVulnerabilityAssessment extends import_provisioning_core.Resource {
|
|
4206
|
+
static resourceType = "Microsoft.Sql/servers/sqlVulnerabilityAssessments";
|
|
4207
|
+
static apiVersion = API_VERSION;
|
|
4208
|
+
static namingRules = {
|
|
4209
|
+
abbreviation: "sva",
|
|
4210
|
+
scope: "parent"
|
|
4211
|
+
};
|
|
4212
|
+
static {
|
|
4213
|
+
this.registerShape(
|
|
4214
|
+
(0, import_internal.createFlatModelShape)({
|
|
4215
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
4216
|
+
properties: {
|
|
4217
|
+
armPath: ["properties"],
|
|
4218
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.sqlVulnerabilityAssessmentPolicyPropertiesShape)
|
|
4219
|
+
}
|
|
4220
|
+
})
|
|
4221
|
+
);
|
|
4222
|
+
this.register();
|
|
4223
|
+
}
|
|
4224
|
+
/**
|
|
4225
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
4226
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
4227
|
+
*
|
|
4228
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
4229
|
+
*/
|
|
4230
|
+
static buildResourceProps(props) {
|
|
4231
|
+
return {
|
|
4232
|
+
...props,
|
|
4233
|
+
type: SqlServerSqlVulnerabilityAssessment.resourceType,
|
|
4234
|
+
apiVersion: SqlServerSqlVulnerabilityAssessment.apiVersion
|
|
4235
|
+
};
|
|
4236
|
+
}
|
|
4237
|
+
constructor(context, props, options) {
|
|
4238
|
+
super(context, SqlServerSqlVulnerabilityAssessment.buildResourceProps(props), options);
|
|
4239
|
+
}
|
|
4240
|
+
/**
|
|
4241
|
+
* The name of the SQL Vulnerability Assessment.
|
|
4242
|
+
*/
|
|
4243
|
+
get name() {
|
|
4244
|
+
return this.expr("name");
|
|
4245
|
+
}
|
|
4246
|
+
set name(value) {
|
|
4247
|
+
this.setProperty("name", value);
|
|
4248
|
+
}
|
|
4249
|
+
/**
|
|
4250
|
+
* Resource properties.
|
|
4251
|
+
*/
|
|
4252
|
+
get properties() {
|
|
4253
|
+
return this.expr("properties");
|
|
4254
|
+
}
|
|
4255
|
+
set properties(value) {
|
|
4256
|
+
this.setProperty("properties", value);
|
|
4257
|
+
}
|
|
4258
|
+
}
|
|
4259
|
+
class SyncAgent extends import_provisioning_core.Resource {
|
|
4260
|
+
static resourceType = "Microsoft.Sql/servers/syncAgents";
|
|
4261
|
+
static apiVersion = API_VERSION;
|
|
4262
|
+
static namingRules = {
|
|
4263
|
+
abbreviation: "sa",
|
|
4264
|
+
pattern: {
|
|
4265
|
+
regex: ""
|
|
4266
|
+
},
|
|
4267
|
+
scope: "parent"
|
|
4268
|
+
};
|
|
4269
|
+
static {
|
|
4270
|
+
this.registerShape(
|
|
4271
|
+
(0, import_internal.createFlatModelShape)({
|
|
4272
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
4273
|
+
properties: {
|
|
4274
|
+
armPath: ["properties"],
|
|
4275
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.syncAgentPropertiesShape)
|
|
4276
|
+
}
|
|
4277
|
+
})
|
|
4278
|
+
);
|
|
4279
|
+
this.register();
|
|
4280
|
+
}
|
|
4281
|
+
/**
|
|
4282
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
4283
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
4284
|
+
*
|
|
4285
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
4286
|
+
*/
|
|
4287
|
+
static buildResourceProps(props) {
|
|
4288
|
+
return {
|
|
4289
|
+
...props,
|
|
4290
|
+
type: SyncAgent.resourceType,
|
|
4291
|
+
apiVersion: SyncAgent.apiVersion
|
|
4292
|
+
};
|
|
4293
|
+
}
|
|
4294
|
+
constructor(context, props, options) {
|
|
4295
|
+
super(context, SyncAgent.buildResourceProps(props), options);
|
|
4296
|
+
}
|
|
4297
|
+
/**
|
|
4298
|
+
* The name of the sync agent.
|
|
4299
|
+
*/
|
|
4300
|
+
get name() {
|
|
4301
|
+
return this.expr("name");
|
|
4302
|
+
}
|
|
4303
|
+
set name(value) {
|
|
4304
|
+
this.setProperty("name", value);
|
|
4305
|
+
}
|
|
4306
|
+
/**
|
|
4307
|
+
* Resource properties.
|
|
4308
|
+
*/
|
|
4309
|
+
get properties() {
|
|
4310
|
+
return this.expr("properties");
|
|
4311
|
+
}
|
|
4312
|
+
set properties(value) {
|
|
4313
|
+
this.setProperty("properties", value);
|
|
4314
|
+
}
|
|
4315
|
+
}
|
|
4316
|
+
class VirtualNetworkRule extends import_provisioning_core.Resource {
|
|
4317
|
+
static resourceType = "Microsoft.Sql/servers/virtualNetworkRules";
|
|
4318
|
+
static apiVersion = API_VERSION;
|
|
4319
|
+
static namingRules = {
|
|
4320
|
+
abbreviation: "vnr",
|
|
4321
|
+
pattern: {
|
|
4322
|
+
regex: ""
|
|
4323
|
+
},
|
|
4324
|
+
scope: "parent"
|
|
4325
|
+
};
|
|
4326
|
+
static {
|
|
4327
|
+
this.registerShape(
|
|
4328
|
+
(0, import_internal.createFlatModelShape)({
|
|
4329
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
4330
|
+
properties: {
|
|
4331
|
+
armPath: ["properties"],
|
|
4332
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.virtualNetworkRulePropertiesShape)
|
|
4333
|
+
}
|
|
4334
|
+
})
|
|
4335
|
+
);
|
|
4336
|
+
this.register();
|
|
4337
|
+
}
|
|
4338
|
+
/**
|
|
4339
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
4340
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
4341
|
+
*
|
|
4342
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
4343
|
+
*/
|
|
4344
|
+
static buildResourceProps(props) {
|
|
4345
|
+
return {
|
|
4346
|
+
...props,
|
|
4347
|
+
type: VirtualNetworkRule.resourceType,
|
|
4348
|
+
apiVersion: VirtualNetworkRule.apiVersion
|
|
4349
|
+
};
|
|
4350
|
+
}
|
|
4351
|
+
constructor(context, props, options) {
|
|
4352
|
+
super(context, VirtualNetworkRule.buildResourceProps(props), options);
|
|
4353
|
+
}
|
|
4354
|
+
/**
|
|
4355
|
+
* The name of the virtual network rule.
|
|
4356
|
+
*/
|
|
4357
|
+
get name() {
|
|
4358
|
+
return this.expr("name");
|
|
4359
|
+
}
|
|
4360
|
+
set name(value) {
|
|
4361
|
+
this.setProperty("name", value);
|
|
4362
|
+
}
|
|
4363
|
+
/**
|
|
4364
|
+
* Resource properties.
|
|
4365
|
+
*/
|
|
4366
|
+
get properties() {
|
|
4367
|
+
return this.expr("properties");
|
|
4368
|
+
}
|
|
4369
|
+
set properties(value) {
|
|
4370
|
+
this.setProperty("properties", value);
|
|
4371
|
+
}
|
|
4372
|
+
}
|
|
4373
|
+
class ServerVulnerabilityAssessment extends import_provisioning_core.Resource {
|
|
4374
|
+
static resourceType = "Microsoft.Sql/servers/vulnerabilityAssessments";
|
|
4375
|
+
static apiVersion = API_VERSION;
|
|
4376
|
+
static namingRules = {
|
|
4377
|
+
abbreviation: "va",
|
|
4378
|
+
pattern: {
|
|
4379
|
+
regex: ""
|
|
4380
|
+
},
|
|
4381
|
+
scope: "parent"
|
|
4382
|
+
};
|
|
4383
|
+
static {
|
|
4384
|
+
this.registerShape(
|
|
4385
|
+
(0, import_internal.createFlatModelShape)({
|
|
4386
|
+
name: { armPath: ["name"], value: (0, import_internal.createUnionShape)() },
|
|
4387
|
+
properties: {
|
|
4388
|
+
armPath: ["properties"],
|
|
4389
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.serverVulnerabilityAssessmentPropertiesShape)
|
|
4390
|
+
}
|
|
4391
|
+
})
|
|
4392
|
+
);
|
|
4393
|
+
this.register();
|
|
4394
|
+
}
|
|
4395
|
+
/**
|
|
4396
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
4397
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
4398
|
+
*
|
|
4399
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
4400
|
+
*/
|
|
4401
|
+
static buildResourceProps(props) {
|
|
4402
|
+
return {
|
|
4403
|
+
...props,
|
|
4404
|
+
type: ServerVulnerabilityAssessment.resourceType,
|
|
4405
|
+
apiVersion: ServerVulnerabilityAssessment.apiVersion
|
|
4406
|
+
};
|
|
4407
|
+
}
|
|
4408
|
+
constructor(context, props, options) {
|
|
4409
|
+
super(context, ServerVulnerabilityAssessment.buildResourceProps(props), options);
|
|
4410
|
+
}
|
|
4411
|
+
/**
|
|
4412
|
+
* The name of the vulnerability assessment.
|
|
4413
|
+
*/
|
|
4414
|
+
get name() {
|
|
4415
|
+
return this.expr("name");
|
|
4416
|
+
}
|
|
4417
|
+
set name(value) {
|
|
4418
|
+
this.setProperty("name", value);
|
|
4419
|
+
}
|
|
4420
|
+
/**
|
|
4421
|
+
* Resource properties.
|
|
4422
|
+
*/
|
|
4423
|
+
get properties() {
|
|
4424
|
+
return this.expr("properties");
|
|
4425
|
+
}
|
|
4426
|
+
set properties(value) {
|
|
4427
|
+
this.setProperty("properties", value);
|
|
4428
|
+
}
|
|
4429
|
+
}
|
|
4430
|
+
class Server extends import_provisioning_core.Resource {
|
|
4431
|
+
static resourceType = "Microsoft.Sql/servers";
|
|
4432
|
+
static apiVersion = API_VERSION;
|
|
4433
|
+
static namingRules = {
|
|
4434
|
+
abbreviation: "sql",
|
|
4435
|
+
pattern: {
|
|
4436
|
+
regex: ""
|
|
4437
|
+
},
|
|
4438
|
+
scope: "global"
|
|
4439
|
+
};
|
|
4440
|
+
static {
|
|
4441
|
+
this.registerShape(
|
|
4442
|
+
(0, import_internal.createFlatModelShape)({
|
|
4443
|
+
identity: {
|
|
4444
|
+
armPath: ["identity"],
|
|
4445
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.resourceIdentityShape)
|
|
4446
|
+
},
|
|
4447
|
+
kind: { armPath: ["kind"], value: (0, import_internal.createStringShape)(), readOnly: true },
|
|
4448
|
+
location: { armPath: ["location"], value: (0, import_internal.createStringShape)() },
|
|
4449
|
+
name: { armPath: ["name"], value: (0, import_internal.createStringShape)() },
|
|
4450
|
+
properties: {
|
|
4451
|
+
armPath: ["properties"],
|
|
4452
|
+
value: (0, import_internal.createDeferredShape)(() => import_types.serverPropertiesShape)
|
|
4453
|
+
},
|
|
4454
|
+
tags: { armPath: ["tags"], value: (0, import_internal.createRecordShape)((0, import_internal.createStringShape)()) }
|
|
4455
|
+
})
|
|
4456
|
+
);
|
|
4457
|
+
this.register();
|
|
4458
|
+
}
|
|
4459
|
+
/**
|
|
4460
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
4461
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
4462
|
+
*
|
|
4463
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
4464
|
+
*/
|
|
4465
|
+
static buildResourceProps(props) {
|
|
4466
|
+
return {
|
|
4467
|
+
...props,
|
|
4468
|
+
type: Server.resourceType,
|
|
4469
|
+
apiVersion: Server.apiVersion
|
|
4470
|
+
};
|
|
4471
|
+
}
|
|
4472
|
+
constructor(context, props, options) {
|
|
4473
|
+
super(context, Server.buildResourceProps(props), options);
|
|
4474
|
+
}
|
|
4475
|
+
/**
|
|
4476
|
+
* The Azure Active Directory identity of the server.
|
|
4477
|
+
*/
|
|
4478
|
+
get identity() {
|
|
4479
|
+
return this.expr("identity");
|
|
4480
|
+
}
|
|
4481
|
+
set identity(value) {
|
|
4482
|
+
this.setProperty("identity", value);
|
|
4483
|
+
}
|
|
4484
|
+
/**
|
|
4485
|
+
* Kind of sql server. This is metadata used for the Azure portal experience.
|
|
4486
|
+
*/
|
|
4487
|
+
get kind() {
|
|
4488
|
+
return this.expr("kind");
|
|
4489
|
+
}
|
|
4490
|
+
/**
|
|
4491
|
+
* The geo-location where the resource lives
|
|
4492
|
+
*/
|
|
4493
|
+
get location() {
|
|
4494
|
+
return this.expr("location");
|
|
4495
|
+
}
|
|
4496
|
+
set location(value) {
|
|
4497
|
+
this.setProperty("location", value);
|
|
4498
|
+
}
|
|
4499
|
+
/**
|
|
4500
|
+
* The name of the server.
|
|
4501
|
+
*/
|
|
4502
|
+
get name() {
|
|
4503
|
+
return this.expr("name");
|
|
4504
|
+
}
|
|
4505
|
+
set name(value) {
|
|
4506
|
+
this.setProperty("name", value);
|
|
4507
|
+
}
|
|
4508
|
+
/**
|
|
4509
|
+
* Resource properties.
|
|
4510
|
+
*/
|
|
4511
|
+
get properties() {
|
|
4512
|
+
return this.expr("properties");
|
|
4513
|
+
}
|
|
4514
|
+
set properties(value) {
|
|
4515
|
+
this.setProperty("properties", value);
|
|
4516
|
+
}
|
|
4517
|
+
/**
|
|
4518
|
+
* Resource tags.
|
|
4519
|
+
*/
|
|
4520
|
+
get tags() {
|
|
4521
|
+
return this.expr("tags");
|
|
4522
|
+
}
|
|
4523
|
+
set tags(value) {
|
|
4524
|
+
this.setProperty("tags", value);
|
|
4525
|
+
}
|
|
4526
|
+
}
|
|
4527
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
4528
|
+
0 && (module.exports = {
|
|
4529
|
+
BackupShortTermRetentionPolicy,
|
|
4530
|
+
ConnectionPolicy,
|
|
4531
|
+
Credential,
|
|
4532
|
+
DataMaskingPolicy,
|
|
4533
|
+
DataWarehouseUserActivities,
|
|
4534
|
+
DatabaseAdvancedThreatProtection,
|
|
4535
|
+
DatabaseAutomaticTuning,
|
|
4536
|
+
DatabaseBlobAuditingPolicy,
|
|
4537
|
+
DevOpsAuditingSetting,
|
|
4538
|
+
ElasticPool,
|
|
4539
|
+
ExtendedDatabaseBlobAuditingPolicy,
|
|
4540
|
+
ExtendedServerBlobAuditingPolicy,
|
|
4541
|
+
Extension,
|
|
4542
|
+
FailoverGroup,
|
|
4543
|
+
FirewallRule,
|
|
4544
|
+
GeoBackupPolicy,
|
|
4545
|
+
IPv6FirewallRule,
|
|
4546
|
+
Job,
|
|
4547
|
+
JobAgent,
|
|
4548
|
+
LongTermRetentionPolicy,
|
|
4549
|
+
NetworkSecurityPerimeterConfiguration,
|
|
4550
|
+
OutboundFirewallRule,
|
|
4551
|
+
PrivateEndpoint,
|
|
4552
|
+
PrivateLinkResource,
|
|
4553
|
+
RecommendedAction,
|
|
4554
|
+
RecoverableDatabase,
|
|
4555
|
+
ReplicationLink,
|
|
4556
|
+
RestorableDroppedDatabase,
|
|
4557
|
+
RestorePoint,
|
|
4558
|
+
Rule,
|
|
4559
|
+
Server,
|
|
4560
|
+
ServerAdministrator,
|
|
4561
|
+
ServerAdvancedThreatProtection,
|
|
4562
|
+
ServerAutomaticTuning,
|
|
4563
|
+
ServerAzureAdOnlyAuthentication,
|
|
4564
|
+
ServerDatabase,
|
|
4565
|
+
ServerDatabaseLedgerDigestUpload,
|
|
4566
|
+
ServerDatabaseSecurityAlertPolicy,
|
|
4567
|
+
ServerDatabaseTransparentDataEncryption,
|
|
4568
|
+
ServerDnsAlias,
|
|
4569
|
+
ServerEncryptionProtector,
|
|
4570
|
+
ServerKey,
|
|
4571
|
+
ServerPrivateEndpointConnection,
|
|
4572
|
+
ServerSecurityAlertPolicy,
|
|
4573
|
+
ServerVulnerabilityAssessment,
|
|
4574
|
+
SqlDatabaseAdvisor,
|
|
4575
|
+
SqlDatabaseColumn,
|
|
4576
|
+
SqlDatabaseSchema,
|
|
4577
|
+
SqlDatabaseSensitivityLabel,
|
|
4578
|
+
SqlDatabaseSqlVulnerabilityAssessment,
|
|
4579
|
+
SqlDatabaseSqlVulnerabilityAssessmentBaseline,
|
|
4580
|
+
SqlDatabaseSqlVulnerabilityAssessmentBaselineRule,
|
|
4581
|
+
SqlDatabaseSqlVulnerabilityAssessmentScan,
|
|
4582
|
+
SqlDatabaseSqlVulnerabilityAssessmentScanResult,
|
|
4583
|
+
SqlDatabaseTable,
|
|
4584
|
+
SqlDatabaseVulnerabilityAssessment,
|
|
4585
|
+
SqlDatabaseVulnerabilityAssessmentRuleBaseline,
|
|
4586
|
+
SqlDatabaseVulnerabilityAssessmentScan,
|
|
4587
|
+
SqlServerAdvisor,
|
|
4588
|
+
SqlServerBlobAuditingPolicy,
|
|
4589
|
+
SqlServerJobExecution,
|
|
4590
|
+
SqlServerJobExecutionStep,
|
|
4591
|
+
SqlServerJobExecutionStepTarget,
|
|
4592
|
+
SqlServerJobStep,
|
|
4593
|
+
SqlServerJobVersionStep,
|
|
4594
|
+
SqlServerSqlVulnerabilityAssessment,
|
|
4595
|
+
SyncAgent,
|
|
4596
|
+
SyncGroup,
|
|
4597
|
+
SyncMember,
|
|
4598
|
+
TargetGroup,
|
|
4599
|
+
Version,
|
|
4600
|
+
VirtualNetworkRule,
|
|
4601
|
+
WorkloadClassifier,
|
|
4602
|
+
WorkloadGroup
|
|
4603
|
+
});
|
|
4604
|
+
//# sourceMappingURL=server.js.map
|