@azure/arm-trafficmanager 6.0.0-alpha.20220421.1 → 6.0.2-alpha.20220509.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -1
- package/README.md +11 -0
- package/dist/index.js +98 -43
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +128 -0
- package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/endpointsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/endpointsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointsDeleteSample.js +33 -0
- package/dist-esm/samples-dev/endpointsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/endpointsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/endpointsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointsGetSample.js +73 -0
- package/dist-esm/samples-dev/endpointsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/endpointsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/endpointsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/endpointsUpdateSample.js +39 -0
- package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.d.ts +2 -0
- package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.js +29 -0
- package/dist-esm/samples-dev/geographicHierarchiesGetDefaultSample.js.map +1 -0
- package/dist-esm/samples-dev/heatMapGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/heatMapGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/heatMapGetSample.js +70 -0
- package/dist-esm/samples-dev/heatMapGetSample.js.map +1 -0
- package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js +53 -0
- package/dist-esm/samples-dev/profilesCheckTrafficManagerRelativeDnsNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/profilesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/profilesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilesCreateOrUpdateSample.js +264 -0
- package/dist-esm/samples-dev/profilesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/profilesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/profilesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/profilesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/profilesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/profilesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilesGetSample.js +67 -0
- package/dist-esm/samples-dev/profilesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/profilesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/profilesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/profilesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/profilesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/profilesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilesListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/profilesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/profilesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/profilesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/profilesUpdateSample.js +45 -0
- package/dist-esm/samples-dev/profilesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.js +29 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.js +29 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.js +29 -0
- package/dist-esm/samples-dev/trafficManagerUserMetricsKeysGetSample.js.map +1 -0
- package/dist-esm/src/trafficManagerManagementClient.d.ts.map +1 -1
- package/dist-esm/src/trafficManagerManagementClient.js +20 -2
- package/dist-esm/src/trafficManagerManagementClient.js.map +1 -1
- package/package.json +10 -10
- package/rollup.config.js +6 -72
- package/src/trafficManagerManagementClient.ts +27 -2
- package/tsconfig.json +18 -5
- package/LICENSE.txt +0 -21
package/dist/index.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib");!function(e){e.Enabled="Enabled",e.Disabled="Disabled"}(exports.KnownEndpointStatus||(exports.KnownEndpointStatus={})),function(e){e.CheckingEndpoint="CheckingEndpoint",e.Online="Online",e.Degraded="Degraded",e.Disabled="Disabled",e.Inactive="Inactive",e.Stopped="Stopped"}(exports.KnownEndpointMonitorStatus||(exports.KnownEndpointMonitorStatus={})),function(e){e.Enabled="Enabled",e.Disabled="Disabled"}(exports.KnownProfileStatus||(exports.KnownProfileStatus={})),function(e){e.Performance="Performance",e.Priority="Priority",e.Weighted="Weighted",e.Geographic="Geographic",e.MultiValue="MultiValue",e.Subnet="Subnet"}(exports.KnownTrafficRoutingMethod||(exports.KnownTrafficRoutingMethod={})),function(e){e.CheckingEndpoints="CheckingEndpoints",e.Online="Online",e.Degraded="Degraded",e.Disabled="Disabled",e.Inactive="Inactive"}(exports.KnownProfileMonitorStatus||(exports.KnownProfileMonitorStatus={})),function(e){e.Http="HTTP",e.Https="HTTPS",e.TCP="TCP"}(exports.KnownMonitorProtocol||(exports.KnownMonitorProtocol={})),function(e){e.Enabled="Enabled",e.Disabled="Disabled"}(exports.KnownTrafficViewEnrollmentStatus||(exports.KnownTrafficViewEnrollmentStatus={})),function(e){e.DomainName="DomainName",e.IPv4Address="IPv4Address",e.IPv6Address="IPv6Address",e.Any="Any"}(exports.KnownAllowedEndpointRecordType||(exports.KnownAllowedEndpointRecordType={}));const EndpointPropertiesSubnetsItem={type:{name:"Composite",className:"EndpointPropertiesSubnetsItem",modelProperties:{first:{serializedName:"first",type:{name:"String"}},last:{serializedName:"last",type:{name:"String"}},scope:{serializedName:"scope",type:{name:"Number"}}}}},EndpointPropertiesCustomHeadersItem={type:{name:"Composite",className:"EndpointPropertiesCustomHeadersItem",modelProperties:{name:{serializedName:"name",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},CloudError={type:{name:"Composite",className:"CloudError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"CloudErrorBody"}}}}},CloudErrorBody={type:{name:"Composite",className:"CloudErrorBody",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},target:{serializedName:"target",type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"CloudErrorBody"}}}}}}},DeleteOperationResult={type:{name:"Composite",className:"DeleteOperationResult",modelProperties:{operationResult:{serializedName:"boolean",readOnly:!0,type:{name:"Boolean"}}}}},CheckTrafficManagerRelativeDnsNameAvailabilityParameters={type:{name:"Composite",className:"CheckTrafficManagerRelativeDnsNameAvailabilityParameters",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},TrafficManagerNameAvailability={type:{name:"Composite",className:"TrafficManagerNameAvailability",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}},nameAvailable:{serializedName:"nameAvailable",type:{name:"Boolean"}},reason:{serializedName:"reason",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},ProfileListResult={type:{name:"Composite",className:"ProfileListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Profile"}}}}}}},DnsConfig={type:{name:"Composite",className:"DnsConfig",modelProperties:{relativeName:{serializedName:"relativeName",type:{name:"String"}},fqdn:{serializedName:"fqdn",readOnly:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"Number"}}}}},MonitorConfig={type:{name:"Composite",className:"MonitorConfig",modelProperties:{profileMonitorStatus:{serializedName:"profileMonitorStatus",type:{name:"String"}},protocol:{serializedName:"protocol",type:{name:"String"}},port:{serializedName:"port",type:{name:"Number"}},path:{serializedName:"path",type:{name:"String"}},intervalInSeconds:{serializedName:"intervalInSeconds",type:{name:"Number"}},timeoutInSeconds:{serializedName:"timeoutInSeconds",type:{name:"Number"}},toleratedNumberOfFailures:{serializedName:"toleratedNumberOfFailures",type:{name:"Number"}},customHeaders:{serializedName:"customHeaders",type:{name:"Sequence",element:{type:{name:"Composite",className:"MonitorConfigCustomHeadersItem"}}}},expectedStatusCodeRanges:{serializedName:"expectedStatusCodeRanges",type:{name:"Sequence",element:{type:{name:"Composite",className:"MonitorConfigExpectedStatusCodeRangesItem"}}}}}}},MonitorConfigCustomHeadersItem={type:{name:"Composite",className:"MonitorConfigCustomHeadersItem",modelProperties:{name:{serializedName:"name",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},MonitorConfigExpectedStatusCodeRangesItem={type:{name:"Composite",className:"MonitorConfigExpectedStatusCodeRangesItem",modelProperties:{min:{serializedName:"min",type:{name:"Number"}},max:{serializedName:"max",type:{name:"Number"}}}}},Region={type:{name:"Composite",className:"Region",modelProperties:{code:{serializedName:"code",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},regions:{serializedName:"regions",type:{name:"Sequence",element:{type:{name:"Composite",className:"Region"}}}}}}},HeatMapEndpoint={type:{name:"Composite",className:"HeatMapEndpoint",modelProperties:{resourceId:{serializedName:"resourceId",type:{name:"String"}},endpointId:{serializedName:"endpointId",type:{name:"Number"}}}}},TrafficFlow={type:{name:"Composite",className:"TrafficFlow",modelProperties:{sourceIp:{serializedName:"sourceIp",type:{name:"String"}},latitude:{serializedName:"latitude",type:{name:"Number"}},longitude:{serializedName:"longitude",type:{name:"Number"}},queryExperiences:{serializedName:"queryExperiences",type:{name:"Sequence",element:{type:{name:"Composite",className:"QueryExperience"}}}}}}},QueryExperience={type:{name:"Composite",className:"QueryExperience",modelProperties:{endpointId:{serializedName:"endpointId",required:!0,type:{name:"Number"}},queryCount:{serializedName:"queryCount",required:!0,type:{name:"Number"}},latency:{serializedName:"latency",type:{name:"Number"}}}}},ProxyResource={type:{name:"Composite",className:"ProxyResource",modelProperties:Object.assign({},Resource.type.modelProperties)}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},location:{serializedName:"location",type:{name:"String"}}})}},Endpoint={type:{name:"Composite",className:"Endpoint",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{targetResourceId:{serializedName:"properties.targetResourceId",type:{name:"String"}},target:{serializedName:"properties.target",type:{name:"String"}},endpointStatus:{serializedName:"properties.endpointStatus",type:{name:"String"}},weight:{serializedName:"properties.weight",type:{name:"Number"}},priority:{serializedName:"properties.priority",type:{name:"Number"}},endpointLocation:{serializedName:"properties.endpointLocation",type:{name:"String"}},endpointMonitorStatus:{serializedName:"properties.endpointMonitorStatus",type:{name:"String"}},minChildEndpoints:{serializedName:"properties.minChildEndpoints",type:{name:"Number"}},minChildEndpointsIPv4:{serializedName:"properties.minChildEndpointsIPv4",type:{name:"Number"}},minChildEndpointsIPv6:{serializedName:"properties.minChildEndpointsIPv6",type:{name:"Number"}},geoMapping:{serializedName:"properties.geoMapping",type:{name:"Sequence",element:{type:{name:"String"}}}},subnets:{serializedName:"properties.subnets",type:{name:"Sequence",element:{type:{name:"Composite",className:"EndpointPropertiesSubnetsItem"}}}},customHeaders:{serializedName:"properties.customHeaders",type:{name:"Sequence",element:{type:{name:"Composite",className:"EndpointPropertiesCustomHeadersItem"}}}}})}},TrafficManagerGeographicHierarchy={type:{name:"Composite",className:"TrafficManagerGeographicHierarchy",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{geographicHierarchy:{serializedName:"properties.geographicHierarchy",type:{name:"Composite",className:"Region"}}})}},HeatMapModel={type:{name:"Composite",className:"HeatMapModel",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{startTime:{serializedName:"properties.startTime",type:{name:"DateTime"}},endTime:{serializedName:"properties.endTime",type:{name:"DateTime"}},endpoints:{serializedName:"properties.endpoints",type:{name:"Sequence",element:{type:{name:"Composite",className:"HeatMapEndpoint"}}}},trafficFlows:{serializedName:"properties.trafficFlows",type:{name:"Sequence",element:{type:{name:"Composite",className:"TrafficFlow"}}}}})}},UserMetricsModel={type:{name:"Composite",className:"UserMetricsModel",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{key:{serializedName:"properties.key",type:{name:"String"}}})}},Profile={type:{name:"Composite",className:"Profile",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{profileStatus:{serializedName:"properties.profileStatus",type:{name:"String"}},trafficRoutingMethod:{serializedName:"properties.trafficRoutingMethod",type:{name:"String"}},dnsConfig:{serializedName:"properties.dnsConfig",type:{name:"Composite",className:"DnsConfig"}},monitorConfig:{serializedName:"properties.monitorConfig",type:{name:"Composite",className:"MonitorConfig"}},endpoints:{serializedName:"properties.endpoints",type:{name:"Sequence",element:{type:{name:"Composite",className:"Endpoint"}}}},trafficViewEnrollmentStatus:{serializedName:"properties.trafficViewEnrollmentStatus",type:{name:"String"}},allowedEndpointRecordTypes:{serializedName:"properties.allowedEndpointRecordTypes",type:{name:"Sequence",element:{type:{name:"String"}}}},maxReturn:{serializedName:"properties.maxReturn",type:{name:"Number"}}})}};var Mappers=Object.freeze({__proto__:null,EndpointPropertiesSubnetsItem:EndpointPropertiesSubnetsItem,EndpointPropertiesCustomHeadersItem:EndpointPropertiesCustomHeadersItem,Resource:Resource,CloudError:CloudError,CloudErrorBody:CloudErrorBody,DeleteOperationResult:DeleteOperationResult,CheckTrafficManagerRelativeDnsNameAvailabilityParameters:CheckTrafficManagerRelativeDnsNameAvailabilityParameters,TrafficManagerNameAvailability:TrafficManagerNameAvailability,ProfileListResult:ProfileListResult,DnsConfig:DnsConfig,MonitorConfig:MonitorConfig,MonitorConfigCustomHeadersItem:MonitorConfigCustomHeadersItem,MonitorConfigExpectedStatusCodeRangesItem:MonitorConfigExpectedStatusCodeRangesItem,Region:Region,HeatMapEndpoint:HeatMapEndpoint,TrafficFlow:TrafficFlow,QueryExperience:QueryExperience,ProxyResource:ProxyResource,TrackedResource:TrackedResource,Endpoint:Endpoint,TrafficManagerGeographicHierarchy:TrafficManagerGeographicHierarchy,HeatMapModel:HeatMapModel,UserMetricsModel:UserMetricsModel,Profile:Profile});const contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:Endpoint},accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},resourceGroupName={parameterPath:"resourceGroupName",mapper:{serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},profileName={parameterPath:"profileName",mapper:{serializedName:"profileName",required:!0,type:{name:"String"}}},endpointType={parameterPath:"endpointType",mapper:{serializedName:"endpointType",required:!0,type:{name:"Enum",allowedValues:["AzureEndpoints","ExternalEndpoints","NestedEndpoints"]}}},endpointName={parameterPath:"endpointName",mapper:{serializedName:"endpointName",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2018-08-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},parameters1={parameterPath:"parameters",mapper:CheckTrafficManagerRelativeDnsNameAvailabilityParameters},parameters2={parameterPath:"parameters",mapper:Profile},heatMapType={parameterPath:"heatMapType",mapper:{defaultValue:"default",isConstant:!0,serializedName:"heatMapType",type:{name:"String"}}},topLeft={parameterPath:["options","topLeft"],mapper:{constraints:{MinItems:2,MaxItems:2},serializedName:"topLeft",type:{name:"Sequence",element:{type:{name:"Number"}}}},collectionFormat:"CSV"},botRight={parameterPath:["options","botRight"],mapper:{constraints:{MinItems:2,MaxItems:2},serializedName:"botRight",type:{name:"Sequence",element:{type:{name:"Number"}}}},collectionFormat:"CSV"};class EndpointsImpl{constructor(e){this.client=e}update(e,r,t,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,endpointType:t,endpointName:a,parameters:i,options:o},updateOperationSpec)}get(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,endpointType:t,endpointName:a,options:i},getOperationSpec)}createOrUpdate(e,r,t,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,endpointType:t,endpointName:a,parameters:i,options:o},createOrUpdateOperationSpec)}delete(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,endpointType:t,endpointName:a,options:i},deleteOperationSpec)}}const serializer=coreClient.createSerializer(Mappers,!1),updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Endpoint},default:{bodyMapper:CloudError}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,endpointType,endpointName,subscriptionId],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",httpMethod:"GET",responses:{200:{bodyMapper:Endpoint},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,endpointType,endpointName,subscriptionId],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",httpMethod:"PUT",responses:{200:{bodyMapper:Endpoint},201:{bodyMapper:Endpoint},default:{bodyMapper:CloudError}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,endpointType,endpointName,subscriptionId],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",httpMethod:"DELETE",responses:{200:{bodyMapper:DeleteOperationResult},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,endpointType,endpointName,subscriptionId],headerParameters:[accept],serializer:serializer};class ProfilesImpl{constructor(e){this.client=e}listByResourceGroup(e,r){const t=this.listByResourceGroupPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,r)}}listByResourceGroupPagingPage(r,t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(r,t));yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(o,s){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listByResourceGroupPagingPage(o,s));!(t=yield tslib.__await(a.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listBySubscription(e){const r=this.listBySubscriptionPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(r));yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listBySubscriptionPagingPage(o));!(t=yield tslib.__await(a.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}checkTrafficManagerRelativeDnsNameAvailability(e,r){return this.client.sendOperationRequest({parameters:e,options:r},checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec)}_listByResourceGroup(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listByResourceGroupOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,options:t},getOperationSpec$1)}createOrUpdate(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,parameters:t,options:a},createOrUpdateOperationSpec$1)}delete(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,options:t},deleteOperationSpec$1)}update(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,parameters:t,options:a},updateOperationSpec$1)}}const serializer$1=coreClient.createSerializer(Mappers,!1),checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec={path:"/providers/Microsoft.Network/checkTrafficManagerNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:TrafficManagerNameAvailability},default:{bodyMapper:CloudError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles",httpMethod:"GET",responses:{200:{bodyMapper:ProfileListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId],headerParameters:[accept],serializer:serializer$1},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles",httpMethod:"GET",responses:{200:{bodyMapper:ProfileListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",httpMethod:"GET",responses:{200:{bodyMapper:Profile},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,subscriptionId],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",httpMethod:"PUT",responses:{200:{bodyMapper:Profile},201:{bodyMapper:Profile},default:{bodyMapper:CloudError}},requestBody:parameters2,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,subscriptionId],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",httpMethod:"DELETE",responses:{200:{bodyMapper:DeleteOperationResult},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,subscriptionId],headerParameters:[accept],serializer:serializer$1},updateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Profile},default:{bodyMapper:CloudError}},requestBody:parameters2,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,subscriptionId],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1};class GeographicHierarchiesImpl{constructor(e){this.client=e}getDefault(e){return this.client.sendOperationRequest({options:e},getDefaultOperationSpec)}}const serializer$2=coreClient.createSerializer(Mappers,!1),getDefaultOperationSpec={path:"/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default",httpMethod:"GET",responses:{200:{bodyMapper:TrafficManagerGeographicHierarchy},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$2};class HeatMapImpl{constructor(e){this.client=e}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,options:t},getOperationSpec$2)}}const serializer$3=coreClient.createSerializer(Mappers,!1),getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}",httpMethod:"GET",responses:{200:{bodyMapper:HeatMapModel},default:{bodyMapper:CloudError}},queryParameters:[apiVersion,topLeft,botRight],urlParameters:[$host,resourceGroupName,profileName,subscriptionId,heatMapType],headerParameters:[accept],serializer:serializer$3};class TrafficManagerUserMetricsKeysImpl{constructor(e){this.client=e}get(e){return this.client.sendOperationRequest({options:e},getOperationSpec$3)}createOrUpdate(e){return this.client.sendOperationRequest({options:e},createOrUpdateOperationSpec$2)}delete(e){return this.client.sendOperationRequest({options:e},deleteOperationSpec$2)}}const serializer$4=coreClient.createSerializer(Mappers,!1),getOperationSpec$3={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default",httpMethod:"GET",responses:{200:{bodyMapper:UserMetricsModel},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$4},createOrUpdateOperationSpec$2={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default",httpMethod:"PUT",responses:{201:{bodyMapper:UserMetricsModel},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$4},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default",httpMethod:"DELETE",responses:{200:{bodyMapper:DeleteOperationResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$4};class TrafficManagerManagementClient extends coreClient.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},a="azsdk-js-arm-trafficmanager/6.0.0",a=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+a:a,e=(t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),t),{userAgentOptions:{userAgentPrefix:a},baseUri:t.endpoint||"https://management.azure.com"}));super(e),this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2018-08-01",this.endpoints=new EndpointsImpl(this),this.profiles=new ProfilesImpl(this),this.geographicHierarchies=new GeographicHierarchiesImpl(this),this.heatMap=new HeatMapImpl(this),this.trafficManagerUserMetricsKeys=new TrafficManagerUserMetricsKeysImpl(this)}}exports.TrafficManagerManagementClient=TrafficManagerManagementClient;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),tslib=require("tslib");function _interopNamespace(t){if(t&&t.__esModule)return t;var a=Object.create(null);return t&&Object.keys(t).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(a,e,r.get?r:{enumerable:!0,get:function(){return t[e]}}))}),a.default=t,Object.freeze(a)}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);exports.KnownEndpointStatus=void 0,function(e){e.Enabled="Enabled",e.Disabled="Disabled"}(exports.KnownEndpointStatus||(exports.KnownEndpointStatus={})),exports.KnownEndpointMonitorStatus=void 0,function(e){e.CheckingEndpoint="CheckingEndpoint",e.Online="Online",e.Degraded="Degraded",e.Disabled="Disabled",e.Inactive="Inactive",e.Stopped="Stopped"}(exports.KnownEndpointMonitorStatus||(exports.KnownEndpointMonitorStatus={})),exports.KnownProfileStatus=void 0,function(e){e.Enabled="Enabled",e.Disabled="Disabled"}(exports.KnownProfileStatus||(exports.KnownProfileStatus={})),exports.KnownTrafficRoutingMethod=void 0,function(e){e.Performance="Performance",e.Priority="Priority",e.Weighted="Weighted",e.Geographic="Geographic",e.MultiValue="MultiValue",e.Subnet="Subnet"}(exports.KnownTrafficRoutingMethod||(exports.KnownTrafficRoutingMethod={})),exports.KnownProfileMonitorStatus=void 0,function(e){e.CheckingEndpoints="CheckingEndpoints",e.Online="Online",e.Degraded="Degraded",e.Disabled="Disabled",e.Inactive="Inactive"}(exports.KnownProfileMonitorStatus||(exports.KnownProfileMonitorStatus={})),exports.KnownMonitorProtocol=void 0,function(e){e.Http="HTTP",e.Https="HTTPS",e.TCP="TCP"}(exports.KnownMonitorProtocol||(exports.KnownMonitorProtocol={})),exports.KnownTrafficViewEnrollmentStatus=void 0,function(e){e.Enabled="Enabled",e.Disabled="Disabled"}(exports.KnownTrafficViewEnrollmentStatus||(exports.KnownTrafficViewEnrollmentStatus={})),exports.KnownAllowedEndpointRecordType=void 0,function(e){e.DomainName="DomainName",e.IPv4Address="IPv4Address",e.IPv6Address="IPv6Address",e.Any="Any"}(exports.KnownAllowedEndpointRecordType||(exports.KnownAllowedEndpointRecordType={}));const EndpointPropertiesSubnetsItem={type:{name:"Composite",className:"EndpointPropertiesSubnetsItem",modelProperties:{first:{serializedName:"first",type:{name:"String"}},last:{serializedName:"last",type:{name:"String"}},scope:{serializedName:"scope",type:{name:"Number"}}}}},EndpointPropertiesCustomHeadersItem={type:{name:"Composite",className:"EndpointPropertiesCustomHeadersItem",modelProperties:{name:{serializedName:"name",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},Resource={type:{name:"Composite",className:"Resource",modelProperties:{id:{serializedName:"id",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},CloudError={type:{name:"Composite",className:"CloudError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"CloudErrorBody"}}}}},CloudErrorBody={type:{name:"Composite",className:"CloudErrorBody",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}},target:{serializedName:"target",type:{name:"String"}},details:{serializedName:"details",type:{name:"Sequence",element:{type:{name:"Composite",className:"CloudErrorBody"}}}}}}},DeleteOperationResult={type:{name:"Composite",className:"DeleteOperationResult",modelProperties:{operationResult:{serializedName:"boolean",readOnly:!0,type:{name:"Boolean"}}}}},CheckTrafficManagerRelativeDnsNameAvailabilityParameters={type:{name:"Composite",className:"CheckTrafficManagerRelativeDnsNameAvailabilityParameters",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}}}}},TrafficManagerNameAvailability={type:{name:"Composite",className:"TrafficManagerNameAvailability",modelProperties:{name:{serializedName:"name",type:{name:"String"}},type:{serializedName:"type",type:{name:"String"}},nameAvailable:{serializedName:"nameAvailable",type:{name:"Boolean"}},reason:{serializedName:"reason",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},ProfileListResult={type:{name:"Composite",className:"ProfileListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Profile"}}}}}}},DnsConfig={type:{name:"Composite",className:"DnsConfig",modelProperties:{relativeName:{serializedName:"relativeName",type:{name:"String"}},fqdn:{serializedName:"fqdn",readOnly:!0,type:{name:"String"}},ttl:{serializedName:"ttl",type:{name:"Number"}}}}},MonitorConfig={type:{name:"Composite",className:"MonitorConfig",modelProperties:{profileMonitorStatus:{serializedName:"profileMonitorStatus",type:{name:"String"}},protocol:{serializedName:"protocol",type:{name:"String"}},port:{serializedName:"port",type:{name:"Number"}},path:{serializedName:"path",type:{name:"String"}},intervalInSeconds:{serializedName:"intervalInSeconds",type:{name:"Number"}},timeoutInSeconds:{serializedName:"timeoutInSeconds",type:{name:"Number"}},toleratedNumberOfFailures:{serializedName:"toleratedNumberOfFailures",type:{name:"Number"}},customHeaders:{serializedName:"customHeaders",type:{name:"Sequence",element:{type:{name:"Composite",className:"MonitorConfigCustomHeadersItem"}}}},expectedStatusCodeRanges:{serializedName:"expectedStatusCodeRanges",type:{name:"Sequence",element:{type:{name:"Composite",className:"MonitorConfigExpectedStatusCodeRangesItem"}}}}}}},MonitorConfigCustomHeadersItem={type:{name:"Composite",className:"MonitorConfigCustomHeadersItem",modelProperties:{name:{serializedName:"name",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},MonitorConfigExpectedStatusCodeRangesItem={type:{name:"Composite",className:"MonitorConfigExpectedStatusCodeRangesItem",modelProperties:{min:{serializedName:"min",type:{name:"Number"}},max:{serializedName:"max",type:{name:"Number"}}}}},Region={type:{name:"Composite",className:"Region",modelProperties:{code:{serializedName:"code",type:{name:"String"}},name:{serializedName:"name",type:{name:"String"}},regions:{serializedName:"regions",type:{name:"Sequence",element:{type:{name:"Composite",className:"Region"}}}}}}},HeatMapEndpoint={type:{name:"Composite",className:"HeatMapEndpoint",modelProperties:{resourceId:{serializedName:"resourceId",type:{name:"String"}},endpointId:{serializedName:"endpointId",type:{name:"Number"}}}}},TrafficFlow={type:{name:"Composite",className:"TrafficFlow",modelProperties:{sourceIp:{serializedName:"sourceIp",type:{name:"String"}},latitude:{serializedName:"latitude",type:{name:"Number"}},longitude:{serializedName:"longitude",type:{name:"Number"}},queryExperiences:{serializedName:"queryExperiences",type:{name:"Sequence",element:{type:{name:"Composite",className:"QueryExperience"}}}}}}},QueryExperience={type:{name:"Composite",className:"QueryExperience",modelProperties:{endpointId:{serializedName:"endpointId",required:!0,type:{name:"Number"}},queryCount:{serializedName:"queryCount",required:!0,type:{name:"Number"}},latency:{serializedName:"latency",type:{name:"Number"}}}}},ProxyResource={type:{name:"Composite",className:"ProxyResource",modelProperties:Object.assign({},Resource.type.modelProperties)}},TrackedResource={type:{name:"Composite",className:"TrackedResource",modelProperties:Object.assign(Object.assign({},Resource.type.modelProperties),{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},location:{serializedName:"location",type:{name:"String"}}})}},Endpoint={type:{name:"Composite",className:"Endpoint",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{targetResourceId:{serializedName:"properties.targetResourceId",type:{name:"String"}},target:{serializedName:"properties.target",type:{name:"String"}},endpointStatus:{serializedName:"properties.endpointStatus",type:{name:"String"}},weight:{serializedName:"properties.weight",type:{name:"Number"}},priority:{serializedName:"properties.priority",type:{name:"Number"}},endpointLocation:{serializedName:"properties.endpointLocation",type:{name:"String"}},endpointMonitorStatus:{serializedName:"properties.endpointMonitorStatus",type:{name:"String"}},minChildEndpoints:{serializedName:"properties.minChildEndpoints",type:{name:"Number"}},minChildEndpointsIPv4:{serializedName:"properties.minChildEndpointsIPv4",type:{name:"Number"}},minChildEndpointsIPv6:{serializedName:"properties.minChildEndpointsIPv6",type:{name:"Number"}},geoMapping:{serializedName:"properties.geoMapping",type:{name:"Sequence",element:{type:{name:"String"}}}},subnets:{serializedName:"properties.subnets",type:{name:"Sequence",element:{type:{name:"Composite",className:"EndpointPropertiesSubnetsItem"}}}},customHeaders:{serializedName:"properties.customHeaders",type:{name:"Sequence",element:{type:{name:"Composite",className:"EndpointPropertiesCustomHeadersItem"}}}}})}},TrafficManagerGeographicHierarchy={type:{name:"Composite",className:"TrafficManagerGeographicHierarchy",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{geographicHierarchy:{serializedName:"properties.geographicHierarchy",type:{name:"Composite",className:"Region"}}})}},HeatMapModel={type:{name:"Composite",className:"HeatMapModel",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{startTime:{serializedName:"properties.startTime",type:{name:"DateTime"}},endTime:{serializedName:"properties.endTime",type:{name:"DateTime"}},endpoints:{serializedName:"properties.endpoints",type:{name:"Sequence",element:{type:{name:"Composite",className:"HeatMapEndpoint"}}}},trafficFlows:{serializedName:"properties.trafficFlows",type:{name:"Sequence",element:{type:{name:"Composite",className:"TrafficFlow"}}}}})}},UserMetricsModel={type:{name:"Composite",className:"UserMetricsModel",modelProperties:Object.assign(Object.assign({},ProxyResource.type.modelProperties),{key:{serializedName:"properties.key",type:{name:"String"}}})}},Profile={type:{name:"Composite",className:"Profile",modelProperties:Object.assign(Object.assign({},TrackedResource.type.modelProperties),{profileStatus:{serializedName:"properties.profileStatus",type:{name:"String"}},trafficRoutingMethod:{serializedName:"properties.trafficRoutingMethod",type:{name:"String"}},dnsConfig:{serializedName:"properties.dnsConfig",type:{name:"Composite",className:"DnsConfig"}},monitorConfig:{serializedName:"properties.monitorConfig",type:{name:"Composite",className:"MonitorConfig"}},endpoints:{serializedName:"properties.endpoints",type:{name:"Sequence",element:{type:{name:"Composite",className:"Endpoint"}}}},trafficViewEnrollmentStatus:{serializedName:"properties.trafficViewEnrollmentStatus",type:{name:"String"}},allowedEndpointRecordTypes:{serializedName:"properties.allowedEndpointRecordTypes",type:{name:"Sequence",element:{type:{name:"String"}}}},maxReturn:{serializedName:"properties.maxReturn",type:{name:"Number"}}})}};var Mappers=Object.freeze({__proto__:null,EndpointPropertiesSubnetsItem:EndpointPropertiesSubnetsItem,EndpointPropertiesCustomHeadersItem:EndpointPropertiesCustomHeadersItem,Resource:Resource,CloudError:CloudError,CloudErrorBody:CloudErrorBody,DeleteOperationResult:DeleteOperationResult,CheckTrafficManagerRelativeDnsNameAvailabilityParameters:CheckTrafficManagerRelativeDnsNameAvailabilityParameters,TrafficManagerNameAvailability:TrafficManagerNameAvailability,ProfileListResult:ProfileListResult,DnsConfig:DnsConfig,MonitorConfig:MonitorConfig,MonitorConfigCustomHeadersItem:MonitorConfigCustomHeadersItem,MonitorConfigExpectedStatusCodeRangesItem:MonitorConfigExpectedStatusCodeRangesItem,Region:Region,HeatMapEndpoint:HeatMapEndpoint,TrafficFlow:TrafficFlow,QueryExperience:QueryExperience,ProxyResource:ProxyResource,TrackedResource:TrackedResource,Endpoint:Endpoint,TrafficManagerGeographicHierarchy:TrafficManagerGeographicHierarchy,HeatMapModel:HeatMapModel,UserMetricsModel:UserMetricsModel,Profile:Profile});const contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:Endpoint},accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},resourceGroupName={parameterPath:"resourceGroupName",mapper:{serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},profileName={parameterPath:"profileName",mapper:{serializedName:"profileName",required:!0,type:{name:"String"}}},endpointType={parameterPath:"endpointType",mapper:{serializedName:"endpointType",required:!0,type:{name:"Enum",allowedValues:["AzureEndpoints","ExternalEndpoints","NestedEndpoints"]}}},endpointName={parameterPath:"endpointName",mapper:{serializedName:"endpointName",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2018-08-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},parameters1={parameterPath:"parameters",mapper:CheckTrafficManagerRelativeDnsNameAvailabilityParameters},parameters2={parameterPath:"parameters",mapper:Profile},heatMapType={parameterPath:"heatMapType",mapper:{defaultValue:"default",isConstant:!0,serializedName:"heatMapType",type:{name:"String"}}},topLeft={parameterPath:["options","topLeft"],mapper:{constraints:{MinItems:2,MaxItems:2},serializedName:"topLeft",type:{name:"Sequence",element:{type:{name:"Number"}}}},collectionFormat:"CSV"},botRight={parameterPath:["options","botRight"],mapper:{constraints:{MinItems:2,MaxItems:2},serializedName:"botRight",type:{name:"Sequence",element:{type:{name:"Number"}}}},collectionFormat:"CSV"};class EndpointsImpl{constructor(e){this.client=e}update(e,r,t,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,endpointType:t,endpointName:a,parameters:i,options:o},updateOperationSpec$1)}get(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,endpointType:t,endpointName:a,options:i},getOperationSpec$3)}createOrUpdate(e,r,t,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,endpointType:t,endpointName:a,parameters:i,options:o},createOrUpdateOperationSpec$2)}delete(e,r,t,a,i){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,endpointType:t,endpointName:a,options:i},deleteOperationSpec$2)}}const serializer$4=coreClient__namespace.createSerializer(Mappers,!1),updateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Endpoint},default:{bodyMapper:CloudError}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,endpointType,endpointName,subscriptionId],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$4},getOperationSpec$3={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",httpMethod:"GET",responses:{200:{bodyMapper:Endpoint},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,endpointType,endpointName,subscriptionId],headerParameters:[accept],serializer:serializer$4},createOrUpdateOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",httpMethod:"PUT",responses:{200:{bodyMapper:Endpoint},201:{bodyMapper:Endpoint},default:{bodyMapper:CloudError}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,endpointType,endpointName,subscriptionId],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$4},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}",httpMethod:"DELETE",responses:{200:{bodyMapper:DeleteOperationResult},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,endpointType,endpointName,subscriptionId],headerParameters:[accept],serializer:serializer$4};class ProfilesImpl{constructor(e){this.client=e}listByResourceGroup(e,r){const t=this.listByResourceGroupPagingAll(e,r);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,r)}}listByResourceGroupPagingPage(r,t){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(r,t));yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(o,s){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listByResourceGroupPagingPage(o,s));!(t=yield tslib.__await(a.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}listBySubscription(e){const r=this.listBySubscriptionPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(r));yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listBySubscriptionPagingPage(o));!(t=yield tslib.__await(a.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}checkTrafficManagerRelativeDnsNameAvailability(e,r){return this.client.sendOperationRequest({parameters:e,options:r},checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec)}_listByResourceGroup(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listByResourceGroupOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,options:t},getOperationSpec$2)}createOrUpdate(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,parameters:t,options:a},createOrUpdateOperationSpec$1)}delete(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,options:t},deleteOperationSpec$1)}update(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,parameters:t,options:a},updateOperationSpec)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec={path:"/providers/Microsoft.Network/checkTrafficManagerNameAvailability",httpMethod:"POST",responses:{200:{bodyMapper:TrafficManagerNameAvailability},default:{bodyMapper:CloudError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$3},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles",httpMethod:"GET",responses:{200:{bodyMapper:ProfileListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,subscriptionId],headerParameters:[accept],serializer:serializer$3},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles",httpMethod:"GET",responses:{200:{bodyMapper:ProfileListResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$3},getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",httpMethod:"GET",responses:{200:{bodyMapper:Profile},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,subscriptionId],headerParameters:[accept],serializer:serializer$3},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",httpMethod:"PUT",responses:{200:{bodyMapper:Profile},201:{bodyMapper:Profile},default:{bodyMapper:CloudError}},requestBody:parameters2,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,subscriptionId],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$3},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",httpMethod:"DELETE",responses:{200:{bodyMapper:DeleteOperationResult},204:{},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,subscriptionId],headerParameters:[accept],serializer:serializer$3},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Profile},default:{bodyMapper:CloudError}},requestBody:parameters2,queryParameters:[apiVersion],urlParameters:[$host,resourceGroupName,profileName,subscriptionId],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$3};class GeographicHierarchiesImpl{constructor(e){this.client=e}getDefault(e){return this.client.sendOperationRequest({options:e},getDefaultOperationSpec)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),getDefaultOperationSpec={path:"/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default",httpMethod:"GET",responses:{200:{bodyMapper:TrafficManagerGeographicHierarchy},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer$2};class HeatMapImpl{constructor(e){this.client=e}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,profileName:r,options:t},getOperationSpec$1)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}",httpMethod:"GET",responses:{200:{bodyMapper:HeatMapModel},default:{bodyMapper:CloudError}},queryParameters:[apiVersion,topLeft,botRight],urlParameters:[$host,resourceGroupName,profileName,subscriptionId,heatMapType],headerParameters:[accept],serializer:serializer$1};class TrafficManagerUserMetricsKeysImpl{constructor(e){this.client=e}get(e){return this.client.sendOperationRequest({options:e},getOperationSpec)}createOrUpdate(e){return this.client.sendOperationRequest({options:e},createOrUpdateOperationSpec)}delete(e){return this.client.sendOperationRequest({options:e},deleteOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),getOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default",httpMethod:"GET",responses:{200:{bodyMapper:UserMetricsModel},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default",httpMethod:"PUT",responses:{201:{bodyMapper:UserMetricsModel},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default",httpMethod:"DELETE",responses:{200:{bodyMapper:DeleteOperationResult},default:{bodyMapper:CloudError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer};class TrafficManagerManagementClient extends coreClient__namespace.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},a="azsdk-js-arm-trafficmanager/6.0.2",a=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+a:a,e=(t.credentialScopes||(t.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),t),{userAgentOptions:{userAgentPrefix:a},baseUri:null!=(a=null!=(e=t.endpoint)?e:t.baseUri)?a:"https://management.azure.com"}));if(super(e),null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length){const i=t.pipeline.getOrderedPolicies();i.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({scopes:e.baseUri+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}})))}this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2018-08-01",this.endpoints=new EndpointsImpl(this),this.profiles=new ProfilesImpl(this),this.geographicHierarchies=new GeographicHierarchiesImpl(this),this.heatMap=new HeatMapImpl(this),this.trafficManagerUserMetricsKeys=new TrafficManagerUserMetricsKeysImpl(this)}}exports.TrafficManagerManagementClient=TrafficManagerManagementClient;
|
package/dist/index.min.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/endpoints.ts","../src/operations/profiles.ts","../src/operations/geographicHierarchies.ts","../src/operations/heatMap.ts","../src/operations/trafficManagerUserMetricsKeys.ts","../src/trafficManagerManagementClient.ts"],"names":["KnownEndpointStatus","KnownEndpointMonitorStatus","KnownProfileStatus","KnownTrafficRoutingMethod","KnownProfileMonitorStatus","KnownMonitorProtocol","KnownTrafficViewEnrollmentStatus","KnownAllowedEndpointRecordType","EndpointPropertiesSubnetsItem","type","name","className","modelProperties","first","serializedName","last","scope","EndpointPropertiesCustomHeadersItem","value","Resource","id","CloudError","error","CloudErrorBody","code","message","target","details","element","DeleteOperationResult","operationResult","readOnly","CheckTrafficManagerRelativeDnsNameAvailabilityParameters","TrafficManagerNameAvailability","nameAvailable","reason","ProfileListResult","DnsConfig","relativeName","fqdn","ttl","MonitorConfig","profileMonitorStatus","protocol","port","path","intervalInSeconds","timeoutInSeconds","toleratedNumberOfFailures","customHeaders","expectedStatusCodeRanges","MonitorConfigCustomHeadersItem","MonitorConfigExpectedStatusCodeRangesItem","min","max","Region","regions","HeatMapEndpoint","resourceId","endpointId","TrafficFlow","sourceIp","latitude","longitude","queryExperiences","QueryExperience","required","queryCount","latency","ProxyResource","Object","assign","TrackedResource","tags","location","Endpoint","targetResourceId","endpointStatus","weight","priority","endpointLocation","endpointMonitorStatus","minChildEndpoints","minChildEndpointsIPv4","minChildEndpointsIPv6","geoMapping","subnets","TrafficManagerGeographicHierarchy","geographicHierarchy","HeatMapModel","startTime","endTime","endpoints","trafficFlows","UserMetricsModel","key","Profile","profileStatus","trafficRoutingMethod","dnsConfig","monitorConfig","trafficViewEnrollmentStatus","allowedEndpointRecordTypes","maxReturn","contentType","parameterPath","mapper","defaultValue","isConstant","parameters","EndpointMapper","accept","$host","skipEncoding","resourceGroupName","profileName","endpointType","allowedValues","endpointName","apiVersion","subscriptionId","parameters1","CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper","parameters2","ProfileMapper","heatMapType","topLeft","constraints","MinItems","MaxItems","collectionFormat","botRight","EndpointsImpl","constructor","client","this","update","options","sendOperationRequest","updateOperationSpec","get","getOperationSpec","createOrUpdate","createOrUpdateOperationSpec","delete","deleteOperationSpec","serializer","coreClient.createSerializer","Mappers","httpMethod","responses","200","bodyMapper","Mappers.Endpoint","default","Mappers.CloudError","requestBody","Parameters.parameters","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","Parameters.resourceGroupName","Parameters.profileName","Parameters.endpointType","Parameters.endpointName","Parameters.subscriptionId","headerParameters","Parameters.contentType","Parameters.accept","mediaType","201","Mappers.DeleteOperationResult","204","ProfilesImpl","listByResourceGroup","iter","listByResourceGroupPagingAll","next","Symbol","asyncIterator","byPage","listByResourceGroupPagingPage","let","result","tslib","__await","_listByResourceGroup","_c","_b","__asyncValues","done","page","__asyncDelegator","listBySubscription","listBySubscriptionPagingAll","listBySubscriptionPagingPage","_listBySubscription","checkTrafficManagerRelativeDnsNameAvailability","checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec","listByResourceGroupOperationSpec","listBySubscriptionOperationSpec","Mappers.TrafficManagerNameAvailability","Parameters.parameters1","Mappers.ProfileListResult","Mappers.Profile","Parameters.parameters2","GeographicHierarchiesImpl","getDefault","getDefaultOperationSpec","Mappers.TrafficManagerGeographicHierarchy","HeatMapImpl","Mappers.HeatMapModel","Parameters.topLeft","Parameters.botRight","Parameters.heatMapType","TrafficManagerUserMetricsKeysImpl","Mappers.UserMetricsModel","TrafficManagerManagementClient","coreClient.ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","optionsWithDefaults","credentialScopes","baseUri","endpoint","super","profiles","geographicHierarchies","heatMap","trafficManagerUserMetricsKeys"],"mappings":"yIA8QA,SAAYA,GACVA,EAAA,QAAA,UACAA,EAAA,SAAA,WAFF,CAAYA,QAAAA,sBAAAA,QAAAA,oBAAmB,KAgB/B,SAAYC,GACVA,EAAA,iBAAA,mBACAA,EAAA,OAAA,SACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,QAAA,UANF,CAAYA,QAAAA,6BAAAA,QAAAA,2BAA0B,KAwBtC,SAAYC,GACVA,EAAA,QAAA,UACAA,EAAA,SAAA,WAFF,CAAYA,QAAAA,qBAAAA,QAAAA,mBAAkB,KAgB9B,SAAYC,GACVA,EAAA,YAAA,cACAA,EAAA,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,WAAA,aACAA,EAAA,WAAA,aACAA,EAAA,OAAA,SANF,CAAYA,QAAAA,4BAAAA,QAAAA,0BAAyB,KAwBrC,SAAYC,GACVA,EAAA,kBAAA,oBACAA,E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sBAAgD,CACpDpG,KACE,oGACFwG,WAAY,SACZC,UAAW,CACTC,IAAK,CACHC,WAAYoB,uBAEdlB,QAAS,CACPF,WAAYG,aAGhBG,gBAAiB,CAACC,YAClBC,cAAe,CAACC,MAAkBK,gBAClCC,iBAAkB,CAACE,Q,WACnBvB,oBC9FWwE,uCAAuCC,WAAAA,cAYlDtF,YACEuF,EACApG,EACAiB,GAEA,QAAoBoF,IAAhBD,EACF,MAAM,IAAIE,MAAM,gCAElB,QAAuBD,IAAnBrG,EACF,MAAM,IAAIsG,MAAM,mCAOlB,IAAMC,EAAyD,CAC7DC,mBAAoB,kCACpBC,WAAYL,GAGRM,EAAiB,oCACjBC,GARJ1F,EADGA,GACO,IASF2F,kBAAoB3F,EAAQ2F,iBAAiBD,gBAC9C1F,EAAQ2F,iBAAiBD,gBAA5B,IAA+CD,EAC5CA,EAKHG,GAHD5F,EAAQ6F,mBACX7F,EAAQ6F,iBAAmB,CAAC,0CAELhK,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACpBwJ,GACAtF,GAAO,CACV2F,iBAAkB,CAChBD,gBAAAA,GAEFI,QAAS9F,EAAQ+F,UAAY,kCAE/BC,MAAMJ,GAEN9F,KAAKf,eAAiBA,EAGtBe,KAAKvB,MAAQyB,EAAQzB,OAAS,+BAC9BuB,KAAKhB,WAAakB,EAAQlB,YAAc,aACxCgB,KAAK3C,UAAY,IAAIwC,cAAcG,MACnCA,KAAKmG,SAAW,IAAI5D,aAAavC,MACjCA,KAAKoG,sBAAwB,IAAI5B,0BAA0BxE,MAC3DA,KAAKqG,QAAU,IAAIzB,YAAY5E,MAC/BA,KAAKsG,8BAAgC,IAAIrB,kCACvCjF,O"}
|
|
1
|
+
{"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/endpoints.ts","../src/operations/profiles.ts","../src/operations/geographicHierarchies.ts","../src/operations/heatMap.ts","../src/operations/trafficManagerUserMetricsKeys.ts","../src/trafficManagerManagementClient.ts"],"names":["KnownEndpointStatus","KnownEndpointMonitorStatus","KnownProfileStatus","KnownTrafficRoutingMethod","KnownProfileMonitorStatus","KnownMonitorProtocol","KnownTrafficViewEnrollmentStatus","KnownAllowedEndpointRecordType","EndpointPropertiesSubnetsItem","type","name","className","modelProperties","first","serializedName","last","scope","EndpointPropertiesCustomHeadersItem","value","Resource","id","CloudError","error","CloudErrorBody","code","message","target","details","element","DeleteOperationResult","operationResult","readOnly","CheckTrafficManagerRelativeDnsNameAvailabilityParameters","TrafficManagerNameAvailability","nameAvailable","reason","ProfileListResult","DnsConfig","relativeName","fqdn","ttl","MonitorConfig","profileMonitorStatus","protocol","port","path","intervalInSeconds","timeoutInSeconds","toleratedNumberOfFailures","customHeaders","expectedStatusCodeRanges","MonitorConfigCustomHeadersItem","MonitorConfigExpectedStatusCodeRangesItem","min","max","Region","regions","HeatMapEndpoint","resourceId","endpointId","TrafficFlow","sourceIp","latitude","longitude","queryExperiences","QueryExperience","required","queryCount","latency","ProxyResource","Object","assign","TrackedResource","tags","location","Endpoint","targetResourceId","endpointStatus","weight","priority","endpointLocation","endpointMonitorStatus","minChildEndpoints","minChildEndpointsIPv4","minChildEndpointsIPv6","geoMapping","subnets","TrafficManagerGeographicHierarchy","geographicHierarchy","HeatMapModel","startTime","endTime","endpoints","trafficFlows","UserMetricsModel","key","Profile","profileStatus","trafficRoutingMethod","dnsConfig","monitorConfig","trafficViewEnrollmentStatus","allowedEndpointRecordTypes","maxReturn","contentType","parameterPath","mapper","defaultValue","isConstant","parameters","EndpointMapper","accept","$host","skipEncoding","resourceGroupName","profileName","endpointType","allowedValues","endpointName","apiVersion","subscriptionId","parameters1","CheckTrafficManagerRelativeDnsNameAvailabilityParametersMapper","parameters2","ProfileMapper","heatMapType","topLeft","constraints","MinItems","MaxItems","collectionFormat","botRight","EndpointsImpl","constructor","client","this","update","options","sendOperationRequest","updateOperationSpec","get","getOperationSpec","createOrUpdate","createOrUpdateOperationSpec","delete","deleteOperationSpec","serializer","coreClient","createSerializer","Mappers","httpMethod","responses","200","bodyMapper","Mappers.Endpoint","default","Mappers.CloudError","requestBody","Parameters.parameters","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","Parameters.resourceGroupName","Parameters.profileName","Parameters.endpointType","Parameters.endpointName","Parameters.subscriptionId","headerParameters","Parameters.contentType","Parameters.accept","mediaType","201","Mappers.DeleteOperationResult","204","ProfilesImpl","listByResourceGroup","iter","listByResourceGroupPagingAll","next","Symbol","asyncIterator","byPage","listByResourceGroupPagingPage","let","result","__await","_listByResourceGroup","_c","_b","__asyncValues","done","page","__asyncDelegator","listBySubscription","listBySubscriptionPagingAll","listBySubscriptionPagingPage","_listBySubscription","checkTrafficManagerRelativeDnsNameAvailability","checkTrafficManagerRelativeDnsNameAvailabilityOperationSpec","listByResourceGroupOperationSpec","listBySubscriptionOperationSpec","Mappers.TrafficManagerNameAvailability","Parameters.parameters1","Mappers.ProfileListResult","Mappers.Profile","Parameters.parameters2","GeographicHierarchiesImpl","getDefault","getDefaultOperationSpec","Mappers.TrafficManagerGeographicHierarchy","HeatMapImpl","Mappers.HeatMapModel","Parameters.topLeft","Parameters.botRight","Parameters.heatMapType","TrafficManagerUserMetricsKeysImpl","Mappers.UserMetricsModel","TrafficManagerManagementClient","ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","optionsWithDefaults","credentialScopes","baseUri","_a","endpoint","super","pipeline","getOrderedPolicies","length","pipelinePolicies","some","pipelinePolicy","coreRestPipeline","bearerTokenAuthenticationPolicyName","removePolicy","addPolicy","bearerTokenAuthenticationPolicy","scopes","challengeCallbacks","authorizeRequestOnChallenge","authorizeRequestOnClaimChallenge","profiles","geographicHierarchies","heatMap","trafficManagerUserMetricsKeys"],"mappings":"mmBA8QYA,QAAAA,yBAAAA,EAAZ,SAAYA,GACVA,EAAA,QAAA,UACAA,EAAA,SAAA,WAFF,CAAYA,QAAAA,sBAAAA,QAAAA,oB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hK,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GAAAwJ,GACAtF,GAAO,CACV2F,iBAAkB,CAChBD,gBAAAA,GAEFI,QACE,OAAA1C,EAAA,OAAA2C,EAAA/F,EAAQgG,UAAYD,EAAA/F,EAAQ8F,SAAW1C,EAAA,kCAI3C,GAFA6C,MAAML,GAEF5F,MAAAA,GAAAA,EAASkG,UAA2D,EAA/ClG,EAAQkG,SAASC,qBAAqBC,OAAY,CACzE,MAAMC,EAAsDrG,EAAQkG,SAASC,qBAChCE,EAAiBC,KAC5D,GACEC,EAAetO,OACfuO,4BAAiBC,uCAGnB3G,KAAKoG,SAASQ,aAAa,CACzBzO,KAAMuO,4BAAiBC,sCAEzB3G,KAAKoG,SAASS,UACZH,4BAAiBI,gCAAgC,CAC/CC,OAAWjB,EAAoBE,QAAvB,YACRgB,mBAAoB,CAClBC,4BACErG,sBAAWsG,sCAOvBlH,KAAKf,eAAiBA,EAGtBe,KAAKvB,MAAQyB,EAAQzB,OAAS,+BAC9BuB,KAAKhB,WAAakB,EAAQlB,YAAc,aACxCgB,KAAK3C,UAAY,IAAIwC,cAAcG,MACnCA,KAAKmH,SAAW,IAAI3E,aAAaxC,MACjCA,KAAKoH,sBAAwB,IAAI5C,0BAA0BxE,MAC3DA,KAAKqH,QAAU,IAAIzC,YAAY5E,MAC/BA,KAAKsH,8BAAgC,IAAIrC,kCACvCjF,O"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/endpointsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Create or update a Traffic Manager endpoint.
|
|
15
|
+
*
|
|
16
|
+
* @summary Create or update a Traffic Manager endpoint.
|
|
17
|
+
* x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithCustomHeaders.json
|
|
18
|
+
*/
|
|
19
|
+
function endpointPutExternalWithCustomHeaders() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "{subscription-id}";
|
|
22
|
+
const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421";
|
|
23
|
+
const profileName = "azsmnet6386";
|
|
24
|
+
const endpointType = "ExternalEndpoints";
|
|
25
|
+
const endpointName = "azsmnet7187";
|
|
26
|
+
const parameters = {
|
|
27
|
+
name: "azsmnet7187",
|
|
28
|
+
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
|
|
29
|
+
customHeaders: [
|
|
30
|
+
{ name: "header-1", value: "value-1" },
|
|
31
|
+
{ name: "header-2", value: "value-2" }
|
|
32
|
+
],
|
|
33
|
+
endpointLocation: "North Europe",
|
|
34
|
+
endpointStatus: "Enabled",
|
|
35
|
+
target: "foobar.contoso.com"
|
|
36
|
+
};
|
|
37
|
+
const credential = new DefaultAzureCredential();
|
|
38
|
+
const client = new TrafficManagerManagementClient(credential, subscriptionId);
|
|
39
|
+
const result = yield client.endpoints.createOrUpdate(resourceGroupName, profileName, endpointType, endpointName, parameters);
|
|
40
|
+
console.log(result);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
endpointPutExternalWithCustomHeaders().catch(console.error);
|
|
44
|
+
/**
|
|
45
|
+
* This sample demonstrates how to Create or update a Traffic Manager endpoint.
|
|
46
|
+
*
|
|
47
|
+
* @summary Create or update a Traffic Manager endpoint.
|
|
48
|
+
* x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithGeoMapping.json
|
|
49
|
+
*/
|
|
50
|
+
function endpointPutExternalWithGeoMapping() {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
const subscriptionId = "{subscription-id}";
|
|
53
|
+
const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191";
|
|
54
|
+
const profileName = "azuresdkfornetautoresttrafficmanager8224";
|
|
55
|
+
const endpointType = "ExternalEndpoints";
|
|
56
|
+
const endpointName = "My%20external%20endpoint";
|
|
57
|
+
const parameters = {
|
|
58
|
+
name: "My external endpoint",
|
|
59
|
+
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
|
|
60
|
+
endpointStatus: "Enabled",
|
|
61
|
+
geoMapping: ["GEO-AS", "GEO-AF"],
|
|
62
|
+
target: "foobar.contoso.com"
|
|
63
|
+
};
|
|
64
|
+
const credential = new DefaultAzureCredential();
|
|
65
|
+
const client = new TrafficManagerManagementClient(credential, subscriptionId);
|
|
66
|
+
const result = yield client.endpoints.createOrUpdate(resourceGroupName, profileName, endpointType, endpointName, parameters);
|
|
67
|
+
console.log(result);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
endpointPutExternalWithGeoMapping().catch(console.error);
|
|
71
|
+
/**
|
|
72
|
+
* This sample demonstrates how to Create or update a Traffic Manager endpoint.
|
|
73
|
+
*
|
|
74
|
+
* @summary Create or update a Traffic Manager endpoint.
|
|
75
|
+
* x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithLocation.json
|
|
76
|
+
*/
|
|
77
|
+
function endpointPutExternalWithLocation() {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
const subscriptionId = "{subscription-id}";
|
|
80
|
+
const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421";
|
|
81
|
+
const profileName = "azsmnet6386";
|
|
82
|
+
const endpointType = "ExternalEndpoints";
|
|
83
|
+
const endpointName = "azsmnet7187";
|
|
84
|
+
const parameters = {
|
|
85
|
+
name: "azsmnet7187",
|
|
86
|
+
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
|
|
87
|
+
endpointLocation: "North Europe",
|
|
88
|
+
endpointStatus: "Enabled",
|
|
89
|
+
target: "foobar.contoso.com"
|
|
90
|
+
};
|
|
91
|
+
const credential = new DefaultAzureCredential();
|
|
92
|
+
const client = new TrafficManagerManagementClient(credential, subscriptionId);
|
|
93
|
+
const result = yield client.endpoints.createOrUpdate(resourceGroupName, profileName, endpointType, endpointName, parameters);
|
|
94
|
+
console.log(result);
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
endpointPutExternalWithLocation().catch(console.error);
|
|
98
|
+
/**
|
|
99
|
+
* This sample demonstrates how to Create or update a Traffic Manager endpoint.
|
|
100
|
+
*
|
|
101
|
+
* @summary Create or update a Traffic Manager endpoint.
|
|
102
|
+
* x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PUT-External-WithSubnetMapping.json
|
|
103
|
+
*/
|
|
104
|
+
function endpointPutExternalWithSubnetMapping() {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
const subscriptionId = "{subscription-id}";
|
|
107
|
+
const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191";
|
|
108
|
+
const profileName = "azuresdkfornetautoresttrafficmanager8224";
|
|
109
|
+
const endpointType = "ExternalEndpoints";
|
|
110
|
+
const endpointName = "My%20external%20endpoint";
|
|
111
|
+
const parameters = {
|
|
112
|
+
name: "My external endpoint",
|
|
113
|
+
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
|
|
114
|
+
endpointStatus: "Enabled",
|
|
115
|
+
subnets: [
|
|
116
|
+
{ first: "1.2.3.0", scope: 24 },
|
|
117
|
+
{ first: "25.26.27.28", last: "29.30.31.32" }
|
|
118
|
+
],
|
|
119
|
+
target: "foobar.contoso.com"
|
|
120
|
+
};
|
|
121
|
+
const credential = new DefaultAzureCredential();
|
|
122
|
+
const client = new TrafficManagerManagementClient(credential, subscriptionId);
|
|
123
|
+
const result = yield client.endpoints.createOrUpdate(resourceGroupName, profileName, endpointType, endpointName, parameters);
|
|
124
|
+
console.log(result);
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
endpointPutExternalWithSubnetMapping().catch(console.error);
|
|
128
|
+
//# sourceMappingURL=endpointsCreateOrUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/endpointsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,oCAAoC;;QACjD,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,0CAA0C,CAAC;QACrE,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,YAAY,GAAG,mBAAmB,CAAC;QACzC,MAAM,YAAY,GAAG,aAAa,CAAC;QACnC,MAAM,UAAU,GAAa;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,4DAA4D;YAClE,aAAa,EAAE;gBACb,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE;gBACtC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE;aACvC;YACD,gBAAgB,EAAE,cAAc;Y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,EAAE,EAAE;gBAC/B,EAAE,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,EAAE;aAC9C;YACD,MAAM,EAAE,oBAAoB;SAC7B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,cAAc,CAClD,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oCAAoC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/endpointsDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Deletes a Traffic Manager endpoint.
|
|
15
|
+
*
|
|
16
|
+
* @summary Deletes a Traffic Manager endpoint.
|
|
17
|
+
* x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-DELETE-External.json
|
|
18
|
+
*/
|
|
19
|
+
function endpointDeleteExternal() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "{subscription-id}";
|
|
22
|
+
const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421";
|
|
23
|
+
const profileName = "azsmnet6386";
|
|
24
|
+
const endpointType = "ExternalEndpoints";
|
|
25
|
+
const endpointName = "azsmnet7187";
|
|
26
|
+
const credential = new DefaultAzureCredential();
|
|
27
|
+
const client = new TrafficManagerManagementClient(credential, subscriptionId);
|
|
28
|
+
const result = yield client.endpoints.delete(resourceGroupName, profileName, endpointType, endpointName);
|
|
29
|
+
console.log(result);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
endpointDeleteExternal().catch(console.error);
|
|
33
|
+
//# sourceMappingURL=endpointsDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/endpointsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,0CAA0C,CAAC;QACrE,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,YAAY,GAAG,mBAAmB,CAAC;QACzC,MAAM,YAAY,GAAG,aAAa,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,MAAM,CAC1C,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/endpointsGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Gets a Traffic Manager endpoint.
|
|
15
|
+
*
|
|
16
|
+
* @summary Gets a Traffic Manager endpoint.
|
|
17
|
+
* x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithGeoMapping.json
|
|
18
|
+
*/
|
|
19
|
+
function endpointGetExternalWithGeoMapping() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "{subscription-id}";
|
|
22
|
+
const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191";
|
|
23
|
+
const profileName = "azuresdkfornetautoresttrafficmanager8224";
|
|
24
|
+
const endpointType = "ExternalEndpoints";
|
|
25
|
+
const endpointName = "My%20external%20endpoint";
|
|
26
|
+
const credential = new DefaultAzureCredential();
|
|
27
|
+
const client = new TrafficManagerManagementClient(credential, subscriptionId);
|
|
28
|
+
const result = yield client.endpoints.get(resourceGroupName, profileName, endpointType, endpointName);
|
|
29
|
+
console.log(result);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
endpointGetExternalWithGeoMapping().catch(console.error);
|
|
33
|
+
/**
|
|
34
|
+
* This sample demonstrates how to Gets a Traffic Manager endpoint.
|
|
35
|
+
*
|
|
36
|
+
* @summary Gets a Traffic Manager endpoint.
|
|
37
|
+
* x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithLocation.json
|
|
38
|
+
*/
|
|
39
|
+
function endpointGetExternalWithLocation() {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
const subscriptionId = "{subscription-id}";
|
|
42
|
+
const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421";
|
|
43
|
+
const profileName = "azsmnet6386";
|
|
44
|
+
const endpointType = "ExternalEndpoints";
|
|
45
|
+
const endpointName = "azsmnet7187";
|
|
46
|
+
const credential = new DefaultAzureCredential();
|
|
47
|
+
const client = new TrafficManagerManagementClient(credential, subscriptionId);
|
|
48
|
+
const result = yield client.endpoints.get(resourceGroupName, profileName, endpointType, endpointName);
|
|
49
|
+
console.log(result);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
endpointGetExternalWithLocation().catch(console.error);
|
|
53
|
+
/**
|
|
54
|
+
* This sample demonstrates how to Gets a Traffic Manager endpoint.
|
|
55
|
+
*
|
|
56
|
+
* @summary Gets a Traffic Manager endpoint.
|
|
57
|
+
* x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-GET-External-WithSubnetMapping.json
|
|
58
|
+
*/
|
|
59
|
+
function endpointGetExternalWithSubnetMapping() {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
const subscriptionId = "{subscription-id}";
|
|
62
|
+
const resourceGroupName = "azuresdkfornetautoresttrafficmanager2191";
|
|
63
|
+
const profileName = "azuresdkfornetautoresttrafficmanager8224";
|
|
64
|
+
const endpointType = "ExternalEndpoints";
|
|
65
|
+
const endpointName = "My%20external%20endpoint";
|
|
66
|
+
const credential = new DefaultAzureCredential();
|
|
67
|
+
const client = new TrafficManagerManagementClient(credential, subscriptionId);
|
|
68
|
+
const result = yield client.endpoints.get(resourceGroupName, profileName, endpointType, endpointName);
|
|
69
|
+
console.log(result);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
endpointGetExternalWithSubnetMapping().catch(console.error);
|
|
73
|
+
//# sourceMappingURL=endpointsGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointsGetSample.js","sourceRoot":"","sources":["../../samples-dev/endpointsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,0CAA0C,CAAC;QACrE,MAAM,WAAW,GAAG,0CAA0C,CAAC;QAC/D,MAAM,YAAY,GAAG,mBAAmB,CAAC;QACzC,MAAM,YAAY,GAAG,0BAA0B,CAAC;QAChD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,GAAG,CACvC,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,C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AM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oCAAoC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/endpointsUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { TrafficManagerManagementClient } from "@azure/arm-trafficmanager";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
/**
|
|
14
|
+
* This sample demonstrates how to Update a Traffic Manager endpoint.
|
|
15
|
+
*
|
|
16
|
+
* @summary Update a Traffic Manager endpoint.
|
|
17
|
+
* x-ms-original-file: specification/trafficmanager/resource-manager/Microsoft.Network/stable/2018-08-01/examples/Endpoint-PATCH-External-Target.json
|
|
18
|
+
*/
|
|
19
|
+
function endpointPatchExternalTarget() {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const subscriptionId = "{subscription-id}";
|
|
22
|
+
const resourceGroupName = "azuresdkfornetautoresttrafficmanager1421";
|
|
23
|
+
const profileName = "azsmnet6386";
|
|
24
|
+
const endpointType = "ExternalEndpoints";
|
|
25
|
+
const endpointName = "azsmnet7187";
|
|
26
|
+
const parameters = {
|
|
27
|
+
name: "azsmnet7187",
|
|
28
|
+
type: "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
|
|
29
|
+
id: "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
|
|
30
|
+
target: "another.foobar.contoso.com"
|
|
31
|
+
};
|
|
32
|
+
const credential = new DefaultAzureCredential();
|
|
33
|
+
const client = new TrafficManagerManagementClient(credential, subscriptionId);
|
|
34
|
+
const result = yield client.endpoints.update(resourceGroupName, profileName, endpointType, endpointName, parameters);
|
|
35
|
+
console.log(result);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
endpointPatchExternalTarget().catch(console.error);
|
|
39
|
+
//# sourceMappingURL=endpointsUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpointsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/endpointsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,8BAA8B,EAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,0CAA0C,CAAC;QACrE,MAAM,WAAW,GAAG,aAAa,CAAC;QAClC,MAAM,YAAY,GAAG,mBAAmB,CAAC;QACzC,MAAM,YAAY,GAAG,aAAa,CAAC;QACnC,MAAM,UAAU,GAAa;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,4DAA4D;YAClE,EAAE,EACA,uLAAuL;YACzL,MAAM,EAAE,4BAA4B;SACrC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,MAAM,CAC1C,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geographicHierarchiesGetDefaultSample.d.ts","sourceRoot":"","sources":["../../samples-dev/geographicHierarchiesGetDefaultSample.ts"],"names":[],"mappings":""}
|