Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions lib/services/sqlManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,9 @@ export interface Sku {
* @property {string} [dnsZone] The Dns Zone that the managed instance is in.
* @property {string} [dnsZonePartner] The resource id of another managed
* instance whose DNS zone this managed instance will share after creation.
* @property {boolean} [publicDataEndpointEnabled] Whether or not the public
* data endpoint is enabled.
* @property {string} [proxyOverride] Proxy override of the managed instance.
*/
export interface ManagedInstance extends TrackedResource {
identity?: ResourceIdentity;
Expand All @@ -1377,6 +1380,8 @@ export interface ManagedInstance extends TrackedResource {
collation?: string;
readonly dnsZone?: string;
dnsZonePartner?: string;
publicDataEndpointEnabled?: boolean;
proxyOverride?: string;
}

/**
Expand Down Expand Up @@ -1415,6 +1420,9 @@ export interface ManagedInstance extends TrackedResource {
* @property {string} [dnsZone] The Dns Zone that the managed instance is in.
* @property {string} [dnsZonePartner] The resource id of another managed
* instance whose DNS zone this managed instance will share after creation.
* @property {boolean} [publicDataEndpointEnabled] Whether or not the public
* data endpoint is enabled.
* @property {string} [proxyOverride] Proxy override of the managed instance.
* @property {object} [tags] Resource tags.
*/
export interface ManagedInstanceUpdate {
Expand All @@ -1430,6 +1438,8 @@ export interface ManagedInstanceUpdate {
collation?: string;
readonly dnsZone?: string;
dnsZonePartner?: string;
publicDataEndpointEnabled?: boolean;
proxyOverride?: string;
tags?: { [propertyName: string]: string };
}

Expand Down Expand Up @@ -3247,6 +3257,28 @@ export interface ManagedServerSecurityAlertPolicy extends ProxyResource {
readonly creationTime?: Date;
}

/**
* @class
* Initializes a new instance of the SensitivityLabel class.
* @constructor
* A sensitivity label.
*
* @property {string} [labelName] The label name.
* @property {string} [labelId] The label ID.
* @property {string} [informationType] The information type.
* @property {string} [informationTypeId] The information type ID.
* @property {boolean} [isDisabled] Is sensitivity recommendation disabled.
* Applicable for recommended sensitivity label only. Specifies whether the
* sensitivity recommendation on this column is disabled (dismissed) or not.
*/
export interface SensitivityLabel extends ProxyResource {
labelName?: string;
labelId?: string;
informationType?: string;
informationTypeId?: string;
readonly isDisabled?: boolean;
}

/**
* @class
* Initializes a new instance of the DatabaseOperation class.
Expand Down Expand Up @@ -5094,6 +5126,18 @@ export interface RestorePointListResult extends Array<RestorePoint> {
readonly nextLink?: string;
}

/**
* @class
* Initializes a new instance of the SensitivityLabelListResult class.
* @constructor
* A list of sensitivity labels.
*
* @property {string} [nextLink] Link to retrieve next page of results.
*/
export interface SensitivityLabelListResult extends Array<SensitivityLabel> {
readonly nextLink?: string;
}

/**
* @class
* Initializes a new instance of the DatabaseOperationListResult class.
Expand Down
2 changes: 2 additions & 0 deletions lib/services/sqlManagement2/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ exports.RestorePoint = require('./restorePoint');
exports.CreateDatabaseRestorePointDefinition = require('./createDatabaseRestorePointDefinition');
exports.ManagedDatabaseSecurityAlertPolicy = require('./managedDatabaseSecurityAlertPolicy');
exports.ManagedServerSecurityAlertPolicy = require('./managedServerSecurityAlertPolicy');
exports.SensitivityLabel = require('./sensitivityLabel');
exports.DatabaseOperation = require('./databaseOperation');
exports.ElasticPoolOperation = require('./elasticPoolOperation');
exports.MaxSizeCapability = require('./maxSizeCapability');
Expand Down Expand Up @@ -216,6 +217,7 @@ exports.ManagedDatabaseListResult = require('./managedDatabaseListResult');
exports.ServerDnsAliasListResult = require('./serverDnsAliasListResult');
exports.RestorableDroppedManagedDatabaseListResult = require('./restorableDroppedManagedDatabaseListResult');
exports.RestorePointListResult = require('./restorePointListResult');
exports.SensitivityLabelListResult = require('./sensitivityLabelListResult');
exports.DatabaseOperationListResult = require('./databaseOperationListResult');
exports.ElasticPoolOperationListResult = require('./elasticPoolOperationListResult');
exports.VulnerabilityAssessmentScanRecordListResult = require('./vulnerabilityAssessmentScanRecordListResult');
Expand Down
17 changes: 17 additions & 0 deletions lib/services/sqlManagement2/lib/models/managedInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ class ManagedInstance extends models['TrackedResource'] {
* @property {string} [dnsZone] The Dns Zone that the managed instance is in.
* @property {string} [dnsZonePartner] The resource id of another managed
* instance whose DNS zone this managed instance will share after creation.
* @property {boolean} [publicDataEndpointEnabled] Whether or not the public
* data endpoint is enabled.
* @property {string} [proxyOverride] Proxy override of the managed instance.
*/
constructor() {
super();
Expand Down Expand Up @@ -219,6 +222,20 @@ class ManagedInstance extends models['TrackedResource'] {
type: {
name: 'String'
}
},
publicDataEndpointEnabled: {
required: false,
serializedName: 'properties.publicDataEndpointEnabled',
type: {
name: 'Boolean'
}
},
proxyOverride: {
required: false,
serializedName: 'properties.proxyOverride',
type: {
name: 'String'
}
}
}
}
Expand Down
17 changes: 17 additions & 0 deletions lib/services/sqlManagement2/lib/models/managedInstanceUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ class ManagedInstanceUpdate {
* @property {string} [dnsZone] The Dns Zone that the managed instance is in.
* @property {string} [dnsZonePartner] The resource id of another managed
* instance whose DNS zone this managed instance will share after creation.
* @property {boolean} [publicDataEndpointEnabled] Whether or not the public
* data endpoint is enabled.
* @property {string} [proxyOverride] Proxy override of the managed instance.
* @property {object} [tags] Resource tags.
*/
constructor() {
Expand Down Expand Up @@ -155,6 +158,20 @@ class ManagedInstanceUpdate {
name: 'String'
}
},
publicDataEndpointEnabled: {
required: false,
serializedName: 'properties.publicDataEndpointEnabled',
type: {
name: 'Boolean'
}
},
proxyOverride: {
required: false,
serializedName: 'properties.proxyOverride',
type: {
name: 'String'
}
},
tags: {
required: false,
serializedName: 'tags',
Expand Down
11 changes: 11 additions & 0 deletions lib/services/sqlManagement2/lib/models/sensitivityLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ class SensitivityLabel extends models['ProxyResource'] {
* @property {string} [labelId] The label ID.
* @property {string} [informationType] The information type.
* @property {string} [informationTypeId] The information type ID.
* @property {boolean} [isDisabled] Is sensitivity recommendation disabled.
* Applicable for recommended sensitivity label only. Specifies whether the
* sensitivity recommendation on this column is disabled (dismissed) or not.
*/
constructor() {
super();
Expand Down Expand Up @@ -94,6 +97,14 @@ class SensitivityLabel extends models['ProxyResource'] {
type: {
name: 'String'
}
},
isDisabled: {
required: false,
readOnly: true,
serializedName: 'properties.isDisabled',
type: {
name: 'Boolean'
}
}
}
}
Expand Down
Loading