swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector RealUserMetrics API schemes: - https tags: - name: RealUserMetrics paths: /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys: get: tags: - RealUserMetrics operationId: microsoftAzureTrafficmanagerusermetricskeysGet description: Get the subscription-level key used for Real User Metrics collection. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: The subscription-level Traffic Manager Real User Metrics key. schema: $ref: '#/definitions/TrafficManagerUserMetricsKeyModel' default: description: Default response. It will be deserialized as per the Error definition. schema: $ref: '#/definitions/CloudError' x-ms-examples: TrafficManagerUserMetricsKeys-GET: $ref: ./examples/TrafficManagerUserMetricsKeys-GET.json summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Network Trafficmanagerusermetricskeys put: tags: - RealUserMetrics operationId: microsoftAzureTrafficmanagerusermetricskeysCreateorupdate description: Create or update a subscription-level key used for Real User Metrics collection. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '201': description: A new subscription-level key has been created for Real User Metrics collection. schema: $ref: '#/definitions/TrafficManagerUserMetricsKeyModel' default: description: Default response. It will be deserialized as per the Error definition. schema: $ref: '#/definitions/CloudError' x-ms-examples: TrafficManagerUserMetricsKeys-PUT: $ref: ./examples/TrafficManagerUserMetricsKeys-PUT.json summary: Microsoft Azure Put Subscriptions Subscriptionid Providers Microsoft Network Trafficmanagerusermetricskeys delete: tags: - RealUserMetrics operationId: microsoftAzureTrafficmanagerusermetricskeysDelete description: Delete a subscription-level key used for Real User Metrics collection. parameters: - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/SubscriptionIdParameter' responses: '200': description: The Traffic Manager Real User Metrics key was deleted successfully. schema: $ref: '#/definitions/DeleteOperationResult' default: description: Default response. It will be deserialized as per the Error definition. schema: $ref: '#/definitions/CloudError' x-ms-examples: TrafficManagerUserMetricsKeys-DELETE: $ref: ./examples/TrafficManagerUserMetricsKeys-DELETE.json summary: Microsoft Azure Delete Subscriptions Subscriptionid Providers Microsoft Network Trafficmanagerusermetricskeys definitions: ProxyResource: description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags allOf: - $ref: '#/definitions/Resource' Resource: description: The core properties of ARM resources properties: id: readOnly: true type: string description: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName} name: readOnly: true type: string description: The name of the resource type: readOnly: true type: string description: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles. x-ms-azure-resource: true CloudError: type: object properties: error: $ref: '#/definitions/CloudErrorBody' description: The content of the error. description: An error returned by the Azure Resource Manager x-ms-external: true DeleteOperationResult: properties: boolean: type: boolean x-ms-client-name: operationResult readOnly: true description: The result of the operation or request. description: The result of the request or operation. CloudErrorBody: type: object properties: code: type: string description: Error code message: type: string description: Error message target: type: string description: Error target details: type: array items: $ref: '#/definitions/CloudErrorBody' description: Error details description: The content of an error returned by the Azure Resource Manager x-ms-external: true TrafficManagerUserMetricsKeyModel: properties: id: type: string description: Fully qualified resource Id for the resource. Ex - /providers/Microsoft.Network/trafficManagerUserMetricsKeys name: type: string description: The word default. type: type: string description: The type of the resource. Ex- Microsoft.Network/trafficManagerUserMetricsKeys. key: type: string description: The key returned by the Real User Metrics operation. allOf: - $ref: '#/definitions/ProxyResource' description: Class representing a Traffic Manager Real User Metrics key response. parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: Client Api Version. SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'