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
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class DatabaseSecurityAlertPolicy extends models['ProxyResource'] {
* @member {string} [disabledAlerts] Specifies the semicolon-separated list
* of alerts that are disabled, or empty string to disable no alerts.
* Possible values: Sql_Injection; Sql_Injection_Vulnerability;
* Access_Anomaly; Usage_Anomaly.
* Access_Anomaly; Data_Exfiltration; Unsafe_Action.
* @member {string} [emailAddresses] Specifies the semicolon-separated list
* of e-mail addresses to which the alert is sent.
* @member {string} [emailAccountAdmins] Specifies that the alert is sent to
Expand Down
76 changes: 48 additions & 28 deletions lib/services/sqlManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export interface ServerConnectionPolicy extends ProxyResource {
* @member {string} [disabledAlerts] Specifies the semicolon-separated list of
* alerts that are disabled, or empty string to disable no alerts. Possible
* values: Sql_Injection; Sql_Injection_Vulnerability; Access_Anomaly;
* Usage_Anomaly.
* Data_Exfiltration; Unsafe_Action.
* @member {string} [emailAddresses] Specifies the semicolon-separated list of
* e-mail addresses to which the alert is sent.
* @member {string} [emailAccountAdmins] Specifies that the alert is sent to
Expand Down Expand Up @@ -1342,6 +1342,10 @@ export interface Sku {
* 'LicenseIncluded' and 'BasePrice'.
* @member {number} [vCores] The number of VCores.
* @member {number} [storageSizeInGB] The maximum storage size in GB.
* @member {string} [collation] Collation of the managed instance.
* @member {string} [dnsZone] The Dns Zone that the managed instance is in.
* @member {string} [dnsZonePartner] The resource id of another managed
* instance whose DNS zone this managed instance will share after creation.
*/
export interface ManagedInstance extends TrackedResource {
identity?: ResourceIdentity;
Expand All @@ -1354,6 +1358,9 @@ export interface ManagedInstance extends TrackedResource {
licenseType?: string;
vCores?: number;
storageSizeInGB?: number;
readonly collation?: string;
readonly dnsZone?: string;
dnsZonePartner?: string;
}

/**
Expand Down Expand Up @@ -1388,6 +1395,10 @@ export interface ManagedInstance extends TrackedResource {
* 'LicenseIncluded' and 'BasePrice'.
* @member {number} [vCores] The number of VCores.
* @member {number} [storageSizeInGB] The maximum storage size in GB.
* @member {string} [collation] Collation of the managed instance.
* @member {string} [dnsZone] The Dns Zone that the managed instance is in.
* @member {string} [dnsZonePartner] The resource id of another managed
* instance whose DNS zone this managed instance will share after creation.
* @member {object} [tags] Resource tags.
*/
export interface ManagedInstanceUpdate {
Expand All @@ -1400,6 +1411,9 @@ export interface ManagedInstanceUpdate {
licenseType?: string;
vCores?: number;
storageSizeInGB?: number;
readonly collation?: string;
readonly dnsZone?: string;
dnsZonePartner?: string;
tags?: { [propertyName: string]: string };
}

Expand Down Expand Up @@ -2867,20 +2881,6 @@ export interface ManagedDatabaseUpdate {
tags?: { [propertyName: string]: string };
}

/**
* @class
* Initializes a new instance of the SensitivityLabel class.
* @constructor
* A sensitivity label.
*
* @member {string} [labelName] The label name.
* @member {string} [informationType] The information type.
*/
export interface SensitivityLabel extends ProxyResource {
labelName?: string;
informationType?: string;
}

/**
* @class
* Initializes a new instance of the AutomaticTuningServerOptions class.
Expand Down Expand Up @@ -2957,7 +2957,7 @@ export interface ServerDnsAliasAcquisition {
* enabled or disabled. Possible values include: 'New', 'Enabled', 'Disabled'
* @member {array} [disabledAlerts] Specifies an array of alerts that are
* disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability,
* Access_Anomaly
* Access_Anomaly, Data_Exfiltration, Unsafe_Action
* @member {array} [emailAddresses] Specifies an array of e-mail addresses to
* which the alert is sent.
* @member {boolean} [emailAccountAdmins] Specifies that the alert is sent to
Expand Down Expand Up @@ -4202,6 +4202,26 @@ export interface ManagedInstanceEncryptionProtector extends ProxyResource {
readonly thumbprint?: string;
}

/**
* @class
* Initializes a new instance of the InterfaceEndpointProfile class.
* @constructor
* A interface endpoint profile resource.
*
* @member {string} virtualNetworkSubnetId The ARM resource id of the virtual
* network subnet.
* @member {string} [privateIp] The Private ip associated with the interface
* endpoint profile
* @member {string} [state] State of the interface endpoint profile. Possible
* values include: 'Initializing', 'InProgress', 'Ready', 'Failed', 'Deleting',
* 'Unknown'
*/
export interface InterfaceEndpointProfile extends ProxyResource {
virtualNetworkSubnetId: string;
readonly privateIp?: string;
readonly state?: string;
}


/**
* @class
Expand Down Expand Up @@ -4706,18 +4726,6 @@ export interface ManagedDatabaseListResult extends Array<ManagedDatabase> {
readonly nextLink?: string;
}

/**
* @class
* Initializes a new instance of the SensitivityLabelListResult class.
* @constructor
* A list of sensitivity labels.
*
* @member {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 ServerDnsAliasListResult class.
Expand Down Expand Up @@ -4825,3 +4833,15 @@ export interface ManagedInstanceKeyListResult extends Array<ManagedInstanceKey>
export interface ManagedInstanceEncryptionProtectorListResult extends Array<ManagedInstanceEncryptionProtector> {
readonly nextLink?: string;
}

/**
* @class
* Initializes a new instance of the InterfaceEndpointProfilesListResult class.
* @constructor
* A list of interface endpoint profiles.
*
* @member {string} [nextLink] Link to retrieve next page of results.
*/
export interface InterfaceEndpointProfilesListResult extends Array<InterfaceEndpointProfile> {
readonly nextLink?: string;
}
4 changes: 2 additions & 2 deletions lib/services/sqlManagement2/lib/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ exports.BackupLongTermRetentionPolicy = require('./backupLongTermRetentionPolicy
exports.CompleteDatabaseRestoreDefinition = require('./completeDatabaseRestoreDefinition');
exports.ManagedDatabase = require('./managedDatabase');
exports.ManagedDatabaseUpdate = require('./managedDatabaseUpdate');
exports.SensitivityLabel = require('./sensitivityLabel');
exports.AutomaticTuningServerOptions = require('./automaticTuningServerOptions');
exports.ServerAutomaticTuning = require('./serverAutomaticTuning');
exports.ServerDnsAlias = require('./serverDnsAlias');
Expand Down Expand Up @@ -160,6 +159,7 @@ exports.BackupShortTermRetentionPolicy = require('./backupShortTermRetentionPoli
exports.TdeCertificate = require('./tdeCertificate');
exports.ManagedInstanceKey = require('./managedInstanceKey');
exports.ManagedInstanceEncryptionProtector = require('./managedInstanceEncryptionProtector');
exports.InterfaceEndpointProfile = require('./interfaceEndpointProfile');
exports.RecoverableDatabaseListResult = require('./recoverableDatabaseListResult');
exports.RestorableDroppedDatabaseListResult = require('./restorableDroppedDatabaseListResult');
exports.ServerListResult = require('./serverListResult');
Expand Down Expand Up @@ -205,7 +205,6 @@ exports.JobTargetGroupListResult = require('./jobTargetGroupListResult');
exports.JobVersionListResult = require('./jobVersionListResult');
exports.LongTermRetentionBackupListResult = require('./longTermRetentionBackupListResult');
exports.ManagedDatabaseListResult = require('./managedDatabaseListResult');
exports.SensitivityLabelListResult = require('./sensitivityLabelListResult');
exports.ServerDnsAliasListResult = require('./serverDnsAliasListResult');
exports.RestorePointListResult = require('./restorePointListResult');
exports.DatabaseOperationListResult = require('./databaseOperationListResult');
Expand All @@ -215,3 +214,4 @@ exports.InstanceFailoverGroupListResult = require('./instanceFailoverGroupListRe
exports.BackupShortTermRetentionPolicyListResult = require('./backupShortTermRetentionPolicyListResult');
exports.ManagedInstanceKeyListResult = require('./managedInstanceKeyListResult');
exports.ManagedInstanceEncryptionProtectorListResult = require('./managedInstanceEncryptionProtectorListResult');
exports.InterfaceEndpointProfilesListResult = require('./interfaceEndpointProfilesListResult');
102 changes: 102 additions & 0 deletions lib/services/sqlManagement2/lib/models/interfaceEndpointProfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

const models = require('./index');

/**
* A interface endpoint profile resource.
*
* @extends models['ProxyResource']
*/
class InterfaceEndpointProfile extends models['ProxyResource'] {
/**
* Create a InterfaceEndpointProfile.
* @member {string} virtualNetworkSubnetId The ARM resource id of the virtual
* network subnet.
* @member {string} [privateIp] The Private ip associated with the interface
* endpoint profile
* @member {string} [state] State of the interface endpoint profile. Possible
* values include: 'Initializing', 'InProgress', 'Ready', 'Failed',
* 'Deleting', 'Unknown'
*/
constructor() {
super();
}

/**
* Defines the metadata of InterfaceEndpointProfile
*
* @returns {object} metadata of InterfaceEndpointProfile
*
*/
mapper() {
return {
required: false,
serializedName: 'InterfaceEndpointProfile',
type: {
name: 'Composite',
className: 'InterfaceEndpointProfile',
modelProperties: {
id: {
required: false,
readOnly: true,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
type: {
required: false,
readOnly: true,
serializedName: 'type',
type: {
name: 'String'
}
},
virtualNetworkSubnetId: {
required: true,
serializedName: 'properties.virtualNetworkSubnetId',
type: {
name: 'String'
}
},
privateIp: {
required: false,
readOnly: true,
serializedName: 'properties.privateIp',
type: {
name: 'String'
}
},
state: {
required: false,
readOnly: true,
serializedName: 'properties.state',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = InterfaceEndpointProfile;
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* A list of interface endpoint profiles.
*/
class InterfaceEndpointProfilesListResult extends Array {
/**
* Create a InterfaceEndpointProfilesListResult.
* @member {string} [nextLink] Link to retrieve next page of results.
*/
constructor() {
super();
}

/**
* Defines the metadata of InterfaceEndpointProfilesListResult
*
* @returns {object} metadata of InterfaceEndpointProfilesListResult
*
*/
mapper() {
return {
required: false,
serializedName: 'InterfaceEndpointProfilesListResult',
type: {
name: 'Composite',
className: 'InterfaceEndpointProfilesListResult',
modelProperties: {
value: {
required: false,
readOnly: true,
serializedName: '',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'InterfaceEndpointProfileElementType',
type: {
name: 'Composite',
className: 'InterfaceEndpointProfile'
}
}
}
},
nextLink: {
required: false,
readOnly: true,
serializedName: 'nextLink',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = InterfaceEndpointProfilesListResult;
27 changes: 27 additions & 0 deletions lib/services/sqlManagement2/lib/models/managedInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ class ManagedInstance extends models['TrackedResource'] {
* 'LicenseIncluded' and 'BasePrice'.
* @member {number} [vCores] The number of VCores.
* @member {number} [storageSizeInGB] The maximum storage size in GB.
* @member {string} [collation] Collation of the managed instance.
* @member {string} [dnsZone] The Dns Zone that the managed instance is in.
* @member {string} [dnsZonePartner] The resource id of another managed
* instance whose DNS zone this managed instance will share after creation.
*/
constructor() {
super();
Expand Down Expand Up @@ -193,6 +197,29 @@ class ManagedInstance extends models['TrackedResource'] {
type: {
name: 'Number'
}
},
collation: {
required: false,
readOnly: true,
serializedName: 'properties.collation',
type: {
name: 'String'
}
},
dnsZone: {
required: false,
readOnly: true,
serializedName: 'properties.dnsZone',
type: {
name: 'String'
}
},
dnsZonePartner: {
required: false,
serializedName: 'properties.dnsZonePartner',
type: {
name: 'String'
}
}
}
}
Expand Down
Loading