Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR sql/resource-manager] Update managedInstances.json #4606

Merged
merged 1 commit into from
Jan 30, 2019
Merged
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
10 changes: 10 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
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
Loading