Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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
5 changes: 5 additions & 0 deletions lib/services/trafficManagerManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,13 +364,18 @@ 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;
trafficRoutingMethod?: string;
dnsConfig?: DnsConfig;
monitorConfig?: MonitorConfig;
endpoints?: Endpoint[];
trafficViewEnrollmentStatus?: string;
}

/**
Expand Down
11 changes: 11 additions & 0 deletions lib/services/trafficManagerManagement2/lib/models/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -169,6 +173,13 @@ class Profile extends models['TrackedResource'] {
}
}
}
},
trafficViewEnrollmentStatus: {
required: false,
serializedName: 'properties.trafficViewEnrollmentStatus',
type: {
name: 'String'
}
}
}
}
Expand Down
20 changes: 20 additions & 0 deletions lib/services/trafficManagerManagement2/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions lib/services/trafficManagerManagement2/lib/operations/profiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions lib/services/trafficManagerManagement2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down