diff --git a/lib/services/trafficManagerManagement2/lib/models/index.d.ts b/lib/services/trafficManagerManagement2/lib/models/index.d.ts index 23f039693a..7a474765ef 100644 --- a/lib/services/trafficManagerManagement2/lib/models/index.d.ts +++ b/lib/services/trafficManagerManagement2/lib/models/index.d.ts @@ -364,6 +364,10 @@ export interface TrackedResource extends Resource { * status code ranges. * @member {array} [endpoints] The list of endpoints in the Traffic Manager * profile. + * @member {string} [trafficViewEnrollmentStatus] Indicates whether Traffic + * View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, + * indicates 'Disabled'. Enabling this feature will increase the cost of the + * Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' */ export interface Profile extends TrackedResource { profileStatus?: string; @@ -371,6 +375,7 @@ export interface Profile extends TrackedResource { dnsConfig?: DnsConfig; monitorConfig?: MonitorConfig; endpoints?: Endpoint[]; + trafficViewEnrollmentStatus?: string; } /** diff --git a/lib/services/trafficManagerManagement2/lib/models/profile.js b/lib/services/trafficManagerManagement2/lib/models/profile.js index cd787239ed..b08210d519 100644 --- a/lib/services/trafficManagerManagement2/lib/models/profile.js +++ b/lib/services/trafficManagerManagement2/lib/models/profile.js @@ -64,6 +64,10 @@ class Profile extends models['TrackedResource'] { * status code ranges. * @member {array} [endpoints] The list of endpoints in the Traffic Manager * profile. + * @member {string} [trafficViewEnrollmentStatus] Indicates whether Traffic + * View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, + * indicates 'Disabled'. Enabling this feature will increase the cost of the + * Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' */ constructor() { super(); @@ -169,6 +173,13 @@ class Profile extends models['TrackedResource'] { } } } + }, + trafficViewEnrollmentStatus: { + required: false, + serializedName: 'properties.trafficViewEnrollmentStatus', + type: { + name: 'String' + } } } } diff --git a/lib/services/trafficManagerManagement2/lib/operations/index.d.ts b/lib/services/trafficManagerManagement2/lib/operations/index.d.ts index cd672639e8..071ecab4c3 100644 --- a/lib/services/trafficManagerManagement2/lib/operations/index.d.ts +++ b/lib/services/trafficManagerManagement2/lib/operations/index.d.ts @@ -795,6 +795,11 @@ export interface Profiles { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource @@ -883,6 +888,11 @@ export interface Profiles { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource @@ -1053,6 +1063,11 @@ export interface Profiles { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource @@ -1141,6 +1156,11 @@ export interface Profiles { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource diff --git a/lib/services/trafficManagerManagement2/lib/operations/profiles.js b/lib/services/trafficManagerManagement2/lib/operations/profiles.js index ec6cf44b75..418c3e33e7 100644 --- a/lib/services/trafficManagerManagement2/lib/operations/profiles.js +++ b/lib/services/trafficManagerManagement2/lib/operations/profiles.js @@ -657,6 +657,11 @@ function _get(resourceGroupName, profileName, options, callback) { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource @@ -1051,6 +1056,11 @@ function _deleteMethod(resourceGroupName, profileName, options, callback) { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource @@ -1641,6 +1651,11 @@ class Profiles { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource @@ -1741,6 +1756,11 @@ class Profiles { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource @@ -1953,6 +1973,11 @@ class Profiles { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource @@ -2053,6 +2078,11 @@ class Profiles { * @param {array} [parameters.endpoints] The list of endpoints in the Traffic * Manager profile. * + * @param {string} [parameters.trafficViewEnrollmentStatus] Indicates whether + * Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. + * Null, indicates 'Disabled'. Enabling this feature will increase the cost of + * the Traffic Manage profile. Possible values include: 'Enabled', 'Disabled' + * * @param {object} [parameters.tags] Resource tags. * * @param {string} [parameters.location] The Azure Region where the resource diff --git a/lib/services/trafficManagerManagement2/package.json b/lib/services/trafficManagerManagement2/package.json index 095cb2281f..922451a536 100644 --- a/lib/services/trafficManagerManagement2/package.json +++ b/lib/services/trafficManagerManagement2/package.json @@ -4,10 +4,13 @@ "description": "TrafficManagerManagementClient Library with typescript type definitions for node", "version": "2.0.0-preview", "dependencies": { - "ms-rest": "^2.3.2", + "ms-rest": "^2.3.3", "ms-rest-azure": "^2.5.5" }, - "keywords": [ "node", "azure" ], + "keywords": [ + "node", + "azure" + ], "license": "MIT", "main": "./lib/trafficManagerManagementClient.js", "types": "./lib/trafficManagerManagementClient.d.ts",