@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,3137 @@
|
|
|
1
|
+
import { type ExistingResourceProps, type Expression, type ExpressionOrValue, type ProvisioningComponent, Resource, type ResourceOptions } from "@azure/provisioning-core";
|
|
2
|
+
import { type InputRecord, type ResourceNamingRules, type ResourceProps, type SingletonExistingResourceProps } from "@azure/provisioning-core/internal";
|
|
3
|
+
import { type AdministratorName, type AdministratorPropertiesInput, type AdministratorPropertiesView, type AdvancedThreatProtectionName, type AdvancedThreatProtectionPropertiesInput, type AdvancedThreatProtectionPropertiesView, type AdvisorProperties, type AuthenticationName, type AutomaticTuningServerProperties, type AzureAdOnlyAuthPropertiesInput, type AzureAdOnlyAuthPropertiesView, type BackupShortTermRetentionPolicyPropertiesInput, type BackupShortTermRetentionPolicyPropertiesView, type BaselineName, type BlobAuditingPolicyName, type ConnectionPolicyName, type CurrentSensitivityLabelSource, type DatabaseAutomaticTuningProperties, type DatabaseBlobAuditingPolicyPropertiesInput, type DatabaseBlobAuditingPolicyPropertiesView, type DatabaseColumnProperties, type DatabaseExtensionsPropertiesInput, type DatabaseExtensionsPropertiesView, type DatabaseIdentityInput, type DatabaseIdentityView, type DatabasePropertiesInput, type DatabasePropertiesView, type DatabaseSqlVulnerabilityAssessmentBaselineSetPropertiesInput, type DatabaseSqlVulnerabilityAssessmentBaselineSetPropertiesView, type DatabaseSqlVulnerabilityAssessmentRuleBaselinePropertiesInput, type DatabaseSqlVulnerabilityAssessmentRuleBaselinePropertiesView, type DatabaseTableProperties, type DatabaseVulnerabilityAssessmentPropertiesInput, type DatabaseVulnerabilityAssessmentPropertiesView, type DatabaseVulnerabilityAssessmentRuleBaselinePropertiesInput, type DatabaseVulnerabilityAssessmentRuleBaselinePropertiesView, type DataMaskingPolicyName, type DataMaskingPolicyPropertiesInput, type DataMaskingPolicyPropertiesView, type DataMaskingRulePropertiesInput, type DataMaskingRulePropertiesView, type DataWarehouseUserActivitiesProperties, type DataWarehouseUserActivityName, type DevOpsAuditingSettingsName, type ElasticPoolPropertiesInput, type ElasticPoolPropertiesView, type EncryptionProtectorName, type EncryptionProtectorPropertiesInput, type EncryptionProtectorPropertiesView, type ExtendedDatabaseBlobAuditingPolicyPropertiesInput, type ExtendedDatabaseBlobAuditingPolicyPropertiesView, type ExtendedServerBlobAuditingPolicyPropertiesInput, type ExtendedServerBlobAuditingPolicyPropertiesView, type FailoverGroupPropertiesInput, type FailoverGroupPropertiesView, type GeoBackupPolicyName, type GeoBackupPolicyPropertiesInput, type GeoBackupPolicyPropertiesView, type IPv6ServerFirewallRulePropertiesInput, type IPv6ServerFirewallRulePropertiesView, type JobAgentIdentityInput, type JobAgentIdentityView, type JobAgentPropertiesInput, type JobAgentPropertiesView, type JobCredentialPropertiesInput, type JobCredentialPropertiesView, type JobExecutionProperties, type JobPrivateEndpointPropertiesInput, type JobPrivateEndpointPropertiesView, type JobPropertiesInput, type JobPropertiesView, type JobStepProperties, type JobStepPropertiesInput, type JobStepPropertiesView, type JobTargetGroupPropertiesInput, type JobTargetGroupPropertiesView, type LedgerDigestUploadsName, type LedgerDigestUploadsPropertiesInput, type LedgerDigestUploadsPropertiesView, type LongTermRetentionPolicyName, type LongTermRetentionPolicyPropertiesInput, type LongTermRetentionPolicyPropertiesView, type NetworkSecurityPerimeterConfigurationProperties, type OutboundFirewallRuleProperties, type PrivateEndpointConnectionPropertiesInput, type PrivateEndpointConnectionPropertiesView, type PrivateLinkResourceProperties, type RecommendedActionProperties, type RecoverableDatabaseProperties, type ReplicationLinkPropertiesInput, type ReplicationLinkPropertiesView, type ResourceIdentityInput, type ResourceIdentityView, type RestorableDroppedDatabaseProperties, type RestorePointProperties, type SecurityAlertPolicyName, type SecurityAlertsPolicyPropertiesInput, type SecurityAlertsPolicyPropertiesView, type SensitivityLabelPropertiesInput, type SensitivityLabelPropertiesView, type ServerBlobAuditingPolicyPropertiesInput, type ServerBlobAuditingPolicyPropertiesView, type ServerConnectionPolicyPropertiesInput, type ServerConnectionPolicyPropertiesView, type ServerDevOpsAuditSettingsPropertiesInput, type ServerDevOpsAuditSettingsPropertiesView, type ServerDnsAliasProperties, type ServerFirewallRulePropertiesInput, type ServerFirewallRulePropertiesView, type ServerKeyPropertiesInput, type ServerKeyPropertiesView, type ServerPropertiesInput, type ServerPropertiesView, type ServerVulnerabilityAssessmentPropertiesInput, type ServerVulnerabilityAssessmentPropertiesView, type ShortTermRetentionPolicyName, type Sku, type SkuInput, type SkuView, type SqlVulnerabilityAssessmentName, type SqlVulnerabilityAssessmentPolicyProperties, type SqlVulnerabilityAssessmentPolicyPropertiesInput, type SqlVulnerabilityAssessmentPolicyPropertiesView, type SqlVulnerabilityAssessmentScanRecordProperties, type SqlVulnerabilityAssessmentScanResultProperties, type SyncAgentPropertiesInput, type SyncAgentPropertiesView, type SyncGroupPropertiesInput, type SyncGroupPropertiesView, type SyncMemberPropertiesInput, type SyncMemberPropertiesView, type TransparentDataEncryptionName, type TransparentDataEncryptionPropertiesInput, type TransparentDataEncryptionPropertiesView, type VirtualNetworkRulePropertiesInput, type VirtualNetworkRulePropertiesView, type VulnerabilityAssessmentName, type VulnerabilityAssessmentPolicyBaselineName, type VulnerabilityAssessmentScanRecordProperties, type WorkloadClassifierPropertiesInput, type WorkloadClassifierPropertiesView, type WorkloadGroupPropertiesInput, type WorkloadGroupPropertiesView } from "./types.js";
|
|
4
|
+
export interface ServerProps {
|
|
5
|
+
/**
|
|
6
|
+
* The Azure Active Directory identity of the server.
|
|
7
|
+
*/
|
|
8
|
+
identity?: ResourceIdentityInput | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* The geo-location where the resource lives
|
|
11
|
+
*/
|
|
12
|
+
location?: ExpressionOrValue<string> | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the server.
|
|
15
|
+
*/
|
|
16
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Resource properties.
|
|
19
|
+
*/
|
|
20
|
+
properties?: ServerPropertiesInput | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Resource tags.
|
|
23
|
+
*/
|
|
24
|
+
tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;
|
|
25
|
+
}
|
|
26
|
+
export interface ServerAdministratorProps {
|
|
27
|
+
/**
|
|
28
|
+
* The name of server active directory administrator.
|
|
29
|
+
*/
|
|
30
|
+
name?: ExpressionOrValue<AdministratorName> | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Resource properties.
|
|
33
|
+
*/
|
|
34
|
+
properties?: AdministratorPropertiesInput | undefined;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Azure Active Directory administrator.
|
|
38
|
+
*/
|
|
39
|
+
export declare class ServerAdministrator extends Resource<"Microsoft.Sql/servers/administrators"> {
|
|
40
|
+
static resourceType: "Microsoft.Sql/servers/administrators";
|
|
41
|
+
static apiVersion: string;
|
|
42
|
+
protected static namingRules: ResourceNamingRules;
|
|
43
|
+
/**
|
|
44
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
45
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
46
|
+
*
|
|
47
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
48
|
+
*/
|
|
49
|
+
protected static buildResourceProps(props?: (ServerAdministratorProps & {
|
|
50
|
+
existing?: false;
|
|
51
|
+
}) | (ExistingResourceProps & {
|
|
52
|
+
existing: true;
|
|
53
|
+
})): ResourceProps<"Microsoft.Sql/servers/administrators"> & Record<string, unknown>;
|
|
54
|
+
constructor(context: Server, props?: (ServerAdministratorProps & {
|
|
55
|
+
existing?: false;
|
|
56
|
+
}) | (ExistingResourceProps & {
|
|
57
|
+
existing: true;
|
|
58
|
+
}), options?: ResourceOptions);
|
|
59
|
+
/**
|
|
60
|
+
* The name of server active directory administrator.
|
|
61
|
+
*/
|
|
62
|
+
get name(): Expression<AdministratorName>;
|
|
63
|
+
set name(value: ExpressionOrValue<AdministratorName>);
|
|
64
|
+
/**
|
|
65
|
+
* Resource properties.
|
|
66
|
+
*/
|
|
67
|
+
get properties(): AdministratorPropertiesView;
|
|
68
|
+
set properties(value: AdministratorPropertiesInput | undefined);
|
|
69
|
+
}
|
|
70
|
+
export interface ServerAdvancedThreatProtectionProps {
|
|
71
|
+
/**
|
|
72
|
+
* The name of the Advanced Threat Protection state.
|
|
73
|
+
*/
|
|
74
|
+
name?: ExpressionOrValue<AdvancedThreatProtectionName> | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Resource properties.
|
|
77
|
+
*/
|
|
78
|
+
properties?: AdvancedThreatProtectionPropertiesInput | undefined;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* A server Advanced Threat Protection.
|
|
82
|
+
*/
|
|
83
|
+
export declare class ServerAdvancedThreatProtection extends Resource<"Microsoft.Sql/servers/advancedThreatProtectionSettings"> {
|
|
84
|
+
static resourceType: "Microsoft.Sql/servers/advancedThreatProtectionSettings";
|
|
85
|
+
static apiVersion: string;
|
|
86
|
+
protected static namingRules: ResourceNamingRules;
|
|
87
|
+
/**
|
|
88
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
89
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
90
|
+
*
|
|
91
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
92
|
+
*/
|
|
93
|
+
protected static buildResourceProps(props?: (ServerAdvancedThreatProtectionProps & {
|
|
94
|
+
existing?: false;
|
|
95
|
+
}) | (ExistingResourceProps & {
|
|
96
|
+
existing: true;
|
|
97
|
+
})): ResourceProps<"Microsoft.Sql/servers/advancedThreatProtectionSettings"> & Record<string, unknown>;
|
|
98
|
+
constructor(context: Server, props?: (ServerAdvancedThreatProtectionProps & {
|
|
99
|
+
existing?: false;
|
|
100
|
+
}) | (ExistingResourceProps & {
|
|
101
|
+
existing: true;
|
|
102
|
+
}), options?: ResourceOptions);
|
|
103
|
+
/**
|
|
104
|
+
* The name of the Advanced Threat Protection state.
|
|
105
|
+
*/
|
|
106
|
+
get name(): Expression<AdvancedThreatProtectionName>;
|
|
107
|
+
set name(value: ExpressionOrValue<AdvancedThreatProtectionName>);
|
|
108
|
+
/**
|
|
109
|
+
* Resource properties.
|
|
110
|
+
*/
|
|
111
|
+
get properties(): AdvancedThreatProtectionPropertiesView;
|
|
112
|
+
set properties(value: AdvancedThreatProtectionPropertiesInput | undefined);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Database, Server or Elastic Pool Advisor.
|
|
116
|
+
*/
|
|
117
|
+
export declare class SqlServerAdvisor extends Resource<"Microsoft.Sql/servers/advisors"> {
|
|
118
|
+
static resourceType: "Microsoft.Sql/servers/advisors";
|
|
119
|
+
static apiVersion: string;
|
|
120
|
+
protected static namingRules: ResourceNamingRules;
|
|
121
|
+
/**
|
|
122
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
123
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
124
|
+
*
|
|
125
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
126
|
+
*/
|
|
127
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
128
|
+
existing: true;
|
|
129
|
+
}): ResourceProps<"Microsoft.Sql/servers/advisors"> & Record<string, unknown>;
|
|
130
|
+
constructor(context: Server, props: ExistingResourceProps & {
|
|
131
|
+
existing: true;
|
|
132
|
+
}, options?: ResourceOptions);
|
|
133
|
+
/**
|
|
134
|
+
* Resource kind.
|
|
135
|
+
*/
|
|
136
|
+
get kind(): Expression<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Resource location.
|
|
139
|
+
*/
|
|
140
|
+
get location(): Expression<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The name of the Database Advisor.
|
|
143
|
+
*/
|
|
144
|
+
get name(): Expression<string>;
|
|
145
|
+
set name(value: ExpressionOrValue<string>);
|
|
146
|
+
/**
|
|
147
|
+
* Resource properties.
|
|
148
|
+
*/
|
|
149
|
+
get properties(): Expression<AdvisorProperties>;
|
|
150
|
+
}
|
|
151
|
+
export interface SqlServerBlobAuditingPolicyProps {
|
|
152
|
+
name: ExpressionOrValue<BlobAuditingPolicyName>;
|
|
153
|
+
/**
|
|
154
|
+
* Resource properties.
|
|
155
|
+
*/
|
|
156
|
+
properties?: ServerBlobAuditingPolicyPropertiesInput | undefined;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* A server blob auditing policy.
|
|
160
|
+
*/
|
|
161
|
+
export declare class SqlServerBlobAuditingPolicy extends Resource<"Microsoft.Sql/servers/auditingSettings"> {
|
|
162
|
+
static resourceType: "Microsoft.Sql/servers/auditingSettings";
|
|
163
|
+
static apiVersion: string;
|
|
164
|
+
protected static namingRules: ResourceNamingRules;
|
|
165
|
+
/**
|
|
166
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
167
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
168
|
+
*
|
|
169
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
170
|
+
*/
|
|
171
|
+
protected static buildResourceProps(props?: (SqlServerBlobAuditingPolicyProps & {
|
|
172
|
+
existing?: false;
|
|
173
|
+
}) | (ExistingResourceProps<BlobAuditingPolicyName> & {
|
|
174
|
+
existing: true;
|
|
175
|
+
})): ResourceProps<"Microsoft.Sql/servers/auditingSettings"> & Record<string, unknown>;
|
|
176
|
+
constructor(context: Server, props: (SqlServerBlobAuditingPolicyProps & {
|
|
177
|
+
existing?: false;
|
|
178
|
+
}) | (ExistingResourceProps<BlobAuditingPolicyName> & {
|
|
179
|
+
existing: true;
|
|
180
|
+
}), options?: ResourceOptions);
|
|
181
|
+
get name(): Expression<BlobAuditingPolicyName>;
|
|
182
|
+
set name(value: ExpressionOrValue<BlobAuditingPolicyName>);
|
|
183
|
+
/**
|
|
184
|
+
* Resource properties.
|
|
185
|
+
*/
|
|
186
|
+
get properties(): ServerBlobAuditingPolicyPropertiesView;
|
|
187
|
+
set properties(value: ServerBlobAuditingPolicyPropertiesInput | undefined);
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Server-level Automatic Tuning.
|
|
191
|
+
*/
|
|
192
|
+
export declare class ServerAutomaticTuning extends Resource<"Microsoft.Sql/servers/automaticTuning"> {
|
|
193
|
+
static resourceType: "Microsoft.Sql/servers/automaticTuning";
|
|
194
|
+
static apiVersion: string;
|
|
195
|
+
/**
|
|
196
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
197
|
+
* resource metadata and the fixed singleton `name`. Shared by ordinary construction and internal
|
|
198
|
+
* resource reconstruction.
|
|
199
|
+
*
|
|
200
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
201
|
+
*/
|
|
202
|
+
protected static buildResourceProps(props?: SingletonExistingResourceProps & {
|
|
203
|
+
existing: true;
|
|
204
|
+
}): ResourceProps<"Microsoft.Sql/servers/automaticTuning"> & Record<string, unknown>;
|
|
205
|
+
constructor(context: Server, props: SingletonExistingResourceProps & {
|
|
206
|
+
existing: true;
|
|
207
|
+
}, options?: ResourceOptions);
|
|
208
|
+
get name(): Expression<"current">;
|
|
209
|
+
/**
|
|
210
|
+
* Resource properties.
|
|
211
|
+
*/
|
|
212
|
+
get properties(): Expression<AutomaticTuningServerProperties>;
|
|
213
|
+
}
|
|
214
|
+
export interface ServerAzureAdOnlyAuthenticationProps {
|
|
215
|
+
/**
|
|
216
|
+
* The name of server azure active directory only authentication.
|
|
217
|
+
*/
|
|
218
|
+
name?: ExpressionOrValue<AuthenticationName> | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* Resource properties.
|
|
221
|
+
*/
|
|
222
|
+
properties?: AzureAdOnlyAuthPropertiesInput | undefined;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Azure Active Directory only authentication.
|
|
226
|
+
*/
|
|
227
|
+
export declare class ServerAzureAdOnlyAuthentication extends Resource<"Microsoft.Sql/servers/azureADOnlyAuthentications"> {
|
|
228
|
+
static resourceType: "Microsoft.Sql/servers/azureADOnlyAuthentications";
|
|
229
|
+
static apiVersion: string;
|
|
230
|
+
protected static namingRules: ResourceNamingRules;
|
|
231
|
+
/**
|
|
232
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
233
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
234
|
+
*
|
|
235
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
236
|
+
*/
|
|
237
|
+
protected static buildResourceProps(props?: (ServerAzureAdOnlyAuthenticationProps & {
|
|
238
|
+
existing?: false;
|
|
239
|
+
}) | (ExistingResourceProps & {
|
|
240
|
+
existing: true;
|
|
241
|
+
})): ResourceProps<"Microsoft.Sql/servers/azureADOnlyAuthentications"> & Record<string, unknown>;
|
|
242
|
+
constructor(context: Server, props?: (ServerAzureAdOnlyAuthenticationProps & {
|
|
243
|
+
existing?: false;
|
|
244
|
+
}) | (ExistingResourceProps & {
|
|
245
|
+
existing: true;
|
|
246
|
+
}), options?: ResourceOptions);
|
|
247
|
+
/**
|
|
248
|
+
* The name of server azure active directory only authentication.
|
|
249
|
+
*/
|
|
250
|
+
get name(): Expression<AuthenticationName>;
|
|
251
|
+
set name(value: ExpressionOrValue<AuthenticationName>);
|
|
252
|
+
/**
|
|
253
|
+
* Resource properties.
|
|
254
|
+
*/
|
|
255
|
+
get properties(): AzureAdOnlyAuthPropertiesView;
|
|
256
|
+
set properties(value: AzureAdOnlyAuthPropertiesInput | undefined);
|
|
257
|
+
}
|
|
258
|
+
export interface ConnectionPolicyProps {
|
|
259
|
+
/**
|
|
260
|
+
* The name of the connection policy.
|
|
261
|
+
*/
|
|
262
|
+
name?: ExpressionOrValue<ConnectionPolicyName> | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* Resource properties.
|
|
265
|
+
*/
|
|
266
|
+
properties?: ServerConnectionPolicyPropertiesInput | undefined;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* A server connection policy
|
|
270
|
+
*/
|
|
271
|
+
export declare class ConnectionPolicy extends Resource<"Microsoft.Sql/servers/connectionPolicies"> {
|
|
272
|
+
static resourceType: "Microsoft.Sql/servers/connectionPolicies";
|
|
273
|
+
static apiVersion: string;
|
|
274
|
+
protected static namingRules: ResourceNamingRules;
|
|
275
|
+
/**
|
|
276
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
277
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
278
|
+
*
|
|
279
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
280
|
+
*/
|
|
281
|
+
protected static buildResourceProps(props?: (ConnectionPolicyProps & {
|
|
282
|
+
existing?: false;
|
|
283
|
+
}) | (ExistingResourceProps & {
|
|
284
|
+
existing: true;
|
|
285
|
+
})): ResourceProps<"Microsoft.Sql/servers/connectionPolicies"> & Record<string, unknown>;
|
|
286
|
+
constructor(context: Server, props?: (ConnectionPolicyProps & {
|
|
287
|
+
existing?: false;
|
|
288
|
+
}) | (ExistingResourceProps & {
|
|
289
|
+
existing: true;
|
|
290
|
+
}), options?: ResourceOptions);
|
|
291
|
+
/**
|
|
292
|
+
* Metadata used for the Azure portal experience.
|
|
293
|
+
*/
|
|
294
|
+
get kind(): Expression<string>;
|
|
295
|
+
/**
|
|
296
|
+
* Resource location.
|
|
297
|
+
*/
|
|
298
|
+
get location(): Expression<string>;
|
|
299
|
+
/**
|
|
300
|
+
* The name of the connection policy.
|
|
301
|
+
*/
|
|
302
|
+
get name(): Expression<ConnectionPolicyName>;
|
|
303
|
+
set name(value: ExpressionOrValue<ConnectionPolicyName>);
|
|
304
|
+
/**
|
|
305
|
+
* Resource properties.
|
|
306
|
+
*/
|
|
307
|
+
get properties(): ServerConnectionPolicyPropertiesView;
|
|
308
|
+
set properties(value: ServerConnectionPolicyPropertiesInput | undefined);
|
|
309
|
+
}
|
|
310
|
+
export interface ServerDatabaseProps {
|
|
311
|
+
/**
|
|
312
|
+
* The Azure Active Directory identity of the database.
|
|
313
|
+
*/
|
|
314
|
+
identity?: DatabaseIdentityInput | undefined;
|
|
315
|
+
/**
|
|
316
|
+
* The geo-location where the resource lives
|
|
317
|
+
*/
|
|
318
|
+
location?: ExpressionOrValue<string> | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* The name of the database.
|
|
321
|
+
*/
|
|
322
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
323
|
+
/**
|
|
324
|
+
* Resource properties.
|
|
325
|
+
*/
|
|
326
|
+
properties?: DatabasePropertiesInput | undefined;
|
|
327
|
+
/**
|
|
328
|
+
* The database SKU.
|
|
329
|
+
*
|
|
330
|
+
* The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:
|
|
331
|
+
*
|
|
332
|
+
* ```azurecli
|
|
333
|
+
* az sql db list-editions -l <location> -o table
|
|
334
|
+
* ```
|
|
335
|
+
*
|
|
336
|
+
* ```powershell
|
|
337
|
+
* Get-AzSqlServerServiceObjective -Location <location>
|
|
338
|
+
* ```
|
|
339
|
+
*/
|
|
340
|
+
sku?: SkuInput | undefined;
|
|
341
|
+
/**
|
|
342
|
+
* Resource tags.
|
|
343
|
+
*/
|
|
344
|
+
tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;
|
|
345
|
+
}
|
|
346
|
+
export interface DatabaseAdvancedThreatProtectionProps {
|
|
347
|
+
/**
|
|
348
|
+
* The name of the Advanced Threat Protection state.
|
|
349
|
+
*/
|
|
350
|
+
name?: ExpressionOrValue<AdvancedThreatProtectionName> | undefined;
|
|
351
|
+
/**
|
|
352
|
+
* Resource properties.
|
|
353
|
+
*/
|
|
354
|
+
properties?: AdvancedThreatProtectionPropertiesInput | undefined;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* A database Advanced Threat Protection.
|
|
358
|
+
*/
|
|
359
|
+
export declare class DatabaseAdvancedThreatProtection extends Resource<"Microsoft.Sql/servers/databases/advancedThreatProtectionSettings"> {
|
|
360
|
+
static resourceType: "Microsoft.Sql/servers/databases/advancedThreatProtectionSettings";
|
|
361
|
+
static apiVersion: string;
|
|
362
|
+
protected static namingRules: ResourceNamingRules;
|
|
363
|
+
/**
|
|
364
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
365
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
366
|
+
*
|
|
367
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
368
|
+
*/
|
|
369
|
+
protected static buildResourceProps(props?: (DatabaseAdvancedThreatProtectionProps & {
|
|
370
|
+
existing?: false;
|
|
371
|
+
}) | (ExistingResourceProps & {
|
|
372
|
+
existing: true;
|
|
373
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/advancedThreatProtectionSettings"> & Record<string, unknown>;
|
|
374
|
+
constructor(context: ServerDatabase, props?: (DatabaseAdvancedThreatProtectionProps & {
|
|
375
|
+
existing?: false;
|
|
376
|
+
}) | (ExistingResourceProps & {
|
|
377
|
+
existing: true;
|
|
378
|
+
}), options?: ResourceOptions);
|
|
379
|
+
/**
|
|
380
|
+
* The name of the Advanced Threat Protection state.
|
|
381
|
+
*/
|
|
382
|
+
get name(): Expression<AdvancedThreatProtectionName>;
|
|
383
|
+
set name(value: ExpressionOrValue<AdvancedThreatProtectionName>);
|
|
384
|
+
/**
|
|
385
|
+
* Resource properties.
|
|
386
|
+
*/
|
|
387
|
+
get properties(): AdvancedThreatProtectionPropertiesView;
|
|
388
|
+
set properties(value: AdvancedThreatProtectionPropertiesInput | undefined);
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Database, Server or Elastic Pool Recommended Action.
|
|
392
|
+
*/
|
|
393
|
+
export declare class RecommendedAction extends Resource<"Microsoft.Sql/servers/databases/advisors/recommendedActions"> {
|
|
394
|
+
static resourceType: "Microsoft.Sql/servers/databases/advisors/recommendedActions";
|
|
395
|
+
static apiVersion: string;
|
|
396
|
+
protected static namingRules: ResourceNamingRules;
|
|
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
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
404
|
+
existing: true;
|
|
405
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/advisors/recommendedActions"> & Record<string, unknown>;
|
|
406
|
+
constructor(context: SqlDatabaseAdvisor, props: ExistingResourceProps & {
|
|
407
|
+
existing: true;
|
|
408
|
+
}, options?: ResourceOptions);
|
|
409
|
+
/**
|
|
410
|
+
* Resource kind.
|
|
411
|
+
*/
|
|
412
|
+
get kind(): Expression<string>;
|
|
413
|
+
/**
|
|
414
|
+
* Resource location.
|
|
415
|
+
*/
|
|
416
|
+
get location(): Expression<string>;
|
|
417
|
+
/**
|
|
418
|
+
* The name of Database Recommended Action.
|
|
419
|
+
*/
|
|
420
|
+
get name(): Expression<string>;
|
|
421
|
+
set name(value: ExpressionOrValue<string>);
|
|
422
|
+
/**
|
|
423
|
+
* Resource properties.
|
|
424
|
+
*/
|
|
425
|
+
get properties(): Expression<RecommendedActionProperties>;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Database, Server or Elastic Pool Advisor.
|
|
429
|
+
*/
|
|
430
|
+
export declare class SqlDatabaseAdvisor extends Resource<"Microsoft.Sql/servers/databases/advisors"> {
|
|
431
|
+
static resourceType: "Microsoft.Sql/servers/databases/advisors";
|
|
432
|
+
static apiVersion: string;
|
|
433
|
+
protected static namingRules: ResourceNamingRules;
|
|
434
|
+
/**
|
|
435
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
436
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
437
|
+
*
|
|
438
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
439
|
+
*/
|
|
440
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
441
|
+
existing: true;
|
|
442
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/advisors"> & Record<string, unknown>;
|
|
443
|
+
constructor(context: ServerDatabase, props: ExistingResourceProps & {
|
|
444
|
+
existing: true;
|
|
445
|
+
}, options?: ResourceOptions);
|
|
446
|
+
/**
|
|
447
|
+
* Resource kind.
|
|
448
|
+
*/
|
|
449
|
+
get kind(): Expression<string>;
|
|
450
|
+
/**
|
|
451
|
+
* Resource location.
|
|
452
|
+
*/
|
|
453
|
+
get location(): Expression<string>;
|
|
454
|
+
/**
|
|
455
|
+
* The name of the Database Advisor.
|
|
456
|
+
*/
|
|
457
|
+
get name(): Expression<string>;
|
|
458
|
+
set name(value: ExpressionOrValue<string>);
|
|
459
|
+
/**
|
|
460
|
+
* Resource properties.
|
|
461
|
+
*/
|
|
462
|
+
get properties(): Expression<AdvisorProperties>;
|
|
463
|
+
}
|
|
464
|
+
export interface DatabaseBlobAuditingPolicyProps {
|
|
465
|
+
name: ExpressionOrValue<BlobAuditingPolicyName>;
|
|
466
|
+
/**
|
|
467
|
+
* Resource properties.
|
|
468
|
+
*/
|
|
469
|
+
properties?: DatabaseBlobAuditingPolicyPropertiesInput | undefined;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* A database blob auditing policy.
|
|
473
|
+
*/
|
|
474
|
+
export declare class DatabaseBlobAuditingPolicy extends Resource<"Microsoft.Sql/servers/databases/auditingSettings"> {
|
|
475
|
+
static resourceType: "Microsoft.Sql/servers/databases/auditingSettings";
|
|
476
|
+
static apiVersion: string;
|
|
477
|
+
protected static namingRules: ResourceNamingRules;
|
|
478
|
+
/**
|
|
479
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
480
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
481
|
+
*
|
|
482
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
483
|
+
*/
|
|
484
|
+
protected static buildResourceProps(props?: (DatabaseBlobAuditingPolicyProps & {
|
|
485
|
+
existing?: false;
|
|
486
|
+
}) | (ExistingResourceProps<BlobAuditingPolicyName> & {
|
|
487
|
+
existing: true;
|
|
488
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/auditingSettings"> & Record<string, unknown>;
|
|
489
|
+
constructor(context: ServerDatabase, props: (DatabaseBlobAuditingPolicyProps & {
|
|
490
|
+
existing?: false;
|
|
491
|
+
}) | (ExistingResourceProps<BlobAuditingPolicyName> & {
|
|
492
|
+
existing: true;
|
|
493
|
+
}), options?: ResourceOptions);
|
|
494
|
+
/**
|
|
495
|
+
* Resource kind.
|
|
496
|
+
*/
|
|
497
|
+
get kind(): Expression<string>;
|
|
498
|
+
get name(): Expression<BlobAuditingPolicyName>;
|
|
499
|
+
set name(value: ExpressionOrValue<BlobAuditingPolicyName>);
|
|
500
|
+
/**
|
|
501
|
+
* Resource properties.
|
|
502
|
+
*/
|
|
503
|
+
get properties(): DatabaseBlobAuditingPolicyPropertiesView;
|
|
504
|
+
set properties(value: DatabaseBlobAuditingPolicyPropertiesInput | undefined);
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* Database-level Automatic Tuning.
|
|
508
|
+
*/
|
|
509
|
+
export declare class DatabaseAutomaticTuning extends Resource<"Microsoft.Sql/servers/databases/automaticTuning"> {
|
|
510
|
+
static resourceType: "Microsoft.Sql/servers/databases/automaticTuning";
|
|
511
|
+
static apiVersion: string;
|
|
512
|
+
/**
|
|
513
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
514
|
+
* resource metadata and the fixed singleton `name`. Shared by ordinary construction and internal
|
|
515
|
+
* resource reconstruction.
|
|
516
|
+
*
|
|
517
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
518
|
+
*/
|
|
519
|
+
protected static buildResourceProps(props?: SingletonExistingResourceProps & {
|
|
520
|
+
existing: true;
|
|
521
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/automaticTuning"> & Record<string, unknown>;
|
|
522
|
+
constructor(context: ServerDatabase, props: SingletonExistingResourceProps & {
|
|
523
|
+
existing: true;
|
|
524
|
+
}, options?: ResourceOptions);
|
|
525
|
+
get name(): Expression<"current">;
|
|
526
|
+
/**
|
|
527
|
+
* Resource properties.
|
|
528
|
+
*/
|
|
529
|
+
get properties(): Expression<DatabaseAutomaticTuningProperties>;
|
|
530
|
+
}
|
|
531
|
+
export interface LongTermRetentionPolicyProps {
|
|
532
|
+
/**
|
|
533
|
+
* The policy name. Should always be Default.
|
|
534
|
+
*/
|
|
535
|
+
name?: ExpressionOrValue<LongTermRetentionPolicyName> | undefined;
|
|
536
|
+
/**
|
|
537
|
+
* Resource properties.
|
|
538
|
+
*/
|
|
539
|
+
properties?: LongTermRetentionPolicyPropertiesInput | undefined;
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* A long term retention policy.
|
|
543
|
+
*/
|
|
544
|
+
export declare class LongTermRetentionPolicy extends Resource<"Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies"> {
|
|
545
|
+
static resourceType: "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies";
|
|
546
|
+
static apiVersion: string;
|
|
547
|
+
protected static namingRules: ResourceNamingRules;
|
|
548
|
+
/**
|
|
549
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
550
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
551
|
+
*
|
|
552
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
553
|
+
*/
|
|
554
|
+
protected static buildResourceProps(props?: (LongTermRetentionPolicyProps & {
|
|
555
|
+
existing?: false;
|
|
556
|
+
}) | (ExistingResourceProps & {
|
|
557
|
+
existing: true;
|
|
558
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies"> & Record<string, unknown>;
|
|
559
|
+
constructor(context: ServerDatabase, props?: (LongTermRetentionPolicyProps & {
|
|
560
|
+
existing?: false;
|
|
561
|
+
}) | (ExistingResourceProps & {
|
|
562
|
+
existing: true;
|
|
563
|
+
}), options?: ResourceOptions);
|
|
564
|
+
/**
|
|
565
|
+
* The policy name. Should always be Default.
|
|
566
|
+
*/
|
|
567
|
+
get name(): Expression<LongTermRetentionPolicyName>;
|
|
568
|
+
set name(value: ExpressionOrValue<LongTermRetentionPolicyName>);
|
|
569
|
+
/**
|
|
570
|
+
* Resource properties.
|
|
571
|
+
*/
|
|
572
|
+
get properties(): LongTermRetentionPolicyPropertiesView;
|
|
573
|
+
set properties(value: LongTermRetentionPolicyPropertiesInput | undefined);
|
|
574
|
+
}
|
|
575
|
+
export interface BackupShortTermRetentionPolicyProps {
|
|
576
|
+
/**
|
|
577
|
+
* The policy name. Should always be default.
|
|
578
|
+
*/
|
|
579
|
+
name?: ExpressionOrValue<ShortTermRetentionPolicyName> | undefined;
|
|
580
|
+
/**
|
|
581
|
+
* Resource properties.
|
|
582
|
+
*/
|
|
583
|
+
properties?: BackupShortTermRetentionPolicyPropertiesInput | undefined;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* A short term retention policy.
|
|
587
|
+
*/
|
|
588
|
+
export declare class BackupShortTermRetentionPolicy extends Resource<"Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies"> {
|
|
589
|
+
static resourceType: "Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies";
|
|
590
|
+
static apiVersion: string;
|
|
591
|
+
protected static namingRules: ResourceNamingRules;
|
|
592
|
+
/**
|
|
593
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
594
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
595
|
+
*
|
|
596
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
597
|
+
*/
|
|
598
|
+
protected static buildResourceProps(props?: (BackupShortTermRetentionPolicyProps & {
|
|
599
|
+
existing?: false;
|
|
600
|
+
}) | (ExistingResourceProps & {
|
|
601
|
+
existing: true;
|
|
602
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies"> & Record<string, unknown>;
|
|
603
|
+
constructor(context: ServerDatabase, props?: (BackupShortTermRetentionPolicyProps & {
|
|
604
|
+
existing?: false;
|
|
605
|
+
}) | (ExistingResourceProps & {
|
|
606
|
+
existing: true;
|
|
607
|
+
}), options?: ResourceOptions);
|
|
608
|
+
/**
|
|
609
|
+
* The policy name. Should always be default.
|
|
610
|
+
*/
|
|
611
|
+
get name(): Expression<ShortTermRetentionPolicyName>;
|
|
612
|
+
set name(value: ExpressionOrValue<ShortTermRetentionPolicyName>);
|
|
613
|
+
/**
|
|
614
|
+
* Resource properties.
|
|
615
|
+
*/
|
|
616
|
+
get properties(): BackupShortTermRetentionPolicyPropertiesView;
|
|
617
|
+
set properties(value: BackupShortTermRetentionPolicyPropertiesInput | undefined);
|
|
618
|
+
}
|
|
619
|
+
export interface DataMaskingPolicyProps {
|
|
620
|
+
/**
|
|
621
|
+
* The name of the database for which the data masking policy applies.
|
|
622
|
+
*/
|
|
623
|
+
name?: ExpressionOrValue<DataMaskingPolicyName> | undefined;
|
|
624
|
+
/**
|
|
625
|
+
* Resource properties.
|
|
626
|
+
*/
|
|
627
|
+
properties?: DataMaskingPolicyPropertiesInput | undefined;
|
|
628
|
+
}
|
|
629
|
+
export interface RuleProps {
|
|
630
|
+
/**
|
|
631
|
+
* The name of the resource
|
|
632
|
+
*/
|
|
633
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
634
|
+
/**
|
|
635
|
+
* Resource properties.
|
|
636
|
+
*/
|
|
637
|
+
properties?: DataMaskingRulePropertiesInput | undefined;
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* A database data masking rule.
|
|
641
|
+
*/
|
|
642
|
+
export declare class Rule extends Resource<"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules"> {
|
|
643
|
+
static resourceType: "Microsoft.Sql/servers/databases/dataMaskingPolicies/rules";
|
|
644
|
+
static apiVersion: string;
|
|
645
|
+
protected static namingRules: ResourceNamingRules;
|
|
646
|
+
/**
|
|
647
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
648
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
649
|
+
*
|
|
650
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
651
|
+
*/
|
|
652
|
+
protected static buildResourceProps(props?: (RuleProps & {
|
|
653
|
+
existing?: false;
|
|
654
|
+
}) | (ExistingResourceProps & {
|
|
655
|
+
existing: true;
|
|
656
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/dataMaskingPolicies/rules"> & Record<string, unknown>;
|
|
657
|
+
constructor(context: DataMaskingPolicy, props?: (RuleProps & {
|
|
658
|
+
existing?: false;
|
|
659
|
+
}) | (ExistingResourceProps & {
|
|
660
|
+
existing: true;
|
|
661
|
+
}), options?: ResourceOptions);
|
|
662
|
+
/**
|
|
663
|
+
* The kind of Data Masking Rule. Metadata, used for Azure portal.
|
|
664
|
+
*/
|
|
665
|
+
get kind(): Expression<string>;
|
|
666
|
+
/**
|
|
667
|
+
* The location of the data masking rule.
|
|
668
|
+
*/
|
|
669
|
+
get location(): Expression<string>;
|
|
670
|
+
/**
|
|
671
|
+
* The name of the resource
|
|
672
|
+
*/
|
|
673
|
+
get name(): Expression<string>;
|
|
674
|
+
set name(value: ExpressionOrValue<string>);
|
|
675
|
+
/**
|
|
676
|
+
* Resource properties.
|
|
677
|
+
*/
|
|
678
|
+
get properties(): DataMaskingRulePropertiesView;
|
|
679
|
+
set properties(value: DataMaskingRulePropertiesInput | undefined);
|
|
680
|
+
}
|
|
681
|
+
/**
|
|
682
|
+
* A database data masking policy.
|
|
683
|
+
*/
|
|
684
|
+
export declare class DataMaskingPolicy extends Resource<"Microsoft.Sql/servers/databases/dataMaskingPolicies"> {
|
|
685
|
+
static resourceType: "Microsoft.Sql/servers/databases/dataMaskingPolicies";
|
|
686
|
+
static apiVersion: string;
|
|
687
|
+
protected static namingRules: ResourceNamingRules;
|
|
688
|
+
/**
|
|
689
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
690
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
691
|
+
*
|
|
692
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
693
|
+
*/
|
|
694
|
+
protected static buildResourceProps(props?: (DataMaskingPolicyProps & {
|
|
695
|
+
existing?: false;
|
|
696
|
+
}) | (ExistingResourceProps & {
|
|
697
|
+
existing: true;
|
|
698
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/dataMaskingPolicies"> & Record<string, unknown>;
|
|
699
|
+
constructor(context: ServerDatabase, props?: (DataMaskingPolicyProps & {
|
|
700
|
+
existing?: false;
|
|
701
|
+
}) | (ExistingResourceProps & {
|
|
702
|
+
existing: true;
|
|
703
|
+
}), options?: ResourceOptions);
|
|
704
|
+
/**
|
|
705
|
+
* The kind of Data Masking Policy. Metadata, used for Azure portal.
|
|
706
|
+
*/
|
|
707
|
+
get kind(): Expression<string>;
|
|
708
|
+
/**
|
|
709
|
+
* The location of the data masking policy.
|
|
710
|
+
*/
|
|
711
|
+
get location(): Expression<string>;
|
|
712
|
+
/**
|
|
713
|
+
* The name of the database for which the data masking policy applies.
|
|
714
|
+
*/
|
|
715
|
+
get name(): Expression<DataMaskingPolicyName>;
|
|
716
|
+
set name(value: ExpressionOrValue<DataMaskingPolicyName>);
|
|
717
|
+
/**
|
|
718
|
+
* Resource properties.
|
|
719
|
+
*/
|
|
720
|
+
get properties(): DataMaskingPolicyPropertiesView;
|
|
721
|
+
set properties(value: DataMaskingPolicyPropertiesInput | undefined);
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* User activities of a data warehouse
|
|
725
|
+
*/
|
|
726
|
+
export declare class DataWarehouseUserActivities extends Resource<"Microsoft.Sql/servers/databases/dataWarehouseUserActivities"> {
|
|
727
|
+
static resourceType: "Microsoft.Sql/servers/databases/dataWarehouseUserActivities";
|
|
728
|
+
static apiVersion: string;
|
|
729
|
+
protected static namingRules: ResourceNamingRules;
|
|
730
|
+
/**
|
|
731
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
732
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
733
|
+
*
|
|
734
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
735
|
+
*/
|
|
736
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
737
|
+
existing: true;
|
|
738
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/dataWarehouseUserActivities"> & Record<string, unknown>;
|
|
739
|
+
constructor(context: ServerDatabase, props: ExistingResourceProps & {
|
|
740
|
+
existing: true;
|
|
741
|
+
}, options?: ResourceOptions);
|
|
742
|
+
/**
|
|
743
|
+
* The activity name of the data warehouse.
|
|
744
|
+
*/
|
|
745
|
+
get name(): Expression<DataWarehouseUserActivityName>;
|
|
746
|
+
set name(value: ExpressionOrValue<DataWarehouseUserActivityName>);
|
|
747
|
+
/**
|
|
748
|
+
* Resource properties.
|
|
749
|
+
*/
|
|
750
|
+
get properties(): Expression<DataWarehouseUserActivitiesProperties>;
|
|
751
|
+
}
|
|
752
|
+
export interface ExtendedDatabaseBlobAuditingPolicyProps {
|
|
753
|
+
name: ExpressionOrValue<BlobAuditingPolicyName>;
|
|
754
|
+
/**
|
|
755
|
+
* Resource properties.
|
|
756
|
+
*/
|
|
757
|
+
properties?: ExtendedDatabaseBlobAuditingPolicyPropertiesInput | undefined;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* An extended database blob auditing policy.
|
|
761
|
+
*/
|
|
762
|
+
export declare class ExtendedDatabaseBlobAuditingPolicy extends Resource<"Microsoft.Sql/servers/databases/extendedAuditingSettings"> {
|
|
763
|
+
static resourceType: "Microsoft.Sql/servers/databases/extendedAuditingSettings";
|
|
764
|
+
static apiVersion: string;
|
|
765
|
+
protected static namingRules: ResourceNamingRules;
|
|
766
|
+
/**
|
|
767
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
768
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
769
|
+
*
|
|
770
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
771
|
+
*/
|
|
772
|
+
protected static buildResourceProps(props?: (ExtendedDatabaseBlobAuditingPolicyProps & {
|
|
773
|
+
existing?: false;
|
|
774
|
+
}) | (ExistingResourceProps<BlobAuditingPolicyName> & {
|
|
775
|
+
existing: true;
|
|
776
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/extendedAuditingSettings"> & Record<string, unknown>;
|
|
777
|
+
constructor(context: ServerDatabase, props: (ExtendedDatabaseBlobAuditingPolicyProps & {
|
|
778
|
+
existing?: false;
|
|
779
|
+
}) | (ExistingResourceProps<BlobAuditingPolicyName> & {
|
|
780
|
+
existing: true;
|
|
781
|
+
}), options?: ResourceOptions);
|
|
782
|
+
get name(): Expression<BlobAuditingPolicyName>;
|
|
783
|
+
set name(value: ExpressionOrValue<BlobAuditingPolicyName>);
|
|
784
|
+
/**
|
|
785
|
+
* Resource properties.
|
|
786
|
+
*/
|
|
787
|
+
get properties(): ExtendedDatabaseBlobAuditingPolicyPropertiesView;
|
|
788
|
+
set properties(value: ExtendedDatabaseBlobAuditingPolicyPropertiesInput | undefined);
|
|
789
|
+
}
|
|
790
|
+
export interface ExtensionProps {
|
|
791
|
+
/**
|
|
792
|
+
* The name of the resource
|
|
793
|
+
*/
|
|
794
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
795
|
+
/**
|
|
796
|
+
* Resource properties.
|
|
797
|
+
*/
|
|
798
|
+
properties?: DatabaseExtensionsPropertiesInput | undefined;
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* An Import, Export, or PolybaseImport resource.
|
|
802
|
+
*/
|
|
803
|
+
export declare class Extension extends Resource<"Microsoft.Sql/servers/databases/extensions"> {
|
|
804
|
+
static resourceType: "Microsoft.Sql/servers/databases/extensions";
|
|
805
|
+
static apiVersion: string;
|
|
806
|
+
protected static namingRules: ResourceNamingRules;
|
|
807
|
+
/**
|
|
808
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
809
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
810
|
+
*
|
|
811
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
812
|
+
*/
|
|
813
|
+
protected static buildResourceProps(props?: (ExtensionProps & {
|
|
814
|
+
existing?: false;
|
|
815
|
+
}) | (ExistingResourceProps & {
|
|
816
|
+
existing: true;
|
|
817
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/extensions"> & Record<string, unknown>;
|
|
818
|
+
constructor(context: ServerDatabase, props?: (ExtensionProps & {
|
|
819
|
+
existing?: false;
|
|
820
|
+
}) | (ExistingResourceProps & {
|
|
821
|
+
existing: true;
|
|
822
|
+
}), options?: ResourceOptions);
|
|
823
|
+
/**
|
|
824
|
+
* The name of the resource
|
|
825
|
+
*/
|
|
826
|
+
get name(): Expression<string>;
|
|
827
|
+
set name(value: ExpressionOrValue<string>);
|
|
828
|
+
/**
|
|
829
|
+
* Resource properties.
|
|
830
|
+
*/
|
|
831
|
+
get properties(): DatabaseExtensionsPropertiesView;
|
|
832
|
+
set properties(value: DatabaseExtensionsPropertiesInput | undefined);
|
|
833
|
+
}
|
|
834
|
+
export interface GeoBackupPolicyProps {
|
|
835
|
+
/**
|
|
836
|
+
* The name of the Geo backup policy. This should always be 'Default'.
|
|
837
|
+
*/
|
|
838
|
+
name?: ExpressionOrValue<GeoBackupPolicyName> | undefined;
|
|
839
|
+
/**
|
|
840
|
+
* Resource properties.
|
|
841
|
+
*/
|
|
842
|
+
properties?: GeoBackupPolicyPropertiesInput | undefined;
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* A Geo backup policy.
|
|
846
|
+
*/
|
|
847
|
+
export declare class GeoBackupPolicy extends Resource<"Microsoft.Sql/servers/databases/geoBackupPolicies"> {
|
|
848
|
+
static resourceType: "Microsoft.Sql/servers/databases/geoBackupPolicies";
|
|
849
|
+
static apiVersion: string;
|
|
850
|
+
protected static namingRules: ResourceNamingRules;
|
|
851
|
+
/**
|
|
852
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
853
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
854
|
+
*
|
|
855
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
856
|
+
*/
|
|
857
|
+
protected static buildResourceProps(props?: (GeoBackupPolicyProps & {
|
|
858
|
+
existing?: false;
|
|
859
|
+
}) | (ExistingResourceProps & {
|
|
860
|
+
existing: true;
|
|
861
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/geoBackupPolicies"> & Record<string, unknown>;
|
|
862
|
+
constructor(context: ServerDatabase, props?: (GeoBackupPolicyProps & {
|
|
863
|
+
existing?: false;
|
|
864
|
+
}) | (ExistingResourceProps & {
|
|
865
|
+
existing: true;
|
|
866
|
+
}), options?: ResourceOptions);
|
|
867
|
+
/**
|
|
868
|
+
* Kind of geo backup policy. This is metadata used for the Azure portal experience.
|
|
869
|
+
*/
|
|
870
|
+
get kind(): Expression<string>;
|
|
871
|
+
/**
|
|
872
|
+
* Backup policy location.
|
|
873
|
+
*/
|
|
874
|
+
get location(): Expression<string>;
|
|
875
|
+
/**
|
|
876
|
+
* The name of the Geo backup policy. This should always be 'Default'.
|
|
877
|
+
*/
|
|
878
|
+
get name(): Expression<GeoBackupPolicyName>;
|
|
879
|
+
set name(value: ExpressionOrValue<GeoBackupPolicyName>);
|
|
880
|
+
/**
|
|
881
|
+
* Resource properties.
|
|
882
|
+
*/
|
|
883
|
+
get properties(): GeoBackupPolicyPropertiesView;
|
|
884
|
+
set properties(value: GeoBackupPolicyPropertiesInput | undefined);
|
|
885
|
+
}
|
|
886
|
+
export interface ServerDatabaseLedgerDigestUploadProps {
|
|
887
|
+
name?: ExpressionOrValue<LedgerDigestUploadsName> | undefined;
|
|
888
|
+
/**
|
|
889
|
+
* Resource properties.
|
|
890
|
+
*/
|
|
891
|
+
properties?: LedgerDigestUploadsPropertiesInput | undefined;
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
* Azure SQL Database ledger digest upload settings.
|
|
895
|
+
*/
|
|
896
|
+
export declare class ServerDatabaseLedgerDigestUpload extends Resource<"Microsoft.Sql/servers/databases/ledgerDigestUploads"> {
|
|
897
|
+
static resourceType: "Microsoft.Sql/servers/databases/ledgerDigestUploads";
|
|
898
|
+
static apiVersion: string;
|
|
899
|
+
protected static namingRules: ResourceNamingRules;
|
|
900
|
+
/**
|
|
901
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
902
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
903
|
+
*
|
|
904
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
905
|
+
*/
|
|
906
|
+
protected static buildResourceProps(props?: (ServerDatabaseLedgerDigestUploadProps & {
|
|
907
|
+
existing?: false;
|
|
908
|
+
}) | (ExistingResourceProps & {
|
|
909
|
+
existing: true;
|
|
910
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/ledgerDigestUploads"> & Record<string, unknown>;
|
|
911
|
+
constructor(context: ServerDatabase, props?: (ServerDatabaseLedgerDigestUploadProps & {
|
|
912
|
+
existing?: false;
|
|
913
|
+
}) | (ExistingResourceProps & {
|
|
914
|
+
existing: true;
|
|
915
|
+
}), options?: ResourceOptions);
|
|
916
|
+
get name(): Expression<LedgerDigestUploadsName>;
|
|
917
|
+
set name(value: ExpressionOrValue<LedgerDigestUploadsName>);
|
|
918
|
+
/**
|
|
919
|
+
* Resource properties.
|
|
920
|
+
*/
|
|
921
|
+
get properties(): LedgerDigestUploadsPropertiesView;
|
|
922
|
+
set properties(value: LedgerDigestUploadsPropertiesInput | undefined);
|
|
923
|
+
}
|
|
924
|
+
export interface ReplicationLinkProps {
|
|
925
|
+
/**
|
|
926
|
+
* The name of the replication link.
|
|
927
|
+
*/
|
|
928
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
929
|
+
/**
|
|
930
|
+
* Resource properties.
|
|
931
|
+
*/
|
|
932
|
+
properties?: ReplicationLinkPropertiesInput | undefined;
|
|
933
|
+
}
|
|
934
|
+
/**
|
|
935
|
+
* A replication link.
|
|
936
|
+
*/
|
|
937
|
+
export declare class ReplicationLink extends Resource<"Microsoft.Sql/servers/databases/replicationLinks"> {
|
|
938
|
+
static resourceType: "Microsoft.Sql/servers/databases/replicationLinks";
|
|
939
|
+
static apiVersion: string;
|
|
940
|
+
protected static namingRules: ResourceNamingRules;
|
|
941
|
+
/**
|
|
942
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
943
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
944
|
+
*
|
|
945
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
946
|
+
*/
|
|
947
|
+
protected static buildResourceProps(props?: (ReplicationLinkProps & {
|
|
948
|
+
existing?: false;
|
|
949
|
+
}) | (ExistingResourceProps & {
|
|
950
|
+
existing: true;
|
|
951
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/replicationLinks"> & Record<string, unknown>;
|
|
952
|
+
constructor(context: ServerDatabase, props?: (ReplicationLinkProps & {
|
|
953
|
+
existing?: false;
|
|
954
|
+
}) | (ExistingResourceProps & {
|
|
955
|
+
existing: true;
|
|
956
|
+
}), options?: ResourceOptions);
|
|
957
|
+
/**
|
|
958
|
+
* The name of the replication link.
|
|
959
|
+
*/
|
|
960
|
+
get name(): Expression<string>;
|
|
961
|
+
set name(value: ExpressionOrValue<string>);
|
|
962
|
+
/**
|
|
963
|
+
* Resource properties.
|
|
964
|
+
*/
|
|
965
|
+
get properties(): ReplicationLinkPropertiesView;
|
|
966
|
+
set properties(value: ReplicationLinkPropertiesInput | undefined);
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* Database restore points.
|
|
970
|
+
*/
|
|
971
|
+
export declare class RestorePoint extends Resource<"Microsoft.Sql/servers/databases/restorePoints"> {
|
|
972
|
+
static resourceType: "Microsoft.Sql/servers/databases/restorePoints";
|
|
973
|
+
static apiVersion: string;
|
|
974
|
+
protected static namingRules: ResourceNamingRules;
|
|
975
|
+
/**
|
|
976
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
977
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
978
|
+
*
|
|
979
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
980
|
+
*/
|
|
981
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
982
|
+
existing: true;
|
|
983
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/restorePoints"> & Record<string, unknown>;
|
|
984
|
+
constructor(context: ServerDatabase, props: ExistingResourceProps & {
|
|
985
|
+
existing: true;
|
|
986
|
+
}, options?: ResourceOptions);
|
|
987
|
+
/**
|
|
988
|
+
* Resource location.
|
|
989
|
+
*/
|
|
990
|
+
get location(): Expression<string>;
|
|
991
|
+
/**
|
|
992
|
+
* The name of the restore point.
|
|
993
|
+
*/
|
|
994
|
+
get name(): Expression<string>;
|
|
995
|
+
set name(value: ExpressionOrValue<string>);
|
|
996
|
+
/**
|
|
997
|
+
* Resource properties.
|
|
998
|
+
*/
|
|
999
|
+
get properties(): Expression<RestorePointProperties>;
|
|
1000
|
+
}
|
|
1001
|
+
export interface SqlDatabaseSensitivityLabelProps {
|
|
1002
|
+
/**
|
|
1003
|
+
* The source of the sensitivity label.
|
|
1004
|
+
*/
|
|
1005
|
+
name: ExpressionOrValue<CurrentSensitivityLabelSource>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Resource properties.
|
|
1008
|
+
*/
|
|
1009
|
+
properties?: SensitivityLabelPropertiesInput | undefined;
|
|
1010
|
+
}
|
|
1011
|
+
/**
|
|
1012
|
+
* A sensitivity label.
|
|
1013
|
+
*/
|
|
1014
|
+
export declare class SqlDatabaseSensitivityLabel extends Resource<"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels"> {
|
|
1015
|
+
static resourceType: "Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels";
|
|
1016
|
+
static apiVersion: string;
|
|
1017
|
+
protected static namingRules: ResourceNamingRules;
|
|
1018
|
+
/**
|
|
1019
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1020
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1021
|
+
*
|
|
1022
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1023
|
+
*/
|
|
1024
|
+
protected static buildResourceProps(props?: (SqlDatabaseSensitivityLabelProps & {
|
|
1025
|
+
existing?: false;
|
|
1026
|
+
}) | (ExistingResourceProps<CurrentSensitivityLabelSource> & {
|
|
1027
|
+
existing: true;
|
|
1028
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels"> & Record<string, unknown>;
|
|
1029
|
+
constructor(context: SqlDatabaseColumn, props: (SqlDatabaseSensitivityLabelProps & {
|
|
1030
|
+
existing?: false;
|
|
1031
|
+
}) | (ExistingResourceProps<CurrentSensitivityLabelSource> & {
|
|
1032
|
+
existing: true;
|
|
1033
|
+
}), options?: ResourceOptions);
|
|
1034
|
+
/**
|
|
1035
|
+
* Resource that manages the sensitivity label.
|
|
1036
|
+
*/
|
|
1037
|
+
get managedBy(): Expression<string>;
|
|
1038
|
+
/**
|
|
1039
|
+
* The source of the sensitivity label.
|
|
1040
|
+
*/
|
|
1041
|
+
get name(): Expression<CurrentSensitivityLabelSource>;
|
|
1042
|
+
set name(value: ExpressionOrValue<CurrentSensitivityLabelSource>);
|
|
1043
|
+
/**
|
|
1044
|
+
* Resource properties.
|
|
1045
|
+
*/
|
|
1046
|
+
get properties(): SensitivityLabelPropertiesView;
|
|
1047
|
+
set properties(value: SensitivityLabelPropertiesInput | undefined);
|
|
1048
|
+
}
|
|
1049
|
+
/**
|
|
1050
|
+
* A database column resource.
|
|
1051
|
+
*/
|
|
1052
|
+
export declare class SqlDatabaseColumn extends Resource<"Microsoft.Sql/servers/databases/schemas/tables/columns"> {
|
|
1053
|
+
static resourceType: "Microsoft.Sql/servers/databases/schemas/tables/columns";
|
|
1054
|
+
static apiVersion: string;
|
|
1055
|
+
protected static namingRules: ResourceNamingRules;
|
|
1056
|
+
/**
|
|
1057
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1058
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1059
|
+
*
|
|
1060
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1061
|
+
*/
|
|
1062
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
1063
|
+
existing: true;
|
|
1064
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/schemas/tables/columns"> & Record<string, unknown>;
|
|
1065
|
+
constructor(context: SqlDatabaseTable, props: ExistingResourceProps & {
|
|
1066
|
+
existing: true;
|
|
1067
|
+
}, options?: ResourceOptions);
|
|
1068
|
+
/**
|
|
1069
|
+
* The name of the column.
|
|
1070
|
+
*/
|
|
1071
|
+
get name(): Expression<string>;
|
|
1072
|
+
set name(value: ExpressionOrValue<string>);
|
|
1073
|
+
/**
|
|
1074
|
+
* Resource properties.
|
|
1075
|
+
*/
|
|
1076
|
+
get properties(): Expression<DatabaseColumnProperties>;
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* A database table resource.
|
|
1080
|
+
*/
|
|
1081
|
+
export declare class SqlDatabaseTable extends Resource<"Microsoft.Sql/servers/databases/schemas/tables"> {
|
|
1082
|
+
static resourceType: "Microsoft.Sql/servers/databases/schemas/tables";
|
|
1083
|
+
static apiVersion: string;
|
|
1084
|
+
protected static namingRules: ResourceNamingRules;
|
|
1085
|
+
/**
|
|
1086
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1087
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1088
|
+
*
|
|
1089
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1090
|
+
*/
|
|
1091
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
1092
|
+
existing: true;
|
|
1093
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/schemas/tables"> & Record<string, unknown>;
|
|
1094
|
+
constructor(context: SqlDatabaseSchema, props: ExistingResourceProps & {
|
|
1095
|
+
existing: true;
|
|
1096
|
+
}, options?: ResourceOptions);
|
|
1097
|
+
/**
|
|
1098
|
+
* The name of the table.
|
|
1099
|
+
*/
|
|
1100
|
+
get name(): Expression<string>;
|
|
1101
|
+
set name(value: ExpressionOrValue<string>);
|
|
1102
|
+
/**
|
|
1103
|
+
* Resource properties.
|
|
1104
|
+
*/
|
|
1105
|
+
get properties(): Expression<DatabaseTableProperties>;
|
|
1106
|
+
}
|
|
1107
|
+
/**
|
|
1108
|
+
* A database schema resource.
|
|
1109
|
+
*/
|
|
1110
|
+
export declare class SqlDatabaseSchema extends Resource<"Microsoft.Sql/servers/databases/schemas"> {
|
|
1111
|
+
static resourceType: "Microsoft.Sql/servers/databases/schemas";
|
|
1112
|
+
static apiVersion: string;
|
|
1113
|
+
protected static namingRules: ResourceNamingRules;
|
|
1114
|
+
/**
|
|
1115
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1116
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1117
|
+
*
|
|
1118
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1119
|
+
*/
|
|
1120
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
1121
|
+
existing: true;
|
|
1122
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/schemas"> & Record<string, unknown>;
|
|
1123
|
+
constructor(context: ServerDatabase, props: ExistingResourceProps & {
|
|
1124
|
+
existing: true;
|
|
1125
|
+
}, options?: ResourceOptions);
|
|
1126
|
+
/**
|
|
1127
|
+
* The name of the schema.
|
|
1128
|
+
*/
|
|
1129
|
+
get name(): Expression<string>;
|
|
1130
|
+
set name(value: ExpressionOrValue<string>);
|
|
1131
|
+
/**
|
|
1132
|
+
* The resource-specific properties for this resource.
|
|
1133
|
+
*/
|
|
1134
|
+
get properties(): Expression<any>;
|
|
1135
|
+
}
|
|
1136
|
+
export interface ServerDatabaseSecurityAlertPolicyProps {
|
|
1137
|
+
/**
|
|
1138
|
+
* The name of the security alert policy.
|
|
1139
|
+
*/
|
|
1140
|
+
name?: ExpressionOrValue<SecurityAlertPolicyName> | undefined;
|
|
1141
|
+
/**
|
|
1142
|
+
* Resource properties.
|
|
1143
|
+
*/
|
|
1144
|
+
properties?: SecurityAlertsPolicyPropertiesInput | undefined;
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
* A database security alert policy.
|
|
1148
|
+
*/
|
|
1149
|
+
export declare class ServerDatabaseSecurityAlertPolicy extends Resource<"Microsoft.Sql/servers/databases/securityAlertPolicies"> {
|
|
1150
|
+
static resourceType: "Microsoft.Sql/servers/databases/securityAlertPolicies";
|
|
1151
|
+
static apiVersion: string;
|
|
1152
|
+
protected static namingRules: ResourceNamingRules;
|
|
1153
|
+
/**
|
|
1154
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1155
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1156
|
+
*
|
|
1157
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1158
|
+
*/
|
|
1159
|
+
protected static buildResourceProps(props?: (ServerDatabaseSecurityAlertPolicyProps & {
|
|
1160
|
+
existing?: false;
|
|
1161
|
+
}) | (ExistingResourceProps & {
|
|
1162
|
+
existing: true;
|
|
1163
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/securityAlertPolicies"> & Record<string, unknown>;
|
|
1164
|
+
constructor(context: ServerDatabase, props?: (ServerDatabaseSecurityAlertPolicyProps & {
|
|
1165
|
+
existing?: false;
|
|
1166
|
+
}) | (ExistingResourceProps & {
|
|
1167
|
+
existing: true;
|
|
1168
|
+
}), options?: ResourceOptions);
|
|
1169
|
+
/**
|
|
1170
|
+
* The name of the security alert policy.
|
|
1171
|
+
*/
|
|
1172
|
+
get name(): Expression<SecurityAlertPolicyName>;
|
|
1173
|
+
set name(value: ExpressionOrValue<SecurityAlertPolicyName>);
|
|
1174
|
+
/**
|
|
1175
|
+
* Resource properties.
|
|
1176
|
+
*/
|
|
1177
|
+
get properties(): SecurityAlertsPolicyPropertiesView;
|
|
1178
|
+
set properties(value: SecurityAlertsPolicyPropertiesInput | undefined);
|
|
1179
|
+
}
|
|
1180
|
+
export interface SqlDatabaseSqlVulnerabilityAssessmentBaselineProps {
|
|
1181
|
+
name?: ExpressionOrValue<BaselineName> | undefined;
|
|
1182
|
+
/**
|
|
1183
|
+
* Resource properties.
|
|
1184
|
+
*/
|
|
1185
|
+
properties?: DatabaseSqlVulnerabilityAssessmentBaselineSetPropertiesInput | undefined;
|
|
1186
|
+
}
|
|
1187
|
+
export interface SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleProps {
|
|
1188
|
+
/**
|
|
1189
|
+
* The vulnerability assessment rule ID.
|
|
1190
|
+
*/
|
|
1191
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
1192
|
+
/**
|
|
1193
|
+
* Resource properties.
|
|
1194
|
+
*/
|
|
1195
|
+
properties?: DatabaseSqlVulnerabilityAssessmentRuleBaselinePropertiesInput | undefined;
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* A database sql vulnerability assessment rule baseline.
|
|
1199
|
+
*/
|
|
1200
|
+
export declare class SqlDatabaseSqlVulnerabilityAssessmentBaselineRule extends Resource<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines/rules"> {
|
|
1201
|
+
static resourceType: "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines/rules";
|
|
1202
|
+
static apiVersion: string;
|
|
1203
|
+
protected static namingRules: ResourceNamingRules;
|
|
1204
|
+
/**
|
|
1205
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1206
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1207
|
+
*
|
|
1208
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1209
|
+
*/
|
|
1210
|
+
protected static buildResourceProps(props?: (SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleProps & {
|
|
1211
|
+
existing?: false;
|
|
1212
|
+
}) | (ExistingResourceProps & {
|
|
1213
|
+
existing: true;
|
|
1214
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines/rules"> & Record<string, unknown>;
|
|
1215
|
+
constructor(context: SqlDatabaseSqlVulnerabilityAssessmentBaseline, props?: (SqlDatabaseSqlVulnerabilityAssessmentBaselineRuleProps & {
|
|
1216
|
+
existing?: false;
|
|
1217
|
+
}) | (ExistingResourceProps & {
|
|
1218
|
+
existing: true;
|
|
1219
|
+
}), options?: ResourceOptions);
|
|
1220
|
+
/**
|
|
1221
|
+
* The vulnerability assessment rule ID.
|
|
1222
|
+
*/
|
|
1223
|
+
get name(): Expression<string>;
|
|
1224
|
+
set name(value: ExpressionOrValue<string>);
|
|
1225
|
+
/**
|
|
1226
|
+
* Resource properties.
|
|
1227
|
+
*/
|
|
1228
|
+
get properties(): DatabaseSqlVulnerabilityAssessmentRuleBaselinePropertiesView;
|
|
1229
|
+
set properties(value: DatabaseSqlVulnerabilityAssessmentRuleBaselinePropertiesInput | undefined);
|
|
1230
|
+
}
|
|
1231
|
+
/**
|
|
1232
|
+
* A database sql vulnerability assessment baseline set.
|
|
1233
|
+
*/
|
|
1234
|
+
export declare class SqlDatabaseSqlVulnerabilityAssessmentBaseline extends Resource<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines"> {
|
|
1235
|
+
static resourceType: "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines";
|
|
1236
|
+
static apiVersion: string;
|
|
1237
|
+
protected static namingRules: ResourceNamingRules;
|
|
1238
|
+
/**
|
|
1239
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1240
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1241
|
+
*
|
|
1242
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1243
|
+
*/
|
|
1244
|
+
protected static buildResourceProps(props?: (SqlDatabaseSqlVulnerabilityAssessmentBaselineProps & {
|
|
1245
|
+
existing?: false;
|
|
1246
|
+
}) | (ExistingResourceProps & {
|
|
1247
|
+
existing: true;
|
|
1248
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/baselines"> & Record<string, unknown>;
|
|
1249
|
+
constructor(context: SqlDatabaseSqlVulnerabilityAssessment, props?: (SqlDatabaseSqlVulnerabilityAssessmentBaselineProps & {
|
|
1250
|
+
existing?: false;
|
|
1251
|
+
}) | (ExistingResourceProps & {
|
|
1252
|
+
existing: true;
|
|
1253
|
+
}), options?: ResourceOptions);
|
|
1254
|
+
get name(): Expression<BaselineName>;
|
|
1255
|
+
set name(value: ExpressionOrValue<BaselineName>);
|
|
1256
|
+
/**
|
|
1257
|
+
* Resource properties.
|
|
1258
|
+
*/
|
|
1259
|
+
get properties(): DatabaseSqlVulnerabilityAssessmentBaselineSetPropertiesView;
|
|
1260
|
+
set properties(value: DatabaseSqlVulnerabilityAssessmentBaselineSetPropertiesInput | undefined);
|
|
1261
|
+
}
|
|
1262
|
+
/**
|
|
1263
|
+
* Concrete proxy resource types can be created by aliasing this type using a specific property type.
|
|
1264
|
+
*/
|
|
1265
|
+
export declare class SqlDatabaseSqlVulnerabilityAssessmentScanResult extends Resource<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/scans/scanResults"> {
|
|
1266
|
+
static resourceType: "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/scans/scanResults";
|
|
1267
|
+
static apiVersion: string;
|
|
1268
|
+
protected static namingRules: ResourceNamingRules;
|
|
1269
|
+
/**
|
|
1270
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1271
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1272
|
+
*
|
|
1273
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1274
|
+
*/
|
|
1275
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
1276
|
+
existing: true;
|
|
1277
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/scans/scanResults"> & Record<string, unknown>;
|
|
1278
|
+
constructor(context: SqlDatabaseSqlVulnerabilityAssessmentScan, props: ExistingResourceProps & {
|
|
1279
|
+
existing: true;
|
|
1280
|
+
}, options?: ResourceOptions);
|
|
1281
|
+
/**
|
|
1282
|
+
* The scan result id of the specific result to retrieve.
|
|
1283
|
+
*/
|
|
1284
|
+
get name(): Expression<string>;
|
|
1285
|
+
set name(value: ExpressionOrValue<string>);
|
|
1286
|
+
/**
|
|
1287
|
+
* Resource properties.
|
|
1288
|
+
*/
|
|
1289
|
+
get properties(): Expression<SqlVulnerabilityAssessmentScanResultProperties>;
|
|
1290
|
+
}
|
|
1291
|
+
/**
|
|
1292
|
+
* A vulnerability assessment scan record.
|
|
1293
|
+
*/
|
|
1294
|
+
export declare class SqlDatabaseSqlVulnerabilityAssessmentScan extends Resource<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/scans"> {
|
|
1295
|
+
static resourceType: "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/scans";
|
|
1296
|
+
static apiVersion: string;
|
|
1297
|
+
protected static namingRules: ResourceNamingRules;
|
|
1298
|
+
/**
|
|
1299
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1300
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1301
|
+
*
|
|
1302
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1303
|
+
*/
|
|
1304
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
1305
|
+
existing: true;
|
|
1306
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments/scans"> & Record<string, unknown>;
|
|
1307
|
+
constructor(context: SqlDatabaseSqlVulnerabilityAssessment, props: ExistingResourceProps & {
|
|
1308
|
+
existing: true;
|
|
1309
|
+
}, options?: ResourceOptions);
|
|
1310
|
+
/**
|
|
1311
|
+
* The vulnerability assessment scan Id of the scan to retrieve.
|
|
1312
|
+
*/
|
|
1313
|
+
get name(): Expression<string>;
|
|
1314
|
+
set name(value: ExpressionOrValue<string>);
|
|
1315
|
+
/**
|
|
1316
|
+
* Resource properties.
|
|
1317
|
+
*/
|
|
1318
|
+
get properties(): Expression<SqlVulnerabilityAssessmentScanRecordProperties>;
|
|
1319
|
+
}
|
|
1320
|
+
/**
|
|
1321
|
+
* A SQL Vulnerability Assessment.
|
|
1322
|
+
*/
|
|
1323
|
+
export declare class SqlDatabaseSqlVulnerabilityAssessment extends Resource<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments"> {
|
|
1324
|
+
static resourceType: "Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments";
|
|
1325
|
+
static apiVersion: string;
|
|
1326
|
+
protected static namingRules: ResourceNamingRules;
|
|
1327
|
+
/**
|
|
1328
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1329
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1330
|
+
*
|
|
1331
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1332
|
+
*/
|
|
1333
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
1334
|
+
existing: true;
|
|
1335
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/sqlVulnerabilityAssessments"> & Record<string, unknown>;
|
|
1336
|
+
constructor(context: ServerDatabase, props: ExistingResourceProps & {
|
|
1337
|
+
existing: true;
|
|
1338
|
+
}, options?: ResourceOptions);
|
|
1339
|
+
/**
|
|
1340
|
+
* The name of the SQL Vulnerability Assessment.
|
|
1341
|
+
*/
|
|
1342
|
+
get name(): Expression<SqlVulnerabilityAssessmentName>;
|
|
1343
|
+
set name(value: ExpressionOrValue<SqlVulnerabilityAssessmentName>);
|
|
1344
|
+
/**
|
|
1345
|
+
* Resource properties.
|
|
1346
|
+
*/
|
|
1347
|
+
get properties(): Expression<SqlVulnerabilityAssessmentPolicyProperties>;
|
|
1348
|
+
}
|
|
1349
|
+
export interface SyncGroupProps {
|
|
1350
|
+
/**
|
|
1351
|
+
* The name of the sync group.
|
|
1352
|
+
*/
|
|
1353
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
1354
|
+
/**
|
|
1355
|
+
* Resource properties.
|
|
1356
|
+
*/
|
|
1357
|
+
properties?: SyncGroupPropertiesInput | undefined;
|
|
1358
|
+
/**
|
|
1359
|
+
* The name and capacity of the SKU.
|
|
1360
|
+
*/
|
|
1361
|
+
sku?: SkuInput | undefined;
|
|
1362
|
+
}
|
|
1363
|
+
export interface SyncMemberProps {
|
|
1364
|
+
/**
|
|
1365
|
+
* The name of the sync member.
|
|
1366
|
+
*/
|
|
1367
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
1368
|
+
/**
|
|
1369
|
+
* Resource properties.
|
|
1370
|
+
*/
|
|
1371
|
+
properties?: SyncMemberPropertiesInput | undefined;
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* An Azure SQL Database sync member.
|
|
1375
|
+
*/
|
|
1376
|
+
export declare class SyncMember extends Resource<"Microsoft.Sql/servers/databases/syncGroups/syncMembers"> {
|
|
1377
|
+
static resourceType: "Microsoft.Sql/servers/databases/syncGroups/syncMembers";
|
|
1378
|
+
static apiVersion: string;
|
|
1379
|
+
protected static namingRules: ResourceNamingRules;
|
|
1380
|
+
/**
|
|
1381
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1382
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1383
|
+
*
|
|
1384
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1385
|
+
*/
|
|
1386
|
+
protected static buildResourceProps(props?: (SyncMemberProps & {
|
|
1387
|
+
existing?: false;
|
|
1388
|
+
}) | (ExistingResourceProps & {
|
|
1389
|
+
existing: true;
|
|
1390
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/syncGroups/syncMembers"> & Record<string, unknown>;
|
|
1391
|
+
constructor(context: SyncGroup, props?: (SyncMemberProps & {
|
|
1392
|
+
existing?: false;
|
|
1393
|
+
}) | (ExistingResourceProps & {
|
|
1394
|
+
existing: true;
|
|
1395
|
+
}), options?: ResourceOptions);
|
|
1396
|
+
/**
|
|
1397
|
+
* The name of the sync member.
|
|
1398
|
+
*/
|
|
1399
|
+
get name(): Expression<string>;
|
|
1400
|
+
set name(value: ExpressionOrValue<string>);
|
|
1401
|
+
/**
|
|
1402
|
+
* Resource properties.
|
|
1403
|
+
*/
|
|
1404
|
+
get properties(): SyncMemberPropertiesView;
|
|
1405
|
+
set properties(value: SyncMemberPropertiesInput | undefined);
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* An Azure SQL Database sync group.
|
|
1409
|
+
*/
|
|
1410
|
+
export declare class SyncGroup extends Resource<"Microsoft.Sql/servers/databases/syncGroups"> {
|
|
1411
|
+
static resourceType: "Microsoft.Sql/servers/databases/syncGroups";
|
|
1412
|
+
static apiVersion: string;
|
|
1413
|
+
protected static namingRules: ResourceNamingRules;
|
|
1414
|
+
/**
|
|
1415
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1416
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1417
|
+
*
|
|
1418
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1419
|
+
*/
|
|
1420
|
+
protected static buildResourceProps(props?: (SyncGroupProps & {
|
|
1421
|
+
existing?: false;
|
|
1422
|
+
}) | (ExistingResourceProps & {
|
|
1423
|
+
existing: true;
|
|
1424
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/syncGroups"> & Record<string, unknown>;
|
|
1425
|
+
constructor(context: ServerDatabase, props?: (SyncGroupProps & {
|
|
1426
|
+
existing?: false;
|
|
1427
|
+
}) | (ExistingResourceProps & {
|
|
1428
|
+
existing: true;
|
|
1429
|
+
}), options?: ResourceOptions);
|
|
1430
|
+
/**
|
|
1431
|
+
* The name of the sync group.
|
|
1432
|
+
*/
|
|
1433
|
+
get name(): Expression<string>;
|
|
1434
|
+
set name(value: ExpressionOrValue<string>);
|
|
1435
|
+
/**
|
|
1436
|
+
* Resource properties.
|
|
1437
|
+
*/
|
|
1438
|
+
get properties(): SyncGroupPropertiesView;
|
|
1439
|
+
set properties(value: SyncGroupPropertiesInput | undefined);
|
|
1440
|
+
/**
|
|
1441
|
+
* The name and capacity of the SKU.
|
|
1442
|
+
*/
|
|
1443
|
+
get sku(): SkuView;
|
|
1444
|
+
set sku(value: SkuInput | undefined);
|
|
1445
|
+
}
|
|
1446
|
+
export interface ServerDatabaseTransparentDataEncryptionProps {
|
|
1447
|
+
/**
|
|
1448
|
+
* The name of the transparent data encryption configuration.
|
|
1449
|
+
*/
|
|
1450
|
+
name?: ExpressionOrValue<TransparentDataEncryptionName> | undefined;
|
|
1451
|
+
/**
|
|
1452
|
+
* Resource properties.
|
|
1453
|
+
*/
|
|
1454
|
+
properties?: TransparentDataEncryptionPropertiesInput | undefined;
|
|
1455
|
+
}
|
|
1456
|
+
/**
|
|
1457
|
+
* A logical database transparent data encryption scan state.
|
|
1458
|
+
*/
|
|
1459
|
+
export declare class ServerDatabaseTransparentDataEncryption extends Resource<"Microsoft.Sql/servers/databases/transparentDataEncryption"> {
|
|
1460
|
+
static resourceType: "Microsoft.Sql/servers/databases/transparentDataEncryption";
|
|
1461
|
+
static apiVersion: string;
|
|
1462
|
+
protected static namingRules: ResourceNamingRules;
|
|
1463
|
+
/**
|
|
1464
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1465
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1466
|
+
*
|
|
1467
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1468
|
+
*/
|
|
1469
|
+
protected static buildResourceProps(props?: (ServerDatabaseTransparentDataEncryptionProps & {
|
|
1470
|
+
existing?: false;
|
|
1471
|
+
}) | (ExistingResourceProps & {
|
|
1472
|
+
existing: true;
|
|
1473
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/transparentDataEncryption"> & Record<string, unknown>;
|
|
1474
|
+
constructor(context: ServerDatabase, props?: (ServerDatabaseTransparentDataEncryptionProps & {
|
|
1475
|
+
existing?: false;
|
|
1476
|
+
}) | (ExistingResourceProps & {
|
|
1477
|
+
existing: true;
|
|
1478
|
+
}), options?: ResourceOptions);
|
|
1479
|
+
/**
|
|
1480
|
+
* The name of the transparent data encryption configuration.
|
|
1481
|
+
*/
|
|
1482
|
+
get name(): Expression<TransparentDataEncryptionName>;
|
|
1483
|
+
set name(value: ExpressionOrValue<TransparentDataEncryptionName>);
|
|
1484
|
+
/**
|
|
1485
|
+
* Resource properties.
|
|
1486
|
+
*/
|
|
1487
|
+
get properties(): TransparentDataEncryptionPropertiesView;
|
|
1488
|
+
set properties(value: TransparentDataEncryptionPropertiesInput | undefined);
|
|
1489
|
+
}
|
|
1490
|
+
export interface SqlDatabaseVulnerabilityAssessmentProps {
|
|
1491
|
+
/**
|
|
1492
|
+
* The name of the vulnerability assessment.
|
|
1493
|
+
*/
|
|
1494
|
+
name?: ExpressionOrValue<VulnerabilityAssessmentName> | undefined;
|
|
1495
|
+
/**
|
|
1496
|
+
* Resource properties.
|
|
1497
|
+
*/
|
|
1498
|
+
properties?: DatabaseVulnerabilityAssessmentPropertiesInput | undefined;
|
|
1499
|
+
}
|
|
1500
|
+
export interface SqlDatabaseVulnerabilityAssessmentRuleBaselineProps {
|
|
1501
|
+
/**
|
|
1502
|
+
* The name of the vulnerability assessment rule baseline (default implies a baseline on a database level rule and master for server level rule).
|
|
1503
|
+
*/
|
|
1504
|
+
name: ExpressionOrValue<VulnerabilityAssessmentPolicyBaselineName>;
|
|
1505
|
+
/**
|
|
1506
|
+
* Resource properties.
|
|
1507
|
+
*/
|
|
1508
|
+
properties?: DatabaseVulnerabilityAssessmentRuleBaselinePropertiesInput | undefined;
|
|
1509
|
+
}
|
|
1510
|
+
/**
|
|
1511
|
+
* A database vulnerability assessment rule baseline.
|
|
1512
|
+
*/
|
|
1513
|
+
export declare class SqlDatabaseVulnerabilityAssessmentRuleBaseline extends Resource<"Microsoft.Sql/servers/databases/vulnerabilityAssessments/rules/baselines"> {
|
|
1514
|
+
static resourceType: "Microsoft.Sql/servers/databases/vulnerabilityAssessments/rules/baselines";
|
|
1515
|
+
static apiVersion: string;
|
|
1516
|
+
protected static namingRules: ResourceNamingRules;
|
|
1517
|
+
/**
|
|
1518
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1519
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1520
|
+
*
|
|
1521
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1522
|
+
*/
|
|
1523
|
+
protected static buildResourceProps(props?: (SqlDatabaseVulnerabilityAssessmentRuleBaselineProps & {
|
|
1524
|
+
existing?: false;
|
|
1525
|
+
}) | (ExistingResourceProps<VulnerabilityAssessmentPolicyBaselineName> & {
|
|
1526
|
+
existing: true;
|
|
1527
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/vulnerabilityAssessments/rules/baselines"> & Record<string, unknown>;
|
|
1528
|
+
constructor(context: SqlDatabaseVulnerabilityAssessment, props: (SqlDatabaseVulnerabilityAssessmentRuleBaselineProps & {
|
|
1529
|
+
existing?: false;
|
|
1530
|
+
}) | (ExistingResourceProps<VulnerabilityAssessmentPolicyBaselineName> & {
|
|
1531
|
+
existing: true;
|
|
1532
|
+
}), options?: ResourceOptions);
|
|
1533
|
+
/**
|
|
1534
|
+
* The name of the vulnerability assessment rule baseline (default implies a baseline on a
|
|
1535
|
+
* database level rule and master for server level rule).
|
|
1536
|
+
*/
|
|
1537
|
+
get name(): Expression<VulnerabilityAssessmentPolicyBaselineName>;
|
|
1538
|
+
set name(value: ExpressionOrValue<VulnerabilityAssessmentPolicyBaselineName>);
|
|
1539
|
+
/**
|
|
1540
|
+
* Resource properties.
|
|
1541
|
+
*/
|
|
1542
|
+
get properties(): DatabaseVulnerabilityAssessmentRuleBaselinePropertiesView;
|
|
1543
|
+
set properties(value: DatabaseVulnerabilityAssessmentRuleBaselinePropertiesInput | undefined);
|
|
1544
|
+
}
|
|
1545
|
+
/**
|
|
1546
|
+
* A vulnerability assessment scan record.
|
|
1547
|
+
*/
|
|
1548
|
+
export declare class SqlDatabaseVulnerabilityAssessmentScan extends Resource<"Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans"> {
|
|
1549
|
+
static resourceType: "Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans";
|
|
1550
|
+
static apiVersion: string;
|
|
1551
|
+
protected static namingRules: ResourceNamingRules;
|
|
1552
|
+
/**
|
|
1553
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1554
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1555
|
+
*
|
|
1556
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1557
|
+
*/
|
|
1558
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
1559
|
+
existing: true;
|
|
1560
|
+
}): ResourceProps<"Microsoft.Sql/servers/databases/vulnerabilityAssessments/scans"> & Record<string, unknown>;
|
|
1561
|
+
constructor(context: SqlDatabaseVulnerabilityAssessment, props: ExistingResourceProps & {
|
|
1562
|
+
existing: true;
|
|
1563
|
+
}, options?: ResourceOptions);
|
|
1564
|
+
/**
|
|
1565
|
+
* The vulnerability assessment scan Id of the scan to retrieve.
|
|
1566
|
+
*/
|
|
1567
|
+
get name(): Expression<string>;
|
|
1568
|
+
set name(value: ExpressionOrValue<string>);
|
|
1569
|
+
/**
|
|
1570
|
+
* Resource properties.
|
|
1571
|
+
*/
|
|
1572
|
+
get properties(): Expression<VulnerabilityAssessmentScanRecordProperties>;
|
|
1573
|
+
}
|
|
1574
|
+
/**
|
|
1575
|
+
* A database vulnerability assessment.
|
|
1576
|
+
*/
|
|
1577
|
+
export declare class SqlDatabaseVulnerabilityAssessment extends Resource<"Microsoft.Sql/servers/databases/vulnerabilityAssessments"> {
|
|
1578
|
+
static resourceType: "Microsoft.Sql/servers/databases/vulnerabilityAssessments";
|
|
1579
|
+
static apiVersion: string;
|
|
1580
|
+
protected static namingRules: ResourceNamingRules;
|
|
1581
|
+
/**
|
|
1582
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1583
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1584
|
+
*
|
|
1585
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1586
|
+
*/
|
|
1587
|
+
protected static buildResourceProps(props?: (SqlDatabaseVulnerabilityAssessmentProps & {
|
|
1588
|
+
existing?: false;
|
|
1589
|
+
}) | (ExistingResourceProps & {
|
|
1590
|
+
existing: true;
|
|
1591
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/vulnerabilityAssessments"> & Record<string, unknown>;
|
|
1592
|
+
constructor(context: ServerDatabase, props?: (SqlDatabaseVulnerabilityAssessmentProps & {
|
|
1593
|
+
existing?: false;
|
|
1594
|
+
}) | (ExistingResourceProps & {
|
|
1595
|
+
existing: true;
|
|
1596
|
+
}), options?: ResourceOptions);
|
|
1597
|
+
/**
|
|
1598
|
+
* The name of the vulnerability assessment.
|
|
1599
|
+
*/
|
|
1600
|
+
get name(): Expression<VulnerabilityAssessmentName>;
|
|
1601
|
+
set name(value: ExpressionOrValue<VulnerabilityAssessmentName>);
|
|
1602
|
+
/**
|
|
1603
|
+
* Resource properties.
|
|
1604
|
+
*/
|
|
1605
|
+
get properties(): DatabaseVulnerabilityAssessmentPropertiesView;
|
|
1606
|
+
set properties(value: DatabaseVulnerabilityAssessmentPropertiesInput | undefined);
|
|
1607
|
+
}
|
|
1608
|
+
export interface WorkloadGroupProps {
|
|
1609
|
+
/**
|
|
1610
|
+
* The name of the workload group.
|
|
1611
|
+
*/
|
|
1612
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
1613
|
+
/**
|
|
1614
|
+
* Resource properties.
|
|
1615
|
+
*/
|
|
1616
|
+
properties?: WorkloadGroupPropertiesInput | undefined;
|
|
1617
|
+
}
|
|
1618
|
+
export interface WorkloadClassifierProps {
|
|
1619
|
+
/**
|
|
1620
|
+
* The name of the workload classifier.
|
|
1621
|
+
*/
|
|
1622
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
1623
|
+
/**
|
|
1624
|
+
* Resource properties.
|
|
1625
|
+
*/
|
|
1626
|
+
properties?: WorkloadClassifierPropertiesInput | undefined;
|
|
1627
|
+
}
|
|
1628
|
+
/**
|
|
1629
|
+
* Workload classifier operations for a data warehouse
|
|
1630
|
+
*/
|
|
1631
|
+
export declare class WorkloadClassifier extends Resource<"Microsoft.Sql/servers/databases/workloadGroups/workloadClassifiers"> {
|
|
1632
|
+
static resourceType: "Microsoft.Sql/servers/databases/workloadGroups/workloadClassifiers";
|
|
1633
|
+
static apiVersion: string;
|
|
1634
|
+
protected static namingRules: ResourceNamingRules;
|
|
1635
|
+
/**
|
|
1636
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1637
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1638
|
+
*
|
|
1639
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1640
|
+
*/
|
|
1641
|
+
protected static buildResourceProps(props?: (WorkloadClassifierProps & {
|
|
1642
|
+
existing?: false;
|
|
1643
|
+
}) | (ExistingResourceProps & {
|
|
1644
|
+
existing: true;
|
|
1645
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/workloadGroups/workloadClassifiers"> & Record<string, unknown>;
|
|
1646
|
+
constructor(context: WorkloadGroup, props?: (WorkloadClassifierProps & {
|
|
1647
|
+
existing?: false;
|
|
1648
|
+
}) | (ExistingResourceProps & {
|
|
1649
|
+
existing: true;
|
|
1650
|
+
}), options?: ResourceOptions);
|
|
1651
|
+
/**
|
|
1652
|
+
* The name of the workload classifier.
|
|
1653
|
+
*/
|
|
1654
|
+
get name(): Expression<string>;
|
|
1655
|
+
set name(value: ExpressionOrValue<string>);
|
|
1656
|
+
/**
|
|
1657
|
+
* Resource properties.
|
|
1658
|
+
*/
|
|
1659
|
+
get properties(): WorkloadClassifierPropertiesView;
|
|
1660
|
+
set properties(value: WorkloadClassifierPropertiesInput | undefined);
|
|
1661
|
+
}
|
|
1662
|
+
/**
|
|
1663
|
+
* Workload group operations for a data warehouse
|
|
1664
|
+
*/
|
|
1665
|
+
export declare class WorkloadGroup extends Resource<"Microsoft.Sql/servers/databases/workloadGroups"> {
|
|
1666
|
+
static resourceType: "Microsoft.Sql/servers/databases/workloadGroups";
|
|
1667
|
+
static apiVersion: string;
|
|
1668
|
+
protected static namingRules: ResourceNamingRules;
|
|
1669
|
+
/**
|
|
1670
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1671
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1672
|
+
*
|
|
1673
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1674
|
+
*/
|
|
1675
|
+
protected static buildResourceProps(props?: (WorkloadGroupProps & {
|
|
1676
|
+
existing?: false;
|
|
1677
|
+
}) | (ExistingResourceProps & {
|
|
1678
|
+
existing: true;
|
|
1679
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases/workloadGroups"> & Record<string, unknown>;
|
|
1680
|
+
constructor(context: ServerDatabase, props?: (WorkloadGroupProps & {
|
|
1681
|
+
existing?: false;
|
|
1682
|
+
}) | (ExistingResourceProps & {
|
|
1683
|
+
existing: true;
|
|
1684
|
+
}), options?: ResourceOptions);
|
|
1685
|
+
/**
|
|
1686
|
+
* The name of the workload group.
|
|
1687
|
+
*/
|
|
1688
|
+
get name(): Expression<string>;
|
|
1689
|
+
set name(value: ExpressionOrValue<string>);
|
|
1690
|
+
/**
|
|
1691
|
+
* Resource properties.
|
|
1692
|
+
*/
|
|
1693
|
+
get properties(): WorkloadGroupPropertiesView;
|
|
1694
|
+
set properties(value: WorkloadGroupPropertiesInput | undefined);
|
|
1695
|
+
}
|
|
1696
|
+
/**
|
|
1697
|
+
* A database resource.
|
|
1698
|
+
*/
|
|
1699
|
+
export declare class ServerDatabase extends Resource<"Microsoft.Sql/servers/databases"> {
|
|
1700
|
+
static resourceType: "Microsoft.Sql/servers/databases";
|
|
1701
|
+
static apiVersion: string;
|
|
1702
|
+
protected static namingRules: ResourceNamingRules;
|
|
1703
|
+
/**
|
|
1704
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1705
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1706
|
+
*
|
|
1707
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1708
|
+
*/
|
|
1709
|
+
protected static buildResourceProps(props?: (ServerDatabaseProps & {
|
|
1710
|
+
existing?: false;
|
|
1711
|
+
}) | (ExistingResourceProps & {
|
|
1712
|
+
existing: true;
|
|
1713
|
+
})): ResourceProps<"Microsoft.Sql/servers/databases"> & Record<string, unknown>;
|
|
1714
|
+
constructor(context: Server, props?: (ServerDatabaseProps & {
|
|
1715
|
+
existing?: false;
|
|
1716
|
+
}) | (ExistingResourceProps & {
|
|
1717
|
+
existing: true;
|
|
1718
|
+
}), options?: ResourceOptions);
|
|
1719
|
+
/**
|
|
1720
|
+
* The Azure Active Directory identity of the database.
|
|
1721
|
+
*/
|
|
1722
|
+
get identity(): DatabaseIdentityView;
|
|
1723
|
+
set identity(value: DatabaseIdentityInput | undefined);
|
|
1724
|
+
/**
|
|
1725
|
+
* Kind of database. This is metadata used for the Azure portal experience.
|
|
1726
|
+
*/
|
|
1727
|
+
get kind(): Expression<string>;
|
|
1728
|
+
/**
|
|
1729
|
+
* The geo-location where the resource lives
|
|
1730
|
+
*/
|
|
1731
|
+
get location(): Expression<string>;
|
|
1732
|
+
set location(value: ExpressionOrValue<string>);
|
|
1733
|
+
/**
|
|
1734
|
+
* Resource that manages the database.
|
|
1735
|
+
*/
|
|
1736
|
+
get managedBy(): Expression<string>;
|
|
1737
|
+
/**
|
|
1738
|
+
* The name of the database.
|
|
1739
|
+
*/
|
|
1740
|
+
get name(): Expression<string>;
|
|
1741
|
+
set name(value: ExpressionOrValue<string>);
|
|
1742
|
+
/**
|
|
1743
|
+
* Resource properties.
|
|
1744
|
+
*/
|
|
1745
|
+
get properties(): DatabasePropertiesView;
|
|
1746
|
+
set properties(value: DatabasePropertiesInput | undefined);
|
|
1747
|
+
/**
|
|
1748
|
+
* The database SKU. The list of SKUs may vary by region and support offer. To determine the SKUs
|
|
1749
|
+
* (including the SKU name, tier/edition, family, and capacity) that are available to your
|
|
1750
|
+
* subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the
|
|
1751
|
+
* following commands: ```azurecli az sql db list-editions -l <location> -o table ```
|
|
1752
|
+
* ```powershell Get-AzSqlServerServiceObjective -Location <location> ```
|
|
1753
|
+
*/
|
|
1754
|
+
get sku(): SkuView;
|
|
1755
|
+
set sku(value: SkuInput | undefined);
|
|
1756
|
+
/**
|
|
1757
|
+
* Resource tags.
|
|
1758
|
+
*/
|
|
1759
|
+
get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>>;
|
|
1760
|
+
set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined);
|
|
1761
|
+
}
|
|
1762
|
+
export interface DevOpsAuditingSettingProps {
|
|
1763
|
+
name?: ExpressionOrValue<DevOpsAuditingSettingsName> | undefined;
|
|
1764
|
+
/**
|
|
1765
|
+
* Resource properties.
|
|
1766
|
+
*/
|
|
1767
|
+
properties?: ServerDevOpsAuditSettingsPropertiesInput | undefined;
|
|
1768
|
+
}
|
|
1769
|
+
/**
|
|
1770
|
+
* A server DevOps auditing settings.
|
|
1771
|
+
*/
|
|
1772
|
+
export declare class DevOpsAuditingSetting extends Resource<"Microsoft.Sql/servers/devOpsAuditingSettings"> {
|
|
1773
|
+
static resourceType: "Microsoft.Sql/servers/devOpsAuditingSettings";
|
|
1774
|
+
static apiVersion: string;
|
|
1775
|
+
protected static namingRules: ResourceNamingRules;
|
|
1776
|
+
/**
|
|
1777
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1778
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1779
|
+
*
|
|
1780
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1781
|
+
*/
|
|
1782
|
+
protected static buildResourceProps(props?: (DevOpsAuditingSettingProps & {
|
|
1783
|
+
existing?: false;
|
|
1784
|
+
}) | (ExistingResourceProps & {
|
|
1785
|
+
existing: true;
|
|
1786
|
+
})): ResourceProps<"Microsoft.Sql/servers/devOpsAuditingSettings"> & Record<string, unknown>;
|
|
1787
|
+
constructor(context: Server, props?: (DevOpsAuditingSettingProps & {
|
|
1788
|
+
existing?: false;
|
|
1789
|
+
}) | (ExistingResourceProps & {
|
|
1790
|
+
existing: true;
|
|
1791
|
+
}), options?: ResourceOptions);
|
|
1792
|
+
get name(): Expression<DevOpsAuditingSettingsName>;
|
|
1793
|
+
set name(value: ExpressionOrValue<DevOpsAuditingSettingsName>);
|
|
1794
|
+
/**
|
|
1795
|
+
* Resource properties.
|
|
1796
|
+
*/
|
|
1797
|
+
get properties(): ServerDevOpsAuditSettingsPropertiesView;
|
|
1798
|
+
set properties(value: ServerDevOpsAuditSettingsPropertiesInput | undefined);
|
|
1799
|
+
}
|
|
1800
|
+
export interface ServerDnsAliasProps {
|
|
1801
|
+
/**
|
|
1802
|
+
* The name of the server dns alias.
|
|
1803
|
+
*/
|
|
1804
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
1805
|
+
}
|
|
1806
|
+
/**
|
|
1807
|
+
* A server DNS alias.
|
|
1808
|
+
*/
|
|
1809
|
+
export declare class ServerDnsAlias extends Resource<"Microsoft.Sql/servers/dnsAliases"> {
|
|
1810
|
+
static resourceType: "Microsoft.Sql/servers/dnsAliases";
|
|
1811
|
+
static apiVersion: string;
|
|
1812
|
+
protected static namingRules: ResourceNamingRules;
|
|
1813
|
+
/**
|
|
1814
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1815
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1816
|
+
*
|
|
1817
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1818
|
+
*/
|
|
1819
|
+
protected static buildResourceProps(props?: (ServerDnsAliasProps & {
|
|
1820
|
+
existing?: false;
|
|
1821
|
+
}) | (ExistingResourceProps & {
|
|
1822
|
+
existing: true;
|
|
1823
|
+
})): ResourceProps<"Microsoft.Sql/servers/dnsAliases"> & Record<string, unknown>;
|
|
1824
|
+
constructor(context: Server, props?: (ServerDnsAliasProps & {
|
|
1825
|
+
existing?: false;
|
|
1826
|
+
}) | (ExistingResourceProps & {
|
|
1827
|
+
existing: true;
|
|
1828
|
+
}), options?: ResourceOptions);
|
|
1829
|
+
/**
|
|
1830
|
+
* The name of the server dns alias.
|
|
1831
|
+
*/
|
|
1832
|
+
get name(): Expression<string>;
|
|
1833
|
+
set name(value: ExpressionOrValue<string>);
|
|
1834
|
+
/**
|
|
1835
|
+
* Resource properties.
|
|
1836
|
+
*/
|
|
1837
|
+
get properties(): Expression<ServerDnsAliasProperties>;
|
|
1838
|
+
}
|
|
1839
|
+
export interface ElasticPoolProps {
|
|
1840
|
+
/**
|
|
1841
|
+
* The geo-location where the resource lives
|
|
1842
|
+
*/
|
|
1843
|
+
location?: ExpressionOrValue<string> | undefined;
|
|
1844
|
+
/**
|
|
1845
|
+
* The name of the elastic pool.
|
|
1846
|
+
*/
|
|
1847
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
1848
|
+
/**
|
|
1849
|
+
* Resource properties.
|
|
1850
|
+
*/
|
|
1851
|
+
properties?: ElasticPoolPropertiesInput | undefined;
|
|
1852
|
+
/**
|
|
1853
|
+
* The elastic pool SKU.
|
|
1854
|
+
*
|
|
1855
|
+
* The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the following command:
|
|
1856
|
+
*
|
|
1857
|
+
* ```azurecli
|
|
1858
|
+
* az sql elastic-pool list-editions -l <location> -o table
|
|
1859
|
+
* ```
|
|
1860
|
+
*/
|
|
1861
|
+
sku?: SkuInput | undefined;
|
|
1862
|
+
/**
|
|
1863
|
+
* Resource tags.
|
|
1864
|
+
*/
|
|
1865
|
+
tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* An elastic pool.
|
|
1869
|
+
*/
|
|
1870
|
+
export declare class ElasticPool extends Resource<"Microsoft.Sql/servers/elasticPools"> {
|
|
1871
|
+
static resourceType: "Microsoft.Sql/servers/elasticPools";
|
|
1872
|
+
static apiVersion: string;
|
|
1873
|
+
protected static namingRules: ResourceNamingRules;
|
|
1874
|
+
/**
|
|
1875
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1876
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1877
|
+
*
|
|
1878
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1879
|
+
*/
|
|
1880
|
+
protected static buildResourceProps(props?: (ElasticPoolProps & {
|
|
1881
|
+
existing?: false;
|
|
1882
|
+
}) | (ExistingResourceProps & {
|
|
1883
|
+
existing: true;
|
|
1884
|
+
})): ResourceProps<"Microsoft.Sql/servers/elasticPools"> & Record<string, unknown>;
|
|
1885
|
+
constructor(context: Server, props?: (ElasticPoolProps & {
|
|
1886
|
+
existing?: false;
|
|
1887
|
+
}) | (ExistingResourceProps & {
|
|
1888
|
+
existing: true;
|
|
1889
|
+
}), options?: ResourceOptions);
|
|
1890
|
+
/**
|
|
1891
|
+
* Kind of elastic pool. This is metadata used for the Azure portal experience.
|
|
1892
|
+
*/
|
|
1893
|
+
get kind(): Expression<string>;
|
|
1894
|
+
/**
|
|
1895
|
+
* The geo-location where the resource lives
|
|
1896
|
+
*/
|
|
1897
|
+
get location(): Expression<string>;
|
|
1898
|
+
set location(value: ExpressionOrValue<string>);
|
|
1899
|
+
/**
|
|
1900
|
+
* The name of the elastic pool.
|
|
1901
|
+
*/
|
|
1902
|
+
get name(): Expression<string>;
|
|
1903
|
+
set name(value: ExpressionOrValue<string>);
|
|
1904
|
+
/**
|
|
1905
|
+
* Resource properties.
|
|
1906
|
+
*/
|
|
1907
|
+
get properties(): ElasticPoolPropertiesView;
|
|
1908
|
+
set properties(value: ElasticPoolPropertiesInput | undefined);
|
|
1909
|
+
/**
|
|
1910
|
+
* The elastic pool SKU. The list of SKUs may vary by region and support offer. To determine the
|
|
1911
|
+
* SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your
|
|
1912
|
+
* subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the
|
|
1913
|
+
* following command: ```azurecli az sql elastic-pool list-editions -l <location> -o table ```
|
|
1914
|
+
*/
|
|
1915
|
+
get sku(): SkuView;
|
|
1916
|
+
set sku(value: SkuInput | undefined);
|
|
1917
|
+
/**
|
|
1918
|
+
* Resource tags.
|
|
1919
|
+
*/
|
|
1920
|
+
get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>>;
|
|
1921
|
+
set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined);
|
|
1922
|
+
}
|
|
1923
|
+
export interface ServerEncryptionProtectorProps {
|
|
1924
|
+
/**
|
|
1925
|
+
* The name of the encryption protector to be retrieved.
|
|
1926
|
+
*/
|
|
1927
|
+
name?: ExpressionOrValue<EncryptionProtectorName> | undefined;
|
|
1928
|
+
/**
|
|
1929
|
+
* Resource properties.
|
|
1930
|
+
*/
|
|
1931
|
+
properties?: EncryptionProtectorPropertiesInput | undefined;
|
|
1932
|
+
}
|
|
1933
|
+
/**
|
|
1934
|
+
* The server encryption protector.
|
|
1935
|
+
*/
|
|
1936
|
+
export declare class ServerEncryptionProtector extends Resource<"Microsoft.Sql/servers/encryptionProtector"> {
|
|
1937
|
+
static resourceType: "Microsoft.Sql/servers/encryptionProtector";
|
|
1938
|
+
static apiVersion: string;
|
|
1939
|
+
protected static namingRules: ResourceNamingRules;
|
|
1940
|
+
/**
|
|
1941
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1942
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1943
|
+
*
|
|
1944
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1945
|
+
*/
|
|
1946
|
+
protected static buildResourceProps(props?: (ServerEncryptionProtectorProps & {
|
|
1947
|
+
existing?: false;
|
|
1948
|
+
}) | (ExistingResourceProps & {
|
|
1949
|
+
existing: true;
|
|
1950
|
+
})): ResourceProps<"Microsoft.Sql/servers/encryptionProtector"> & Record<string, unknown>;
|
|
1951
|
+
constructor(context: Server, props?: (ServerEncryptionProtectorProps & {
|
|
1952
|
+
existing?: false;
|
|
1953
|
+
}) | (ExistingResourceProps & {
|
|
1954
|
+
existing: true;
|
|
1955
|
+
}), options?: ResourceOptions);
|
|
1956
|
+
/**
|
|
1957
|
+
* Kind of encryption protector. This is metadata used for the Azure portal experience.
|
|
1958
|
+
*/
|
|
1959
|
+
get kind(): Expression<string>;
|
|
1960
|
+
/**
|
|
1961
|
+
* Resource location.
|
|
1962
|
+
*/
|
|
1963
|
+
get location(): Expression<string>;
|
|
1964
|
+
/**
|
|
1965
|
+
* The name of the encryption protector to be retrieved.
|
|
1966
|
+
*/
|
|
1967
|
+
get name(): Expression<EncryptionProtectorName>;
|
|
1968
|
+
set name(value: ExpressionOrValue<EncryptionProtectorName>);
|
|
1969
|
+
/**
|
|
1970
|
+
* Resource properties.
|
|
1971
|
+
*/
|
|
1972
|
+
get properties(): EncryptionProtectorPropertiesView;
|
|
1973
|
+
set properties(value: EncryptionProtectorPropertiesInput | undefined);
|
|
1974
|
+
}
|
|
1975
|
+
export interface ExtendedServerBlobAuditingPolicyProps {
|
|
1976
|
+
name: ExpressionOrValue<BlobAuditingPolicyName>;
|
|
1977
|
+
/**
|
|
1978
|
+
* Resource properties.
|
|
1979
|
+
*/
|
|
1980
|
+
properties?: ExtendedServerBlobAuditingPolicyPropertiesInput | undefined;
|
|
1981
|
+
}
|
|
1982
|
+
/**
|
|
1983
|
+
* An extended server blob auditing policy.
|
|
1984
|
+
*/
|
|
1985
|
+
export declare class ExtendedServerBlobAuditingPolicy extends Resource<"Microsoft.Sql/servers/extendedAuditingSettings"> {
|
|
1986
|
+
static resourceType: "Microsoft.Sql/servers/extendedAuditingSettings";
|
|
1987
|
+
static apiVersion: string;
|
|
1988
|
+
protected static namingRules: ResourceNamingRules;
|
|
1989
|
+
/**
|
|
1990
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
1991
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
1992
|
+
*
|
|
1993
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
1994
|
+
*/
|
|
1995
|
+
protected static buildResourceProps(props?: (ExtendedServerBlobAuditingPolicyProps & {
|
|
1996
|
+
existing?: false;
|
|
1997
|
+
}) | (ExistingResourceProps<BlobAuditingPolicyName> & {
|
|
1998
|
+
existing: true;
|
|
1999
|
+
})): ResourceProps<"Microsoft.Sql/servers/extendedAuditingSettings"> & Record<string, unknown>;
|
|
2000
|
+
constructor(context: Server, props: (ExtendedServerBlobAuditingPolicyProps & {
|
|
2001
|
+
existing?: false;
|
|
2002
|
+
}) | (ExistingResourceProps<BlobAuditingPolicyName> & {
|
|
2003
|
+
existing: true;
|
|
2004
|
+
}), options?: ResourceOptions);
|
|
2005
|
+
get name(): Expression<BlobAuditingPolicyName>;
|
|
2006
|
+
set name(value: ExpressionOrValue<BlobAuditingPolicyName>);
|
|
2007
|
+
/**
|
|
2008
|
+
* Resource properties.
|
|
2009
|
+
*/
|
|
2010
|
+
get properties(): ExtendedServerBlobAuditingPolicyPropertiesView;
|
|
2011
|
+
set properties(value: ExtendedServerBlobAuditingPolicyPropertiesInput | undefined);
|
|
2012
|
+
}
|
|
2013
|
+
export interface FailoverGroupProps {
|
|
2014
|
+
/**
|
|
2015
|
+
* The name of the failover group.
|
|
2016
|
+
*/
|
|
2017
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2018
|
+
/**
|
|
2019
|
+
* Resource properties.
|
|
2020
|
+
*/
|
|
2021
|
+
properties?: FailoverGroupPropertiesInput | undefined;
|
|
2022
|
+
/**
|
|
2023
|
+
* Resource tags.
|
|
2024
|
+
*/
|
|
2025
|
+
tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;
|
|
2026
|
+
}
|
|
2027
|
+
/**
|
|
2028
|
+
* A failover group.
|
|
2029
|
+
*/
|
|
2030
|
+
export declare class FailoverGroup extends Resource<"Microsoft.Sql/servers/failoverGroups"> {
|
|
2031
|
+
static resourceType: "Microsoft.Sql/servers/failoverGroups";
|
|
2032
|
+
static apiVersion: string;
|
|
2033
|
+
protected static namingRules: ResourceNamingRules;
|
|
2034
|
+
/**
|
|
2035
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2036
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2037
|
+
*
|
|
2038
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2039
|
+
*/
|
|
2040
|
+
protected static buildResourceProps(props?: (FailoverGroupProps & {
|
|
2041
|
+
existing?: false;
|
|
2042
|
+
}) | (ExistingResourceProps & {
|
|
2043
|
+
existing: true;
|
|
2044
|
+
})): ResourceProps<"Microsoft.Sql/servers/failoverGroups"> & Record<string, unknown>;
|
|
2045
|
+
constructor(context: Server, props?: (FailoverGroupProps & {
|
|
2046
|
+
existing?: false;
|
|
2047
|
+
}) | (ExistingResourceProps & {
|
|
2048
|
+
existing: true;
|
|
2049
|
+
}), options?: ResourceOptions);
|
|
2050
|
+
/**
|
|
2051
|
+
* Resource location.
|
|
2052
|
+
*/
|
|
2053
|
+
get location(): Expression<string>;
|
|
2054
|
+
/**
|
|
2055
|
+
* The name of the failover group.
|
|
2056
|
+
*/
|
|
2057
|
+
get name(): Expression<string>;
|
|
2058
|
+
set name(value: ExpressionOrValue<string>);
|
|
2059
|
+
/**
|
|
2060
|
+
* Resource properties.
|
|
2061
|
+
*/
|
|
2062
|
+
get properties(): FailoverGroupPropertiesView;
|
|
2063
|
+
set properties(value: FailoverGroupPropertiesInput | undefined);
|
|
2064
|
+
/**
|
|
2065
|
+
* Resource tags.
|
|
2066
|
+
*/
|
|
2067
|
+
get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>>;
|
|
2068
|
+
set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined);
|
|
2069
|
+
}
|
|
2070
|
+
export interface FirewallRuleProps {
|
|
2071
|
+
/**
|
|
2072
|
+
* Resource name.
|
|
2073
|
+
*/
|
|
2074
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2075
|
+
/**
|
|
2076
|
+
* Resource properties.
|
|
2077
|
+
*/
|
|
2078
|
+
properties?: ServerFirewallRulePropertiesInput | undefined;
|
|
2079
|
+
}
|
|
2080
|
+
/**
|
|
2081
|
+
* A server firewall rule.
|
|
2082
|
+
*/
|
|
2083
|
+
export declare class FirewallRule extends Resource<"Microsoft.Sql/servers/firewallRules"> {
|
|
2084
|
+
static resourceType: "Microsoft.Sql/servers/firewallRules";
|
|
2085
|
+
static apiVersion: string;
|
|
2086
|
+
protected static namingRules: ResourceNamingRules;
|
|
2087
|
+
/**
|
|
2088
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2089
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2090
|
+
*
|
|
2091
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2092
|
+
*/
|
|
2093
|
+
protected static buildResourceProps(props?: (FirewallRuleProps & {
|
|
2094
|
+
existing?: false;
|
|
2095
|
+
}) | (ExistingResourceProps & {
|
|
2096
|
+
existing: true;
|
|
2097
|
+
})): ResourceProps<"Microsoft.Sql/servers/firewallRules"> & Record<string, unknown>;
|
|
2098
|
+
constructor(context: Server, props?: (FirewallRuleProps & {
|
|
2099
|
+
existing?: false;
|
|
2100
|
+
}) | (ExistingResourceProps & {
|
|
2101
|
+
existing: true;
|
|
2102
|
+
}), options?: ResourceOptions);
|
|
2103
|
+
/**
|
|
2104
|
+
* Resource name.
|
|
2105
|
+
*/
|
|
2106
|
+
get name(): Expression<string>;
|
|
2107
|
+
set name(value: ExpressionOrValue<string>);
|
|
2108
|
+
/**
|
|
2109
|
+
* Resource properties.
|
|
2110
|
+
*/
|
|
2111
|
+
get properties(): ServerFirewallRulePropertiesView;
|
|
2112
|
+
set properties(value: ServerFirewallRulePropertiesInput | undefined);
|
|
2113
|
+
}
|
|
2114
|
+
export interface IPv6FirewallRuleProps {
|
|
2115
|
+
/**
|
|
2116
|
+
* Resource name.
|
|
2117
|
+
*/
|
|
2118
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2119
|
+
/**
|
|
2120
|
+
* Resource properties.
|
|
2121
|
+
*/
|
|
2122
|
+
properties?: IPv6ServerFirewallRulePropertiesInput | undefined;
|
|
2123
|
+
}
|
|
2124
|
+
/**
|
|
2125
|
+
* An IPv6 server firewall rule.
|
|
2126
|
+
*/
|
|
2127
|
+
export declare class IPv6FirewallRule extends Resource<"Microsoft.Sql/servers/ipv6FirewallRules"> {
|
|
2128
|
+
static resourceType: "Microsoft.Sql/servers/ipv6FirewallRules";
|
|
2129
|
+
static apiVersion: string;
|
|
2130
|
+
protected static namingRules: ResourceNamingRules;
|
|
2131
|
+
/**
|
|
2132
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2133
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2134
|
+
*
|
|
2135
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2136
|
+
*/
|
|
2137
|
+
protected static buildResourceProps(props?: (IPv6FirewallRuleProps & {
|
|
2138
|
+
existing?: false;
|
|
2139
|
+
}) | (ExistingResourceProps & {
|
|
2140
|
+
existing: true;
|
|
2141
|
+
})): ResourceProps<"Microsoft.Sql/servers/ipv6FirewallRules"> & Record<string, unknown>;
|
|
2142
|
+
constructor(context: Server, props?: (IPv6FirewallRuleProps & {
|
|
2143
|
+
existing?: false;
|
|
2144
|
+
}) | (ExistingResourceProps & {
|
|
2145
|
+
existing: true;
|
|
2146
|
+
}), options?: ResourceOptions);
|
|
2147
|
+
/**
|
|
2148
|
+
* Resource name.
|
|
2149
|
+
*/
|
|
2150
|
+
get name(): Expression<string>;
|
|
2151
|
+
set name(value: ExpressionOrValue<string>);
|
|
2152
|
+
/**
|
|
2153
|
+
* Resource properties.
|
|
2154
|
+
*/
|
|
2155
|
+
get properties(): IPv6ServerFirewallRulePropertiesView;
|
|
2156
|
+
set properties(value: IPv6ServerFirewallRulePropertiesInput | undefined);
|
|
2157
|
+
}
|
|
2158
|
+
export interface JobAgentProps {
|
|
2159
|
+
/**
|
|
2160
|
+
* The identity of the job agent.
|
|
2161
|
+
*/
|
|
2162
|
+
identity?: JobAgentIdentityInput | undefined;
|
|
2163
|
+
/**
|
|
2164
|
+
* The geo-location where the resource lives
|
|
2165
|
+
*/
|
|
2166
|
+
location?: ExpressionOrValue<string> | undefined;
|
|
2167
|
+
/**
|
|
2168
|
+
* The name of the job agent to be retrieved.
|
|
2169
|
+
*/
|
|
2170
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2171
|
+
/**
|
|
2172
|
+
* Resource properties.
|
|
2173
|
+
*/
|
|
2174
|
+
properties?: JobAgentPropertiesInput | undefined;
|
|
2175
|
+
/**
|
|
2176
|
+
* The name and tier of the SKU.
|
|
2177
|
+
*/
|
|
2178
|
+
sku?: SkuInput | undefined;
|
|
2179
|
+
/**
|
|
2180
|
+
* Resource tags.
|
|
2181
|
+
*/
|
|
2182
|
+
tags?: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined;
|
|
2183
|
+
}
|
|
2184
|
+
export interface CredentialProps {
|
|
2185
|
+
/**
|
|
2186
|
+
* The name of the credential.
|
|
2187
|
+
*/
|
|
2188
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2189
|
+
/**
|
|
2190
|
+
* Resource properties.
|
|
2191
|
+
*/
|
|
2192
|
+
properties?: JobCredentialPropertiesInput | undefined;
|
|
2193
|
+
}
|
|
2194
|
+
/**
|
|
2195
|
+
* A stored credential that can be used by a job to connect to target databases.
|
|
2196
|
+
*/
|
|
2197
|
+
export declare class Credential extends Resource<"Microsoft.Sql/servers/jobAgents/credentials"> {
|
|
2198
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/credentials";
|
|
2199
|
+
static apiVersion: string;
|
|
2200
|
+
protected static namingRules: ResourceNamingRules;
|
|
2201
|
+
/**
|
|
2202
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2203
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2204
|
+
*
|
|
2205
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2206
|
+
*/
|
|
2207
|
+
protected static buildResourceProps(props?: (CredentialProps & {
|
|
2208
|
+
existing?: false;
|
|
2209
|
+
}) | (ExistingResourceProps & {
|
|
2210
|
+
existing: true;
|
|
2211
|
+
})): ResourceProps<"Microsoft.Sql/servers/jobAgents/credentials"> & Record<string, unknown>;
|
|
2212
|
+
constructor(context: JobAgent, props?: (CredentialProps & {
|
|
2213
|
+
existing?: false;
|
|
2214
|
+
}) | (ExistingResourceProps & {
|
|
2215
|
+
existing: true;
|
|
2216
|
+
}), options?: ResourceOptions);
|
|
2217
|
+
/**
|
|
2218
|
+
* The name of the credential.
|
|
2219
|
+
*/
|
|
2220
|
+
get name(): Expression<string>;
|
|
2221
|
+
set name(value: ExpressionOrValue<string>);
|
|
2222
|
+
/**
|
|
2223
|
+
* Resource properties.
|
|
2224
|
+
*/
|
|
2225
|
+
get properties(): JobCredentialPropertiesView;
|
|
2226
|
+
set properties(value: JobCredentialPropertiesInput | undefined);
|
|
2227
|
+
}
|
|
2228
|
+
export interface JobProps {
|
|
2229
|
+
/**
|
|
2230
|
+
* The name of the job to get.
|
|
2231
|
+
*/
|
|
2232
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2233
|
+
/**
|
|
2234
|
+
* Resource properties.
|
|
2235
|
+
*/
|
|
2236
|
+
properties?: JobPropertiesInput | undefined;
|
|
2237
|
+
}
|
|
2238
|
+
export interface SqlServerJobExecutionProps {
|
|
2239
|
+
/**
|
|
2240
|
+
* The id of the job execution
|
|
2241
|
+
*/
|
|
2242
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2243
|
+
}
|
|
2244
|
+
/**
|
|
2245
|
+
* An execution of a job
|
|
2246
|
+
*/
|
|
2247
|
+
export declare class SqlServerJobExecutionStepTarget extends Resource<"Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets"> {
|
|
2248
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets";
|
|
2249
|
+
static apiVersion: string;
|
|
2250
|
+
protected static namingRules: ResourceNamingRules;
|
|
2251
|
+
/**
|
|
2252
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2253
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2254
|
+
*
|
|
2255
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2256
|
+
*/
|
|
2257
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
2258
|
+
existing: true;
|
|
2259
|
+
}): ResourceProps<"Microsoft.Sql/servers/jobAgents/jobs/executions/steps/targets"> & Record<string, unknown>;
|
|
2260
|
+
constructor(context: SqlServerJobExecutionStep, props: ExistingResourceProps & {
|
|
2261
|
+
existing: true;
|
|
2262
|
+
}, options?: ResourceOptions);
|
|
2263
|
+
/**
|
|
2264
|
+
* The id of the job execution
|
|
2265
|
+
*/
|
|
2266
|
+
get name(): Expression<string>;
|
|
2267
|
+
set name(value: ExpressionOrValue<string>);
|
|
2268
|
+
/**
|
|
2269
|
+
* Resource properties.
|
|
2270
|
+
*/
|
|
2271
|
+
get properties(): Expression<JobExecutionProperties>;
|
|
2272
|
+
}
|
|
2273
|
+
/**
|
|
2274
|
+
* An execution of a job
|
|
2275
|
+
*/
|
|
2276
|
+
export declare class SqlServerJobExecutionStep extends Resource<"Microsoft.Sql/servers/jobAgents/jobs/executions/steps"> {
|
|
2277
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/jobs/executions/steps";
|
|
2278
|
+
static apiVersion: string;
|
|
2279
|
+
protected static namingRules: ResourceNamingRules;
|
|
2280
|
+
/**
|
|
2281
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2282
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2283
|
+
*
|
|
2284
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2285
|
+
*/
|
|
2286
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
2287
|
+
existing: true;
|
|
2288
|
+
}): ResourceProps<"Microsoft.Sql/servers/jobAgents/jobs/executions/steps"> & Record<string, unknown>;
|
|
2289
|
+
constructor(context: SqlServerJobExecution, props: ExistingResourceProps & {
|
|
2290
|
+
existing: true;
|
|
2291
|
+
}, options?: ResourceOptions);
|
|
2292
|
+
/**
|
|
2293
|
+
* The id of the job execution
|
|
2294
|
+
*/
|
|
2295
|
+
get name(): Expression<string>;
|
|
2296
|
+
set name(value: ExpressionOrValue<string>);
|
|
2297
|
+
/**
|
|
2298
|
+
* Resource properties.
|
|
2299
|
+
*/
|
|
2300
|
+
get properties(): Expression<JobExecutionProperties>;
|
|
2301
|
+
}
|
|
2302
|
+
/**
|
|
2303
|
+
* An execution of a job
|
|
2304
|
+
*/
|
|
2305
|
+
export declare class SqlServerJobExecution extends Resource<"Microsoft.Sql/servers/jobAgents/jobs/executions"> {
|
|
2306
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/jobs/executions";
|
|
2307
|
+
static apiVersion: string;
|
|
2308
|
+
protected static namingRules: ResourceNamingRules;
|
|
2309
|
+
/**
|
|
2310
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2311
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2312
|
+
*
|
|
2313
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2314
|
+
*/
|
|
2315
|
+
protected static buildResourceProps(props?: (SqlServerJobExecutionProps & {
|
|
2316
|
+
existing?: false;
|
|
2317
|
+
}) | (ExistingResourceProps & {
|
|
2318
|
+
existing: true;
|
|
2319
|
+
})): ResourceProps<"Microsoft.Sql/servers/jobAgents/jobs/executions"> & Record<string, unknown>;
|
|
2320
|
+
constructor(context: Job, props?: (SqlServerJobExecutionProps & {
|
|
2321
|
+
existing?: false;
|
|
2322
|
+
}) | (ExistingResourceProps & {
|
|
2323
|
+
existing: true;
|
|
2324
|
+
}), options?: ResourceOptions);
|
|
2325
|
+
/**
|
|
2326
|
+
* The id of the job execution
|
|
2327
|
+
*/
|
|
2328
|
+
get name(): Expression<string>;
|
|
2329
|
+
set name(value: ExpressionOrValue<string>);
|
|
2330
|
+
/**
|
|
2331
|
+
* Resource properties.
|
|
2332
|
+
*/
|
|
2333
|
+
get properties(): Expression<JobExecutionProperties>;
|
|
2334
|
+
}
|
|
2335
|
+
export interface SqlServerJobStepProps {
|
|
2336
|
+
/**
|
|
2337
|
+
* The name of the job step.
|
|
2338
|
+
*/
|
|
2339
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2340
|
+
/**
|
|
2341
|
+
* Resource properties.
|
|
2342
|
+
*/
|
|
2343
|
+
properties?: JobStepPropertiesInput | undefined;
|
|
2344
|
+
}
|
|
2345
|
+
/**
|
|
2346
|
+
* A job step.
|
|
2347
|
+
*/
|
|
2348
|
+
export declare class SqlServerJobStep extends Resource<"Microsoft.Sql/servers/jobAgents/jobs/steps"> {
|
|
2349
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/jobs/steps";
|
|
2350
|
+
static apiVersion: string;
|
|
2351
|
+
protected static namingRules: ResourceNamingRules;
|
|
2352
|
+
/**
|
|
2353
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2354
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2355
|
+
*
|
|
2356
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2357
|
+
*/
|
|
2358
|
+
protected static buildResourceProps(props?: (SqlServerJobStepProps & {
|
|
2359
|
+
existing?: false;
|
|
2360
|
+
}) | (ExistingResourceProps & {
|
|
2361
|
+
existing: true;
|
|
2362
|
+
})): ResourceProps<"Microsoft.Sql/servers/jobAgents/jobs/steps"> & Record<string, unknown>;
|
|
2363
|
+
constructor(context: Job, props?: (SqlServerJobStepProps & {
|
|
2364
|
+
existing?: false;
|
|
2365
|
+
}) | (ExistingResourceProps & {
|
|
2366
|
+
existing: true;
|
|
2367
|
+
}), options?: ResourceOptions);
|
|
2368
|
+
/**
|
|
2369
|
+
* The name of the job step.
|
|
2370
|
+
*/
|
|
2371
|
+
get name(): Expression<string>;
|
|
2372
|
+
set name(value: ExpressionOrValue<string>);
|
|
2373
|
+
/**
|
|
2374
|
+
* Resource properties.
|
|
2375
|
+
*/
|
|
2376
|
+
get properties(): JobStepPropertiesView;
|
|
2377
|
+
set properties(value: JobStepPropertiesInput | undefined);
|
|
2378
|
+
}
|
|
2379
|
+
/**
|
|
2380
|
+
* A job step.
|
|
2381
|
+
*/
|
|
2382
|
+
export declare class SqlServerJobVersionStep extends Resource<"Microsoft.Sql/servers/jobAgents/jobs/versions/steps"> {
|
|
2383
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/jobs/versions/steps";
|
|
2384
|
+
static apiVersion: string;
|
|
2385
|
+
protected static namingRules: ResourceNamingRules;
|
|
2386
|
+
/**
|
|
2387
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2388
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2389
|
+
*
|
|
2390
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2391
|
+
*/
|
|
2392
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
2393
|
+
existing: true;
|
|
2394
|
+
}): ResourceProps<"Microsoft.Sql/servers/jobAgents/jobs/versions/steps"> & Record<string, unknown>;
|
|
2395
|
+
constructor(context: Version, props: ExistingResourceProps & {
|
|
2396
|
+
existing: true;
|
|
2397
|
+
}, options?: ResourceOptions);
|
|
2398
|
+
/**
|
|
2399
|
+
* The name of the job step.
|
|
2400
|
+
*/
|
|
2401
|
+
get name(): Expression<string>;
|
|
2402
|
+
set name(value: ExpressionOrValue<string>);
|
|
2403
|
+
/**
|
|
2404
|
+
* Resource properties.
|
|
2405
|
+
*/
|
|
2406
|
+
get properties(): Expression<JobStepProperties>;
|
|
2407
|
+
}
|
|
2408
|
+
/**
|
|
2409
|
+
* A job version.
|
|
2410
|
+
*/
|
|
2411
|
+
export declare class Version extends Resource<"Microsoft.Sql/servers/jobAgents/jobs/versions"> {
|
|
2412
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/jobs/versions";
|
|
2413
|
+
static apiVersion: string;
|
|
2414
|
+
protected static namingRules: ResourceNamingRules;
|
|
2415
|
+
/**
|
|
2416
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2417
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2418
|
+
*
|
|
2419
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2420
|
+
*/
|
|
2421
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
2422
|
+
existing: true;
|
|
2423
|
+
}): ResourceProps<"Microsoft.Sql/servers/jobAgents/jobs/versions"> & Record<string, unknown>;
|
|
2424
|
+
constructor(context: Job, props: ExistingResourceProps & {
|
|
2425
|
+
existing: true;
|
|
2426
|
+
}, options?: ResourceOptions);
|
|
2427
|
+
/**
|
|
2428
|
+
* The version of the job to get.
|
|
2429
|
+
*/
|
|
2430
|
+
get name(): Expression<string>;
|
|
2431
|
+
set name(value: ExpressionOrValue<string>);
|
|
2432
|
+
/**
|
|
2433
|
+
* The resource-specific properties for this resource.
|
|
2434
|
+
*/
|
|
2435
|
+
get properties(): Expression<any>;
|
|
2436
|
+
}
|
|
2437
|
+
/**
|
|
2438
|
+
* A job.
|
|
2439
|
+
*/
|
|
2440
|
+
export declare class Job extends Resource<"Microsoft.Sql/servers/jobAgents/jobs"> {
|
|
2441
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/jobs";
|
|
2442
|
+
static apiVersion: string;
|
|
2443
|
+
protected static namingRules: ResourceNamingRules;
|
|
2444
|
+
/**
|
|
2445
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2446
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2447
|
+
*
|
|
2448
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2449
|
+
*/
|
|
2450
|
+
protected static buildResourceProps(props?: (JobProps & {
|
|
2451
|
+
existing?: false;
|
|
2452
|
+
}) | (ExistingResourceProps & {
|
|
2453
|
+
existing: true;
|
|
2454
|
+
})): ResourceProps<"Microsoft.Sql/servers/jobAgents/jobs"> & Record<string, unknown>;
|
|
2455
|
+
constructor(context: JobAgent, props?: (JobProps & {
|
|
2456
|
+
existing?: false;
|
|
2457
|
+
}) | (ExistingResourceProps & {
|
|
2458
|
+
existing: true;
|
|
2459
|
+
}), options?: ResourceOptions);
|
|
2460
|
+
/**
|
|
2461
|
+
* The name of the job to get.
|
|
2462
|
+
*/
|
|
2463
|
+
get name(): Expression<string>;
|
|
2464
|
+
set name(value: ExpressionOrValue<string>);
|
|
2465
|
+
/**
|
|
2466
|
+
* Resource properties.
|
|
2467
|
+
*/
|
|
2468
|
+
get properties(): JobPropertiesView;
|
|
2469
|
+
set properties(value: JobPropertiesInput | undefined);
|
|
2470
|
+
}
|
|
2471
|
+
export interface PrivateEndpointProps {
|
|
2472
|
+
/**
|
|
2473
|
+
* The name of the private endpoint to get.
|
|
2474
|
+
*/
|
|
2475
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2476
|
+
/**
|
|
2477
|
+
* Resource properties.
|
|
2478
|
+
*/
|
|
2479
|
+
properties?: JobPrivateEndpointPropertiesInput | undefined;
|
|
2480
|
+
}
|
|
2481
|
+
/**
|
|
2482
|
+
* A job agent private endpoint.
|
|
2483
|
+
*/
|
|
2484
|
+
export declare class PrivateEndpoint extends Resource<"Microsoft.Sql/servers/jobAgents/privateEndpoints"> {
|
|
2485
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/privateEndpoints";
|
|
2486
|
+
static apiVersion: string;
|
|
2487
|
+
protected static namingRules: ResourceNamingRules;
|
|
2488
|
+
/**
|
|
2489
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2490
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2491
|
+
*
|
|
2492
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2493
|
+
*/
|
|
2494
|
+
protected static buildResourceProps(props?: (PrivateEndpointProps & {
|
|
2495
|
+
existing?: false;
|
|
2496
|
+
}) | (ExistingResourceProps & {
|
|
2497
|
+
existing: true;
|
|
2498
|
+
})): ResourceProps<"Microsoft.Sql/servers/jobAgents/privateEndpoints"> & Record<string, unknown>;
|
|
2499
|
+
constructor(context: JobAgent, props?: (PrivateEndpointProps & {
|
|
2500
|
+
existing?: false;
|
|
2501
|
+
}) | (ExistingResourceProps & {
|
|
2502
|
+
existing: true;
|
|
2503
|
+
}), options?: ResourceOptions);
|
|
2504
|
+
/**
|
|
2505
|
+
* The name of the private endpoint to get.
|
|
2506
|
+
*/
|
|
2507
|
+
get name(): Expression<string>;
|
|
2508
|
+
set name(value: ExpressionOrValue<string>);
|
|
2509
|
+
/**
|
|
2510
|
+
* Resource properties.
|
|
2511
|
+
*/
|
|
2512
|
+
get properties(): JobPrivateEndpointPropertiesView;
|
|
2513
|
+
set properties(value: JobPrivateEndpointPropertiesInput | undefined);
|
|
2514
|
+
}
|
|
2515
|
+
export interface TargetGroupProps {
|
|
2516
|
+
/**
|
|
2517
|
+
* The name of the target group.
|
|
2518
|
+
*/
|
|
2519
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2520
|
+
/**
|
|
2521
|
+
* Resource properties.
|
|
2522
|
+
*/
|
|
2523
|
+
properties?: JobTargetGroupPropertiesInput | undefined;
|
|
2524
|
+
}
|
|
2525
|
+
/**
|
|
2526
|
+
* A group of job targets.
|
|
2527
|
+
*/
|
|
2528
|
+
export declare class TargetGroup extends Resource<"Microsoft.Sql/servers/jobAgents/targetGroups"> {
|
|
2529
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents/targetGroups";
|
|
2530
|
+
static apiVersion: string;
|
|
2531
|
+
protected static namingRules: ResourceNamingRules;
|
|
2532
|
+
/**
|
|
2533
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2534
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2535
|
+
*
|
|
2536
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2537
|
+
*/
|
|
2538
|
+
protected static buildResourceProps(props?: (TargetGroupProps & {
|
|
2539
|
+
existing?: false;
|
|
2540
|
+
}) | (ExistingResourceProps & {
|
|
2541
|
+
existing: true;
|
|
2542
|
+
})): ResourceProps<"Microsoft.Sql/servers/jobAgents/targetGroups"> & Record<string, unknown>;
|
|
2543
|
+
constructor(context: JobAgent, props?: (TargetGroupProps & {
|
|
2544
|
+
existing?: false;
|
|
2545
|
+
}) | (ExistingResourceProps & {
|
|
2546
|
+
existing: true;
|
|
2547
|
+
}), options?: ResourceOptions);
|
|
2548
|
+
/**
|
|
2549
|
+
* The name of the target group.
|
|
2550
|
+
*/
|
|
2551
|
+
get name(): Expression<string>;
|
|
2552
|
+
set name(value: ExpressionOrValue<string>);
|
|
2553
|
+
/**
|
|
2554
|
+
* Resource properties.
|
|
2555
|
+
*/
|
|
2556
|
+
get properties(): JobTargetGroupPropertiesView;
|
|
2557
|
+
set properties(value: JobTargetGroupPropertiesInput | undefined);
|
|
2558
|
+
}
|
|
2559
|
+
/**
|
|
2560
|
+
* An Azure SQL job agent.
|
|
2561
|
+
*/
|
|
2562
|
+
export declare class JobAgent extends Resource<"Microsoft.Sql/servers/jobAgents"> {
|
|
2563
|
+
static resourceType: "Microsoft.Sql/servers/jobAgents";
|
|
2564
|
+
static apiVersion: string;
|
|
2565
|
+
protected static namingRules: ResourceNamingRules;
|
|
2566
|
+
/**
|
|
2567
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2568
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2569
|
+
*
|
|
2570
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2571
|
+
*/
|
|
2572
|
+
protected static buildResourceProps(props?: (JobAgentProps & {
|
|
2573
|
+
existing?: false;
|
|
2574
|
+
}) | (ExistingResourceProps & {
|
|
2575
|
+
existing: true;
|
|
2576
|
+
})): ResourceProps<"Microsoft.Sql/servers/jobAgents"> & Record<string, unknown>;
|
|
2577
|
+
constructor(context: Server, props?: (JobAgentProps & {
|
|
2578
|
+
existing?: false;
|
|
2579
|
+
}) | (ExistingResourceProps & {
|
|
2580
|
+
existing: true;
|
|
2581
|
+
}), options?: ResourceOptions);
|
|
2582
|
+
/**
|
|
2583
|
+
* The identity of the job agent.
|
|
2584
|
+
*/
|
|
2585
|
+
get identity(): JobAgentIdentityView;
|
|
2586
|
+
set identity(value: JobAgentIdentityInput | undefined);
|
|
2587
|
+
/**
|
|
2588
|
+
* The geo-location where the resource lives
|
|
2589
|
+
*/
|
|
2590
|
+
get location(): Expression<string>;
|
|
2591
|
+
set location(value: ExpressionOrValue<string>);
|
|
2592
|
+
/**
|
|
2593
|
+
* The name of the job agent to be retrieved.
|
|
2594
|
+
*/
|
|
2595
|
+
get name(): Expression<string>;
|
|
2596
|
+
set name(value: ExpressionOrValue<string>);
|
|
2597
|
+
/**
|
|
2598
|
+
* Resource properties.
|
|
2599
|
+
*/
|
|
2600
|
+
get properties(): JobAgentPropertiesView;
|
|
2601
|
+
set properties(value: JobAgentPropertiesInput | undefined);
|
|
2602
|
+
/**
|
|
2603
|
+
* The name and tier of the SKU.
|
|
2604
|
+
*/
|
|
2605
|
+
get sku(): SkuView;
|
|
2606
|
+
set sku(value: SkuInput | undefined);
|
|
2607
|
+
/**
|
|
2608
|
+
* Resource tags.
|
|
2609
|
+
*/
|
|
2610
|
+
get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>>;
|
|
2611
|
+
set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined);
|
|
2612
|
+
}
|
|
2613
|
+
export interface ServerKeyProps {
|
|
2614
|
+
/**
|
|
2615
|
+
* The name of the server key to be retrieved.
|
|
2616
|
+
*/
|
|
2617
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2618
|
+
/**
|
|
2619
|
+
* Resource properties.
|
|
2620
|
+
*/
|
|
2621
|
+
properties?: ServerKeyPropertiesInput | undefined;
|
|
2622
|
+
}
|
|
2623
|
+
/**
|
|
2624
|
+
* A server key.
|
|
2625
|
+
*/
|
|
2626
|
+
export declare class ServerKey extends Resource<"Microsoft.Sql/servers/keys"> {
|
|
2627
|
+
static resourceType: "Microsoft.Sql/servers/keys";
|
|
2628
|
+
static apiVersion: string;
|
|
2629
|
+
protected static namingRules: ResourceNamingRules;
|
|
2630
|
+
/**
|
|
2631
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2632
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2633
|
+
*
|
|
2634
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2635
|
+
*/
|
|
2636
|
+
protected static buildResourceProps(props?: (ServerKeyProps & {
|
|
2637
|
+
existing?: false;
|
|
2638
|
+
}) | (ExistingResourceProps & {
|
|
2639
|
+
existing: true;
|
|
2640
|
+
})): ResourceProps<"Microsoft.Sql/servers/keys"> & Record<string, unknown>;
|
|
2641
|
+
constructor(context: Server, props?: (ServerKeyProps & {
|
|
2642
|
+
existing?: false;
|
|
2643
|
+
}) | (ExistingResourceProps & {
|
|
2644
|
+
existing: true;
|
|
2645
|
+
}), options?: ResourceOptions);
|
|
2646
|
+
/**
|
|
2647
|
+
* Kind of encryption protector. This is metadata used for the Azure portal experience.
|
|
2648
|
+
*/
|
|
2649
|
+
get kind(): Expression<string>;
|
|
2650
|
+
/**
|
|
2651
|
+
* Resource location.
|
|
2652
|
+
*/
|
|
2653
|
+
get location(): Expression<string>;
|
|
2654
|
+
/**
|
|
2655
|
+
* The name of the server key to be retrieved.
|
|
2656
|
+
*/
|
|
2657
|
+
get name(): Expression<string>;
|
|
2658
|
+
set name(value: ExpressionOrValue<string>);
|
|
2659
|
+
/**
|
|
2660
|
+
* Resource properties.
|
|
2661
|
+
*/
|
|
2662
|
+
get properties(): ServerKeyPropertiesView;
|
|
2663
|
+
set properties(value: ServerKeyPropertiesInput | undefined);
|
|
2664
|
+
}
|
|
2665
|
+
/**
|
|
2666
|
+
* NSP Configuration for a server.
|
|
2667
|
+
*/
|
|
2668
|
+
export declare class NetworkSecurityPerimeterConfiguration extends Resource<"Microsoft.Sql/servers/networkSecurityPerimeterConfigurations"> {
|
|
2669
|
+
static resourceType: "Microsoft.Sql/servers/networkSecurityPerimeterConfigurations";
|
|
2670
|
+
static apiVersion: string;
|
|
2671
|
+
protected static namingRules: ResourceNamingRules;
|
|
2672
|
+
/**
|
|
2673
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2674
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2675
|
+
*
|
|
2676
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2677
|
+
*/
|
|
2678
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
2679
|
+
existing: true;
|
|
2680
|
+
}): ResourceProps<"Microsoft.Sql/servers/networkSecurityPerimeterConfigurations"> & Record<string, unknown>;
|
|
2681
|
+
constructor(context: Server, props: ExistingResourceProps & {
|
|
2682
|
+
existing: true;
|
|
2683
|
+
}, options?: ResourceOptions);
|
|
2684
|
+
get name(): Expression<string>;
|
|
2685
|
+
set name(value: ExpressionOrValue<string>);
|
|
2686
|
+
/**
|
|
2687
|
+
* Resource properties.
|
|
2688
|
+
*/
|
|
2689
|
+
get properties(): Expression<NetworkSecurityPerimeterConfigurationProperties>;
|
|
2690
|
+
}
|
|
2691
|
+
export interface OutboundFirewallRuleProps {
|
|
2692
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2693
|
+
}
|
|
2694
|
+
/**
|
|
2695
|
+
* An Azure SQL DB Server Outbound Firewall Rule.
|
|
2696
|
+
*/
|
|
2697
|
+
export declare class OutboundFirewallRule extends Resource<"Microsoft.Sql/servers/outboundFirewallRules"> {
|
|
2698
|
+
static resourceType: "Microsoft.Sql/servers/outboundFirewallRules";
|
|
2699
|
+
static apiVersion: string;
|
|
2700
|
+
protected static namingRules: ResourceNamingRules;
|
|
2701
|
+
/**
|
|
2702
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2703
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2704
|
+
*
|
|
2705
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2706
|
+
*/
|
|
2707
|
+
protected static buildResourceProps(props?: (OutboundFirewallRuleProps & {
|
|
2708
|
+
existing?: false;
|
|
2709
|
+
}) | (ExistingResourceProps & {
|
|
2710
|
+
existing: true;
|
|
2711
|
+
})): ResourceProps<"Microsoft.Sql/servers/outboundFirewallRules"> & Record<string, unknown>;
|
|
2712
|
+
constructor(context: Server, props?: (OutboundFirewallRuleProps & {
|
|
2713
|
+
existing?: false;
|
|
2714
|
+
}) | (ExistingResourceProps & {
|
|
2715
|
+
existing: true;
|
|
2716
|
+
}), options?: ResourceOptions);
|
|
2717
|
+
get name(): Expression<string>;
|
|
2718
|
+
set name(value: ExpressionOrValue<string>);
|
|
2719
|
+
/**
|
|
2720
|
+
* Resource properties.
|
|
2721
|
+
*/
|
|
2722
|
+
get properties(): Expression<OutboundFirewallRuleProperties>;
|
|
2723
|
+
}
|
|
2724
|
+
export interface ServerPrivateEndpointConnectionProps {
|
|
2725
|
+
/**
|
|
2726
|
+
* The name of the private endpoint connection.
|
|
2727
|
+
*/
|
|
2728
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2729
|
+
/**
|
|
2730
|
+
* Resource properties.
|
|
2731
|
+
*/
|
|
2732
|
+
properties?: PrivateEndpointConnectionPropertiesInput | undefined;
|
|
2733
|
+
}
|
|
2734
|
+
/**
|
|
2735
|
+
* A private endpoint connection
|
|
2736
|
+
*/
|
|
2737
|
+
export declare class ServerPrivateEndpointConnection extends Resource<"Microsoft.Sql/servers/privateEndpointConnections"> {
|
|
2738
|
+
static resourceType: "Microsoft.Sql/servers/privateEndpointConnections";
|
|
2739
|
+
static apiVersion: string;
|
|
2740
|
+
protected static namingRules: ResourceNamingRules;
|
|
2741
|
+
/**
|
|
2742
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2743
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2744
|
+
*
|
|
2745
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2746
|
+
*/
|
|
2747
|
+
protected static buildResourceProps(props?: (ServerPrivateEndpointConnectionProps & {
|
|
2748
|
+
existing?: false;
|
|
2749
|
+
}) | (ExistingResourceProps & {
|
|
2750
|
+
existing: true;
|
|
2751
|
+
})): ResourceProps<"Microsoft.Sql/servers/privateEndpointConnections"> & Record<string, unknown>;
|
|
2752
|
+
constructor(context: Server, props?: (ServerPrivateEndpointConnectionProps & {
|
|
2753
|
+
existing?: false;
|
|
2754
|
+
}) | (ExistingResourceProps & {
|
|
2755
|
+
existing: true;
|
|
2756
|
+
}), options?: ResourceOptions);
|
|
2757
|
+
/**
|
|
2758
|
+
* The name of the private endpoint connection.
|
|
2759
|
+
*/
|
|
2760
|
+
get name(): Expression<string>;
|
|
2761
|
+
set name(value: ExpressionOrValue<string>);
|
|
2762
|
+
/**
|
|
2763
|
+
* Resource properties.
|
|
2764
|
+
*/
|
|
2765
|
+
get properties(): PrivateEndpointConnectionPropertiesView;
|
|
2766
|
+
set properties(value: PrivateEndpointConnectionPropertiesInput | undefined);
|
|
2767
|
+
}
|
|
2768
|
+
/**
|
|
2769
|
+
* A private link resource
|
|
2770
|
+
*/
|
|
2771
|
+
export declare class PrivateLinkResource extends Resource<"Microsoft.Sql/servers/privateLinkResources"> {
|
|
2772
|
+
static resourceType: "Microsoft.Sql/servers/privateLinkResources";
|
|
2773
|
+
static apiVersion: string;
|
|
2774
|
+
protected static namingRules: ResourceNamingRules;
|
|
2775
|
+
/**
|
|
2776
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2777
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2778
|
+
*
|
|
2779
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2780
|
+
*/
|
|
2781
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
2782
|
+
existing: true;
|
|
2783
|
+
}): ResourceProps<"Microsoft.Sql/servers/privateLinkResources"> & Record<string, unknown>;
|
|
2784
|
+
constructor(context: Server, props: ExistingResourceProps & {
|
|
2785
|
+
existing: true;
|
|
2786
|
+
}, options?: ResourceOptions);
|
|
2787
|
+
/**
|
|
2788
|
+
* The name of the private link resource.
|
|
2789
|
+
*/
|
|
2790
|
+
get name(): Expression<string>;
|
|
2791
|
+
set name(value: ExpressionOrValue<string>);
|
|
2792
|
+
/**
|
|
2793
|
+
* The private link resource group id.
|
|
2794
|
+
*/
|
|
2795
|
+
get properties(): Expression<PrivateLinkResourceProperties>;
|
|
2796
|
+
}
|
|
2797
|
+
/**
|
|
2798
|
+
* A recoverable database resource.
|
|
2799
|
+
*/
|
|
2800
|
+
export declare class RecoverableDatabase extends Resource<"Microsoft.Sql/servers/recoverableDatabases"> {
|
|
2801
|
+
static resourceType: "Microsoft.Sql/servers/recoverableDatabases";
|
|
2802
|
+
static apiVersion: string;
|
|
2803
|
+
protected static namingRules: ResourceNamingRules;
|
|
2804
|
+
/**
|
|
2805
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2806
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2807
|
+
*
|
|
2808
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2809
|
+
*/
|
|
2810
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
2811
|
+
existing: true;
|
|
2812
|
+
}): ResourceProps<"Microsoft.Sql/servers/recoverableDatabases"> & Record<string, unknown>;
|
|
2813
|
+
constructor(context: Server, props: ExistingResourceProps & {
|
|
2814
|
+
existing: true;
|
|
2815
|
+
}, options?: ResourceOptions);
|
|
2816
|
+
/**
|
|
2817
|
+
* The name of the database.
|
|
2818
|
+
*/
|
|
2819
|
+
get name(): Expression<string>;
|
|
2820
|
+
set name(value: ExpressionOrValue<string>);
|
|
2821
|
+
/**
|
|
2822
|
+
* Resource properties.
|
|
2823
|
+
*/
|
|
2824
|
+
get properties(): Expression<RecoverableDatabaseProperties>;
|
|
2825
|
+
}
|
|
2826
|
+
/**
|
|
2827
|
+
* A restorable dropped database resource.
|
|
2828
|
+
*/
|
|
2829
|
+
export declare class RestorableDroppedDatabase extends Resource<"Microsoft.Sql/servers/restorableDroppedDatabases"> {
|
|
2830
|
+
static resourceType: "Microsoft.Sql/servers/restorableDroppedDatabases";
|
|
2831
|
+
static apiVersion: string;
|
|
2832
|
+
protected static namingRules: ResourceNamingRules;
|
|
2833
|
+
/**
|
|
2834
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2835
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2836
|
+
*
|
|
2837
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2838
|
+
*/
|
|
2839
|
+
protected static buildResourceProps(props?: ExistingResourceProps & {
|
|
2840
|
+
existing: true;
|
|
2841
|
+
}): ResourceProps<"Microsoft.Sql/servers/restorableDroppedDatabases"> & Record<string, unknown>;
|
|
2842
|
+
constructor(context: Server, props: ExistingResourceProps & {
|
|
2843
|
+
existing: true;
|
|
2844
|
+
}, options?: ResourceOptions);
|
|
2845
|
+
/**
|
|
2846
|
+
* Resource location.
|
|
2847
|
+
*/
|
|
2848
|
+
get location(): Expression<string>;
|
|
2849
|
+
get name(): Expression<string>;
|
|
2850
|
+
set name(value: ExpressionOrValue<string>);
|
|
2851
|
+
/**
|
|
2852
|
+
* Resource properties.
|
|
2853
|
+
*/
|
|
2854
|
+
get properties(): Expression<RestorableDroppedDatabaseProperties>;
|
|
2855
|
+
/**
|
|
2856
|
+
* The name and tier of the SKU.
|
|
2857
|
+
*/
|
|
2858
|
+
get sku(): Expression<Sku>;
|
|
2859
|
+
/**
|
|
2860
|
+
* Resource tags.
|
|
2861
|
+
*/
|
|
2862
|
+
get tags(): Expression<Record<string, string>>;
|
|
2863
|
+
}
|
|
2864
|
+
export interface ServerSecurityAlertPolicyProps {
|
|
2865
|
+
/**
|
|
2866
|
+
* The name of the security alert policy.
|
|
2867
|
+
*/
|
|
2868
|
+
name?: ExpressionOrValue<SecurityAlertPolicyName> | undefined;
|
|
2869
|
+
/**
|
|
2870
|
+
* Resource properties.
|
|
2871
|
+
*/
|
|
2872
|
+
properties?: SecurityAlertsPolicyPropertiesInput | undefined;
|
|
2873
|
+
}
|
|
2874
|
+
/**
|
|
2875
|
+
* A server security alert policy.
|
|
2876
|
+
*/
|
|
2877
|
+
export declare class ServerSecurityAlertPolicy extends Resource<"Microsoft.Sql/servers/securityAlertPolicies"> {
|
|
2878
|
+
static resourceType: "Microsoft.Sql/servers/securityAlertPolicies";
|
|
2879
|
+
static apiVersion: string;
|
|
2880
|
+
protected static namingRules: ResourceNamingRules;
|
|
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
|
+
protected static buildResourceProps(props?: (ServerSecurityAlertPolicyProps & {
|
|
2888
|
+
existing?: false;
|
|
2889
|
+
}) | (ExistingResourceProps & {
|
|
2890
|
+
existing: true;
|
|
2891
|
+
})): ResourceProps<"Microsoft.Sql/servers/securityAlertPolicies"> & Record<string, unknown>;
|
|
2892
|
+
constructor(context: Server, props?: (ServerSecurityAlertPolicyProps & {
|
|
2893
|
+
existing?: false;
|
|
2894
|
+
}) | (ExistingResourceProps & {
|
|
2895
|
+
existing: true;
|
|
2896
|
+
}), options?: ResourceOptions);
|
|
2897
|
+
/**
|
|
2898
|
+
* The name of the security alert policy.
|
|
2899
|
+
*/
|
|
2900
|
+
get name(): Expression<SecurityAlertPolicyName>;
|
|
2901
|
+
set name(value: ExpressionOrValue<SecurityAlertPolicyName>);
|
|
2902
|
+
/**
|
|
2903
|
+
* Resource properties.
|
|
2904
|
+
*/
|
|
2905
|
+
get properties(): SecurityAlertsPolicyPropertiesView;
|
|
2906
|
+
set properties(value: SecurityAlertsPolicyPropertiesInput | undefined);
|
|
2907
|
+
}
|
|
2908
|
+
export interface SqlServerSqlVulnerabilityAssessmentProps {
|
|
2909
|
+
/**
|
|
2910
|
+
* The name of the SQL Vulnerability Assessment.
|
|
2911
|
+
*/
|
|
2912
|
+
name?: ExpressionOrValue<VulnerabilityAssessmentName> | undefined;
|
|
2913
|
+
/**
|
|
2914
|
+
* Resource properties.
|
|
2915
|
+
*/
|
|
2916
|
+
properties?: SqlVulnerabilityAssessmentPolicyPropertiesInput | undefined;
|
|
2917
|
+
}
|
|
2918
|
+
/**
|
|
2919
|
+
* A SQL Vulnerability Assessment.
|
|
2920
|
+
*/
|
|
2921
|
+
export declare class SqlServerSqlVulnerabilityAssessment extends Resource<"Microsoft.Sql/servers/sqlVulnerabilityAssessments"> {
|
|
2922
|
+
static resourceType: "Microsoft.Sql/servers/sqlVulnerabilityAssessments";
|
|
2923
|
+
static apiVersion: string;
|
|
2924
|
+
protected static namingRules: ResourceNamingRules;
|
|
2925
|
+
/**
|
|
2926
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2927
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2928
|
+
*
|
|
2929
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2930
|
+
*/
|
|
2931
|
+
protected static buildResourceProps(props?: (SqlServerSqlVulnerabilityAssessmentProps & {
|
|
2932
|
+
existing?: false;
|
|
2933
|
+
}) | (ExistingResourceProps & {
|
|
2934
|
+
existing: true;
|
|
2935
|
+
})): ResourceProps<"Microsoft.Sql/servers/sqlVulnerabilityAssessments"> & Record<string, unknown>;
|
|
2936
|
+
constructor(context: Server, props?: (SqlServerSqlVulnerabilityAssessmentProps & {
|
|
2937
|
+
existing?: false;
|
|
2938
|
+
}) | (ExistingResourceProps & {
|
|
2939
|
+
existing: true;
|
|
2940
|
+
}), options?: ResourceOptions);
|
|
2941
|
+
/**
|
|
2942
|
+
* The name of the SQL Vulnerability Assessment.
|
|
2943
|
+
*/
|
|
2944
|
+
get name(): Expression<VulnerabilityAssessmentName>;
|
|
2945
|
+
set name(value: ExpressionOrValue<VulnerabilityAssessmentName>);
|
|
2946
|
+
/**
|
|
2947
|
+
* Resource properties.
|
|
2948
|
+
*/
|
|
2949
|
+
get properties(): SqlVulnerabilityAssessmentPolicyPropertiesView;
|
|
2950
|
+
set properties(value: SqlVulnerabilityAssessmentPolicyPropertiesInput | undefined);
|
|
2951
|
+
}
|
|
2952
|
+
export interface SyncAgentProps {
|
|
2953
|
+
/**
|
|
2954
|
+
* The name of the sync agent.
|
|
2955
|
+
*/
|
|
2956
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
2957
|
+
/**
|
|
2958
|
+
* Resource properties.
|
|
2959
|
+
*/
|
|
2960
|
+
properties?: SyncAgentPropertiesInput | undefined;
|
|
2961
|
+
}
|
|
2962
|
+
/**
|
|
2963
|
+
* An Azure SQL Database sync agent.
|
|
2964
|
+
*/
|
|
2965
|
+
export declare class SyncAgent extends Resource<"Microsoft.Sql/servers/syncAgents"> {
|
|
2966
|
+
static resourceType: "Microsoft.Sql/servers/syncAgents";
|
|
2967
|
+
static apiVersion: string;
|
|
2968
|
+
protected static namingRules: ResourceNamingRules;
|
|
2969
|
+
/**
|
|
2970
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
2971
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
2972
|
+
*
|
|
2973
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
2974
|
+
*/
|
|
2975
|
+
protected static buildResourceProps(props?: (SyncAgentProps & {
|
|
2976
|
+
existing?: false;
|
|
2977
|
+
}) | (ExistingResourceProps & {
|
|
2978
|
+
existing: true;
|
|
2979
|
+
})): ResourceProps<"Microsoft.Sql/servers/syncAgents"> & Record<string, unknown>;
|
|
2980
|
+
constructor(context: Server, props?: (SyncAgentProps & {
|
|
2981
|
+
existing?: false;
|
|
2982
|
+
}) | (ExistingResourceProps & {
|
|
2983
|
+
existing: true;
|
|
2984
|
+
}), options?: ResourceOptions);
|
|
2985
|
+
/**
|
|
2986
|
+
* The name of the sync agent.
|
|
2987
|
+
*/
|
|
2988
|
+
get name(): Expression<string>;
|
|
2989
|
+
set name(value: ExpressionOrValue<string>);
|
|
2990
|
+
/**
|
|
2991
|
+
* Resource properties.
|
|
2992
|
+
*/
|
|
2993
|
+
get properties(): SyncAgentPropertiesView;
|
|
2994
|
+
set properties(value: SyncAgentPropertiesInput | undefined);
|
|
2995
|
+
}
|
|
2996
|
+
export interface VirtualNetworkRuleProps {
|
|
2997
|
+
/**
|
|
2998
|
+
* The name of the virtual network rule.
|
|
2999
|
+
*/
|
|
3000
|
+
name?: ExpressionOrValue<string> | undefined;
|
|
3001
|
+
/**
|
|
3002
|
+
* Resource properties.
|
|
3003
|
+
*/
|
|
3004
|
+
properties?: VirtualNetworkRulePropertiesInput | undefined;
|
|
3005
|
+
}
|
|
3006
|
+
/**
|
|
3007
|
+
* A virtual network rule.
|
|
3008
|
+
*/
|
|
3009
|
+
export declare class VirtualNetworkRule extends Resource<"Microsoft.Sql/servers/virtualNetworkRules"> {
|
|
3010
|
+
static resourceType: "Microsoft.Sql/servers/virtualNetworkRules";
|
|
3011
|
+
static apiVersion: string;
|
|
3012
|
+
protected static namingRules: ResourceNamingRules;
|
|
3013
|
+
/**
|
|
3014
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3015
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3016
|
+
*
|
|
3017
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3018
|
+
*/
|
|
3019
|
+
protected static buildResourceProps(props?: (VirtualNetworkRuleProps & {
|
|
3020
|
+
existing?: false;
|
|
3021
|
+
}) | (ExistingResourceProps & {
|
|
3022
|
+
existing: true;
|
|
3023
|
+
})): ResourceProps<"Microsoft.Sql/servers/virtualNetworkRules"> & Record<string, unknown>;
|
|
3024
|
+
constructor(context: Server, props?: (VirtualNetworkRuleProps & {
|
|
3025
|
+
existing?: false;
|
|
3026
|
+
}) | (ExistingResourceProps & {
|
|
3027
|
+
existing: true;
|
|
3028
|
+
}), options?: ResourceOptions);
|
|
3029
|
+
/**
|
|
3030
|
+
* The name of the virtual network rule.
|
|
3031
|
+
*/
|
|
3032
|
+
get name(): Expression<string>;
|
|
3033
|
+
set name(value: ExpressionOrValue<string>);
|
|
3034
|
+
/**
|
|
3035
|
+
* Resource properties.
|
|
3036
|
+
*/
|
|
3037
|
+
get properties(): VirtualNetworkRulePropertiesView;
|
|
3038
|
+
set properties(value: VirtualNetworkRulePropertiesInput | undefined);
|
|
3039
|
+
}
|
|
3040
|
+
export interface ServerVulnerabilityAssessmentProps {
|
|
3041
|
+
/**
|
|
3042
|
+
* The name of the vulnerability assessment.
|
|
3043
|
+
*/
|
|
3044
|
+
name?: ExpressionOrValue<VulnerabilityAssessmentName> | undefined;
|
|
3045
|
+
/**
|
|
3046
|
+
* Resource properties.
|
|
3047
|
+
*/
|
|
3048
|
+
properties?: ServerVulnerabilityAssessmentPropertiesInput | undefined;
|
|
3049
|
+
}
|
|
3050
|
+
/**
|
|
3051
|
+
* A server vulnerability assessment.
|
|
3052
|
+
*/
|
|
3053
|
+
export declare class ServerVulnerabilityAssessment extends Resource<"Microsoft.Sql/servers/vulnerabilityAssessments"> {
|
|
3054
|
+
static resourceType: "Microsoft.Sql/servers/vulnerabilityAssessments";
|
|
3055
|
+
static apiVersion: string;
|
|
3056
|
+
protected static namingRules: ResourceNamingRules;
|
|
3057
|
+
/**
|
|
3058
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3059
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3060
|
+
*
|
|
3061
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3062
|
+
*/
|
|
3063
|
+
protected static buildResourceProps(props?: (ServerVulnerabilityAssessmentProps & {
|
|
3064
|
+
existing?: false;
|
|
3065
|
+
}) | (ExistingResourceProps & {
|
|
3066
|
+
existing: true;
|
|
3067
|
+
})): ResourceProps<"Microsoft.Sql/servers/vulnerabilityAssessments"> & Record<string, unknown>;
|
|
3068
|
+
constructor(context: Server, props?: (ServerVulnerabilityAssessmentProps & {
|
|
3069
|
+
existing?: false;
|
|
3070
|
+
}) | (ExistingResourceProps & {
|
|
3071
|
+
existing: true;
|
|
3072
|
+
}), options?: ResourceOptions);
|
|
3073
|
+
/**
|
|
3074
|
+
* The name of the vulnerability assessment.
|
|
3075
|
+
*/
|
|
3076
|
+
get name(): Expression<VulnerabilityAssessmentName>;
|
|
3077
|
+
set name(value: ExpressionOrValue<VulnerabilityAssessmentName>);
|
|
3078
|
+
/**
|
|
3079
|
+
* Resource properties.
|
|
3080
|
+
*/
|
|
3081
|
+
get properties(): ServerVulnerabilityAssessmentPropertiesView;
|
|
3082
|
+
set properties(value: ServerVulnerabilityAssessmentPropertiesInput | undefined);
|
|
3083
|
+
}
|
|
3084
|
+
/**
|
|
3085
|
+
* An Azure SQL Database server.
|
|
3086
|
+
*/
|
|
3087
|
+
export declare class Server extends Resource<"Microsoft.Sql/servers"> {
|
|
3088
|
+
static resourceType: "Microsoft.Sql/servers";
|
|
3089
|
+
static apiVersion: string;
|
|
3090
|
+
protected static namingRules: ResourceNamingRules;
|
|
3091
|
+
/**
|
|
3092
|
+
* Assemble the base `Resource` constructor payload. Preserve supplied properties while applying
|
|
3093
|
+
* resource metadata. Shared by ordinary construction and internal resource reconstruction.
|
|
3094
|
+
*
|
|
3095
|
+
* @param props - Resource properties to normalize for the base constructor.
|
|
3096
|
+
*/
|
|
3097
|
+
protected static buildResourceProps(props?: (ServerProps & {
|
|
3098
|
+
existing?: false;
|
|
3099
|
+
}) | (ExistingResourceProps & {
|
|
3100
|
+
existing: true;
|
|
3101
|
+
})): ResourceProps<"Microsoft.Sql/servers"> & Record<string, unknown>;
|
|
3102
|
+
constructor(context: ProvisioningComponent, props?: (ServerProps & {
|
|
3103
|
+
existing?: false;
|
|
3104
|
+
}) | (ExistingResourceProps & {
|
|
3105
|
+
existing: true;
|
|
3106
|
+
}), options?: ResourceOptions);
|
|
3107
|
+
/**
|
|
3108
|
+
* The Azure Active Directory identity of the server.
|
|
3109
|
+
*/
|
|
3110
|
+
get identity(): ResourceIdentityView;
|
|
3111
|
+
set identity(value: ResourceIdentityInput | undefined);
|
|
3112
|
+
/**
|
|
3113
|
+
* Kind of sql server. This is metadata used for the Azure portal experience.
|
|
3114
|
+
*/
|
|
3115
|
+
get kind(): Expression<string>;
|
|
3116
|
+
/**
|
|
3117
|
+
* The geo-location where the resource lives
|
|
3118
|
+
*/
|
|
3119
|
+
get location(): Expression<string>;
|
|
3120
|
+
set location(value: ExpressionOrValue<string>);
|
|
3121
|
+
/**
|
|
3122
|
+
* The name of the server.
|
|
3123
|
+
*/
|
|
3124
|
+
get name(): Expression<string>;
|
|
3125
|
+
set name(value: ExpressionOrValue<string>);
|
|
3126
|
+
/**
|
|
3127
|
+
* Resource properties.
|
|
3128
|
+
*/
|
|
3129
|
+
get properties(): ServerPropertiesView;
|
|
3130
|
+
set properties(value: ServerPropertiesInput | undefined);
|
|
3131
|
+
/**
|
|
3132
|
+
* Resource tags.
|
|
3133
|
+
*/
|
|
3134
|
+
get tags(): InputRecord<ExpressionOrValue<string>, Record<string, string>>;
|
|
3135
|
+
set tags(value: InputRecord<ExpressionOrValue<string>, Record<string, string>> | undefined);
|
|
3136
|
+
}
|
|
3137
|
+
//# sourceMappingURL=server.d.ts.map
|