openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 76 kB
JSON
{"openapi":"3.0.0","info":{"description":"Time Series Insights client","title":"TimeSeriesInsightsClient","version":"2018-08-15-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2018-08-15-preview/timeseriesinsights.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"timeseriesinsights","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.TimeSeriesInsights/operations":{"get":{"description":"Lists all of the available Time Series Insights related operations.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Successfully listed the available operations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResult"},"examples":{"List available operations for the Time Series Insights resource provider":{"$ref":"#/components/examples/List_available_operations_for_the_Time_Series_Insights_resource_provider"}}}}}},"tags":["Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.TimeSeriesInsights/environments":{"get":{"description":"Lists all the available environments within a subscription, irrespective of the resource groups.","operationId":"Environments_ListBySubscription","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Environments returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentListResponse"},"examples":{"EnvironmentsBySubscription":{"$ref":"#/components/examples/EnvironmentsBySubscription"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Environments"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments":{"get":{"description":"Lists all the available environments associated with the subscription and within the specified resource group.","operationId":"Environments_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Environments returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentListResponse"},"examples":{"EnvironmentsByResourceGroup":{"$ref":"#/components/examples/EnvironmentsByResourceGroup"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, or resource group could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Environments"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}":{"delete":{"description":"Deletes the environment with the specified name in the specified subscription and resource group.","operationId":"Environments_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The environment was successfully deleted."},"204":{"description":"The environment was successfully deleted."},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, or environment could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Environments"]},"get":{"description":"Gets the environment with the specified name in the specified subscription and resource group.","operationId":"Environments_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/ExpandParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The environment definition was successfully retrieved and is in the response. If you are polling for the completion of a provisioning or scale operation, you can check its status via the provisioningState property.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResource"},"examples":{"EnvironmentsGet":{"$ref":"#/components/examples/EnvironmentsGet"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, or environment could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Environments"]},"patch":{"description":"Updates the environment with the specified name in the specified subscription and resource group.","operationId":"Environments_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentUpdateParameters"}}},"description":"Request object that contains the updated information for the environment.","required":true},"responses":{"200":{"description":"The environment definition was successfully updated and is in the response. If the environment was updated synchronously, the response will include a provisioningState value of \"Succeeded\". If the environment was updated asynchronous, the response will include a provisioningState value of \"Updating\". You can periodically get your environment definition and monitor progress of the update via the provisioningState property.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResource"},"examples":{"EnvironmentsUpdate":{"$ref":"#/components/examples/EnvironmentsUpdate"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, or environment could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Environments"],"x-ms-long-running-operation":true},"put":{"description":"Create or update an environment in the specified subscription and resource group.","operationId":"Environments_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"Name of the environment","in":"path","name":"environmentName","required":true,"schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"EnvironmentsCreate":{"value":"env1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentCreateOrUpdateParameters"}}},"description":"Parameters for creating an environment resource.","required":true},"responses":{"200":{"description":"The existing environment definition was successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResource"},"examples":{"EnvironmentsCreate":{"$ref":"#/components/examples/EnvironmentsCreate"}}}}},"201":{"description":"The environment create request was accepted. Environment provisioning is an asynchronous operation. You can periodically get your environment definition and monitor progress via the provisioningState property.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentResource"},"examples":{"EnvironmentsCreate":{"$ref":"#/components/examples/EnvironmentsCreate"}}}}},"404":{"description":"The subscription or resource group could not be found."},"default":{"description":"HTTP 400 (Bad Request): The given environment request body is invalid; See the error code and message in the response for details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Environments"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies":{"get":{"description":"Lists all the available access policies associated with the environment.","operationId":"AccessPolicies_ListByEnvironment","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"access policies returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessPolicyListResponse"},"examples":{"AccessPoliciesByEnvironment":{"$ref":"#/components/examples/AccessPoliciesByEnvironment"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, or environment could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AccessPolicies"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}":{"delete":{"description":"Deletes the access policy with the specified name in the specified subscription, resource group, and environment","operationId":"AccessPolicies_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/AccessPolicyNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The access policy was successfully deleted."},"204":{"description":"The access policy was successfully deleted."},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, environment, or access policy could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AccessPolicies"]},"get":{"description":"Gets the access policy with the specified name in the specified environment.","operationId":"AccessPolicies_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/AccessPolicyNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The access policy definition was successfully retrieved and is in the response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessPolicyResource"},"examples":{"AccessPoliciesGet":{"$ref":"#/components/examples/AccessPoliciesGet"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, environment, or access policy could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AccessPolicies"]},"patch":{"description":"Updates the access policy with the specified name in the specified subscription, resource group, and environment.","operationId":"AccessPolicies_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/AccessPolicyNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessPolicyUpdateParameters"}}},"description":"Request object that contains the updated information for the access policy.","required":true},"responses":{"200":{"description":"The access policy definition was successfully updated and is in the response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessPolicyResource"},"examples":{"AccessPoliciesUpdate":{"$ref":"#/components/examples/AccessPoliciesUpdate"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, environment, or access policy could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AccessPolicies"]},"put":{"description":"Create or update an access policy in the specified environment.","operationId":"AccessPolicies_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"description":"Name of the access policy.","in":"path","name":"accessPolicyName","required":true,"schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"AccessPoliciesCreate":{"value":"ap1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessPolicyCreateOrUpdateParameters"}}},"description":"Parameters for creating an access policy.","required":true},"responses":{"200":{"description":"The existing access policy definition was successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessPolicyResource"},"examples":{"AccessPoliciesCreate":{"$ref":"#/components/examples/AccessPoliciesCreate"}}}}},"201":{"description":"The access policy was successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessPolicyResource"},"examples":{"AccessPoliciesCreate":{"$ref":"#/components/examples/AccessPoliciesCreate"}}}}},"default":{"description":"HTTP 400 (Bad Request): The given access policy request body is invalid; See the error code and message in the response for details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["AccessPolicies"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources":{"get":{"description":"Lists all the available event sources associated with the subscription and within the specified resource group and environment.","operationId":"EventSources_ListByEnvironment","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Environments returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSourceListResponse"},"examples":{"ListEventSourcesByEnvironment":{"$ref":"#/components/examples/ListEventSourcesByEnvironment"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, or environment could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["EventSources"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/eventSources/{eventSourceName}":{"delete":{"description":"Deletes the event source with the specified name in the specified subscription, resource group, and environment","operationId":"EventSources_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/EventSourceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The event source was successfully deleted."},"204":{"description":"The event source was successfully deleted."},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, environment, or event source could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["EventSources"]},"get":{"description":"Gets the event source with the specified name in the specified environment.","operationId":"EventSources_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/EventSourceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The event source definition was successfully retrieved and is in the response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSourceResource"},"examples":{"GetEventHubEventSource":{"$ref":"#/components/examples/GetEventHubEventSource"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, environment, or event source could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["EventSources"]},"patch":{"description":"Updates the event source with the specified name in the specified subscription, resource group, and environment.","operationId":"EventSources_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/EventSourceNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSourceUpdateParameters"}}},"description":"Request object that contains the updated information for the event source.","required":true},"responses":{"200":{"description":"The event source definition was successfully updated and is in the response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSourceResource"},"examples":{"UpdateEventSource":{"$ref":"#/components/examples/UpdateEventSource"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, environment, or event source could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["EventSources"]},"put":{"description":"Create or update an event source under the specified environment.","operationId":"EventSources_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"description":"Name of the event source.","in":"path","name":"eventSourceName","required":true,"schema":{"type":"string","minLength":1,"maxLength":90,"pattern":"^[-\\w\\._\\(\\)]+$"},"examples":{"CreateEventHubEventSource":{"value":"es1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSourceCreateOrUpdateParameters"}}},"description":"Parameters for creating an event source resource.","required":true},"responses":{"200":{"description":"The existing event source definition was successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSourceResource"},"examples":{"CreateEventHubEventSource":{"$ref":"#/components/examples/CreateEventHubEventSource"}}}}},"201":{"description":"The event source was successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSourceResource"},"examples":{"CreateEventHubEventSource":{"$ref":"#/components/examples/CreateEventHubEventSource"}}}}},"default":{"description":"HTTP 400 (Bad Request): The given event source request body is invalid; See the error code and message in the response for details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["EventSources"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets":{"get":{"description":"Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.","operationId":"ReferenceDataSets_ListByEnvironment","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Reference data sets returned successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceDataSetListResponse"},"examples":{"ReferenceDataSetsListByEnvironment":{"$ref":"#/components/examples/ReferenceDataSetsListByEnvironment"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, or environment could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["ReferenceDataSets"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/referenceDataSets/{referenceDataSetName}":{"delete":{"description":"Deletes the reference data set with the specified name in the specified subscription, resource group, and environment","operationId":"ReferenceDataSets_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/ReferenceDataSetNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The reference data set was successfully deleted."},"204":{"description":"The reference data set was successfully deleted."},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, environment, or reference data set could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["ReferenceDataSets"]},"get":{"description":"Gets the reference data set with the specified name in the specified environment.","operationId":"ReferenceDataSets_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/ReferenceDataSetNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The reference data set definition was successfully retrieved and is in the response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceDataSetResource"},"examples":{"ReferenceDataSetsGet":{"$ref":"#/components/examples/ReferenceDataSetsGet"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, environment, or reference data set could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["ReferenceDataSets"]},"patch":{"description":"Updates the reference data set with the specified name in the specified subscription, resource group, and environment.","operationId":"ReferenceDataSets_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"$ref":"#/components/parameters/ReferenceDataSetNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceDataSetUpdateParameters"}}},"description":"Request object that contains the updated information for the reference data set.","required":true},"responses":{"200":{"description":"The reference data set definition was successfully updated and is in the response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceDataSetResource"},"examples":{"ReferenceDataSetsUpdate":{"$ref":"#/components/examples/ReferenceDataSetsUpdate"}}}}},"default":{"description":"HTTP 404 (Not Found): The subscription, resource group, environment, or reference data set could not be found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["ReferenceDataSets"]},"put":{"description":"Create or update a reference data set in the specified environment.","operationId":"ReferenceDataSets_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/EnvironmentNameParameter"},{"description":"Name of the reference data set.","in":"path","name":"referenceDataSetName","required":true,"schema":{"type":"string","minLength":3,"maxLength":63,"pattern":"^[A-Za-z0-9]"},"examples":{"ReferenceDataSetsCreate":{"value":"rds1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceDataSetCreateOrUpdateParameters"}}},"description":"Parameters for creating a reference data set.","required":true},"responses":{"200":{"description":"The existing reference data set definition was successfully updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceDataSetResource"},"examples":{"ReferenceDataSetsCreate":{"$ref":"#/components/examples/ReferenceDataSetsCreate"}}}}},"201":{"description":"The reference data set was successfully created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceDataSetResource"},"examples":{"ReferenceDataSetsCreate":{"$ref":"#/components/examples/ReferenceDataSetsCreate"}}}}},"default":{"description":"HTTP 400 (Bad Request): The given reference data set request body is invalid; See the error code and message in the response for details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["ReferenceDataSets"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"List_available_operations_for_the_Time_Series_Insights_resource_provider":{"value":{"value":[{"display":{"description":"Registers the subscription for the Time Series Insights resource provider and enables the creation of Time Series Insights environments.","operation":"Registers the Time Series Insights Resource Provider","provider":"Microsoft Time Series Insights","resource":"Time Series Insights Resource Provider"},"name":"Microsoft.TimeSeriesInsights/register/action"},{"display":{"description":"Get the properties of an environment.","operation":"Read Environment","provider":"Microsoft Time Series Insights","resource":"Environment"},"name":"Microsoft.TimeSeriesInsights/environments/read"},{"display":{"description":"Creates a new environment, or updates an existing environment.","operation":"Create or Update Environment","provider":"Microsoft Time Series Insights","resource":"Environment"},"name":"Microsoft.TimeSeriesInsights/environments/write"},{"display":{"description":"Deletes the environment.","operation":"Delete Environment","provider":"Microsoft Time Series Insights","resource":"Environment"},"name":"Microsoft.TimeSeriesInsights/environments/delete"},{"display":{"description":"Get the properties of an event source.","operation":"Read Event Source","provider":"Microsoft Time Series Insights","resource":"Event Source"},"name":"Microsoft.TimeSeriesInsights/environments/eventsources/read"},{"display":{"description":"Creates a new event source for an environment, or updates an existing event source.","operation":"Create or Update Event Source","provider":"Microsoft Time Series Insights","resource":"Event Source"},"name":"Microsoft.TimeSeriesInsights/environments/eventsources/write"},{"display":{"description":"Deletes the event source.","operation":"Delete Event Source","provider":"Microsoft Time Series Insights","resource":"Event Source"},"name":"Microsoft.TimeSeriesInsights/environments/eventsources/delete"},{"display":{"description":"Get the properties of a reference data set.","operation":"Read Reference Data Set","provider":"Microsoft Time Series Insights","resource":"Reference Data Set"},"name":"Microsoft.TimeSeriesInsights/environments/referencedatasets/read"},{"display":{"description":"Creates a new reference data set for an environment, or updates an existing reference data set.","operation":"Create or Update Reference Data Set","provider":"Microsoft Time Series Insights","resource":"Reference Data Set"},"name":"Microsoft.TimeSeriesInsights/environments/referencedatasets/write"},{"display":{"description":"Deletes the reference data set.","operation":"Delete Reference Data Set","provider":"Microsoft Time Series Insights","resource":"Reference Data Set"},"name":"Microsoft.TimeSeriesInsights/environments/referencedatasets/delete"},{"display":{"description":"Get the properties of an access policy.","operation":"Read Access Policy","provider":"Microsoft Time Series Insights","resource":"Access Policy"},"name":"Microsoft.TimeSeriesInsights/environments/accesspolicies/read"},{"display":{"description":"Creates a new access policy for an environment, or updates an existing access policy.","operation":"Create or Update Access Policy","provider":"Microsoft Time Series Insights","resource":"Access Policy"},"name":"Microsoft.TimeSeriesInsights/environments/accesspolicies/write"},{"display":{"description":"Deletes the access policy.","operation":"Delete Access Policy","provider":"Microsoft Time Series Insights","resource":"Access Policy"},"name":"Microsoft.TimeSeriesInsights/environments/accesspolicies/delete"}]}},"EnvironmentsBySubscription":{"value":{"value":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1","kind":"Standard","location":"West US","name":"env1","properties":{"creationTime":"2017-04-18T19:20:33.2288820Z","dataRetentionTime":"P31D","provisioningState":"Succeeded"},"sku":{"capacity":1,"name":"S1"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments"}]}},"EnvironmentsByResourceGroup":{"value":{"value":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1","kind":"Standard","location":"West US","name":"env1","properties":{"creationTime":"2017-04-18T19:20:33.2288820Z","dataRetentionTime":"P31D","provisioningState":"Succeeded"},"sku":{"capacity":1,"name":"S1"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments"}]}},"EnvironmentsGet":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1","kind":"Standard","location":"West US","name":"env1","properties":{"creationTime":"2017-04-18T19:20:33.2288820Z","dataRetentionTime":"P31D","partitionKeyProperties":[{"name":"DeviceId1","type":"String"}],"provisioningState":"Succeeded"},"sku":{"capacity":1,"name":"S1"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments"}},"EnvironmentsUpdate":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1","kind":"Standard","location":"West US","name":"env1","properties":{"creationTime":"2017-04-18T19:20:33.2288820Z","dataRetentionTime":"P31D","provisioningState":"Succeeded"},"sku":{"capacity":10,"name":"S1"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments"}},"EnvironmentsCreate":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1","kind":"Standard","location":"West US","name":"env1","properties":{"creationTime":"2017-04-18T19:20:33.2288820Z","dataRetentionTime":"P31D","provisioningState":"Creating"},"sku":{"capacity":1,"name":"S1"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments"}},"AccessPoliciesByEnvironment":{"value":{"value":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1","name":"ap1","properties":{"description":"some description","principalObjectId":"aGuid","roles":["Reader"]},"type":"Microsoft.TimeSeriesInsights/Environments/AccessPolicies"}]}},"AccessPoliciesGet":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1","name":"ap1","properties":{"description":"some description","principalObjectId":"aGuid","roles":["Reader"]},"type":"Microsoft.TimeSeriesInsights/Environments/AccessPolicies"}},"AccessPoliciesUpdate":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1","name":"ap1","properties":{"description":"some description","principalObjectId":"aGuid","roles":["Reader"]},"type":"Microsoft.TimeSeriesInsights/Environments/AccessPolicies"}},"AccessPoliciesCreate":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/accessPolicies/ap1","name":"ap1","properties":{"description":"some description","principalObjectId":"aGuid","roles":["Reader"]},"type":"Microsoft.TimeSeriesInsights/Environments/AccessPolicies"}},"ListEventSourcesByEnvironment":{"value":{"value":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/eventSources/es1","kind":"Microsoft.EventHub","location":"West US","name":"es1","properties":{"consumerGroupName":"cgn","creationTime":"2017-04-18T19:20:33.2288820Z","eventHubName":"ehn","eventSourceResourceId":"somePathInArm","keyName":"managementKey","provisioningState":"Succeeded","serviceBusNamespace":"sbn"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments/EventSources"}]}},"GetEventHubEventSource":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/eventSources/es1","kind":"Microsoft.EventHub","location":"West US","name":"es1","properties":{"consumerGroupName":"cgn","creationTime":"2017-04-18T19:20:33.2288820Z","eventHubName":"ehn","eventSourceResourceId":"somePathInArm","keyName":"managementKey","provisioningState":"Succeeded","serviceBusNamespace":"sbn"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments/EventSources"}},"UpdateEventSource":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/eventSources/es1","kind":"Microsoft.EventHub","location":"West US","name":"es1","properties":{"consumerGroupName":"cgn","creationTime":"2017-04-18T19:20:33.2288820Z","eventHubName":"ehn","eventSourceResourceId":"somePathInArm","keyName":"managementKey","provisioningState":"Succeeded","serviceBusNamespace":"sbn","timestampPropertyName":"someOtherTimestampProperty"},"tags":{"someKey":"someValue"},"type":"Microsoft.TimeSeriesInsights/Environments/EventSources"}},"CreateEventHubEventSource":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/eventSources/es1","kind":"Microsoft.EventHub","location":"West US","name":"es1","properties":{"consumerGroupName":"cgn","creationTime":"2017-04-18T19:20:33.2288820Z","eventHubName":"ehn","eventSourceResourceId":"somePathInArm","keyName":"managementKey","provisioningState":"Succeeded","serviceBusNamespace":"sbn"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments/EventSources"}},"ReferenceDataSetsListByEnvironment":{"value":{"value":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/referenceDataSets/rds1","location":"West US","name":"rds1","properties":{"creationTime":"2017-04-18T19:20:33.2288820Z","keyProperties":[{"name":"DeviceId1","type":"String"},{"name":"DeviceFloor","type":"Double"}],"provisioningState":"Succeeded"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments/ReferenceDataSets"}]}},"ReferenceDataSetsGet":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/referenceDataSets/rds1","location":"West US","name":"rds1","properties":{"creationTime":"2017-04-18T19:20:33.2288820Z","keyProperties":[{"name":"DeviceId1","type":"String"},{"name":"DeviceFloor","type":"Double"}],"provisioningState":"Succeeded"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments/ReferenceDataSets"}},"ReferenceDataSetsUpdate":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/referenceDataSets/rds1","location":"West US","name":"rds1","properties":{"creationTime":"2017-04-18T19:20:33.2288820Z","keyProperties":[{"name":"DeviceId1","type":"String"},{"name":"DeviceFloor","type":"Double"}],"provisioningState":"Succeeded"},"tags":{"someKey":"someValue"},"type":"Microsoft.TimeSeriesInsights/Environments/ReferenceDataSets"}},"ReferenceDataSetsCreate":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1/referenceDataSets/rds1","location":"West US","name":"rds1","properties":{"creationTime":"2017-04-18T19:20:33.2288820Z","keyProperties":[{"name":"DeviceId1","type":"String"},{"name":"DeviceFloor","type":"Double"}],"provisioningState":"Succeeded"},"tags":{},"type":"Microsoft.TimeSeriesInsights/Environments/ReferenceDataSets"}}},"parameters":{"AccessPolicyNameParameter":{"description":"The name of the Time Series Insights access policy associated with the specified environment.","in":"path","name":"accessPolicyName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"AccessPoliciesDelete":{"value":"ap1"},"AccessPoliciesGet":{"value":"ap1"},"AccessPoliciesUpdate":{"value":"ap1"}}},"ApiVersionParameter":{"description":"Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"List available operations for the Time Series Insights resource provider":{"value":"2016-03-01"},"EnvironmentsBySubscription":{"value":"2018-08-15-preview"},"EnvironmentsByResourceGroup":{"value":"2018-08-15-preview"},"EnvironmentsDelete":{"value":"2018-08-15-preview"},"EnvironmentsGet":{"value":"2018-08-15-preview"},"EnvironmentsUpdate":{"value":"2018-08-15-preview"},"EnvironmentsCreate":{"value":"2018-08-15-preview"},"AccessPoliciesByEnvironment":{"value":"2018-08-15-preview"},"AccessPoliciesDelete":{"value":"2018-08-15-preview"},"AccessPoliciesGet":{"value":"2018-08-15-preview"},"AccessPoliciesUpdate":{"value":"2018-08-15-preview"},"AccessPoliciesCreate":{"value":"2018-08-15-preview"},"ListEventSourcesByEnvironment":{"value":"2018-08-15-preview"},"DeleteEventSource":{"value":"2018-08-15-preview"},"GetEventHubEventSource":{"value":"2018-08-15-preview"},"UpdateEventSource":{"value":"2018-08-15-preview"},"CreateEventHubEventSource":{"value":"2018-08-15-preview"},"ReferenceDataSetsListByEnvironment":{"value":"2018-08-15-preview"},"ReferenceDataSetsDelete":{"value":"2018-08-15-preview"},"ReferenceDataSetsGet":{"value":"2018-08-15-preview"},"ReferenceDataSetsUpdate":{"value":"2018-08-15-preview"},"ReferenceDataSetsCreate":{"value":"2018-08-15-preview"}}},"EnvironmentNameParameter":{"description":"The name of the Time Series Insights environment associated with the specified resource group.","in":"path","name":"environmentName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"EnvironmentsDelete":{"value":"env1"},"EnvironmentsGet":{"value":"env1"},"EnvironmentsUpdate":{"value":"env1"},"AccessPoliciesByEnvironment":{"value":"env1"},"AccessPoliciesDelete":{"value":"env1"},"AccessPoliciesGet":{"value":"env1"},"AccessPoliciesUpdate":{"value":"env1"},"AccessPoliciesCreate":{"value":"env1"},"ListEventSourcesByEnvironment":{"value":"env1"},"DeleteEventSource":{"value":"env1"},"GetEventHubEventSource":{"value":"env1"},"UpdateEventSource":{"value":"env1"},"CreateEventHubEventSource":{"value":"env1"},"ReferenceDataSetsListByEnvironment":{"value":"env1"},"ReferenceDataSetsDelete":{"value":"env1"},"ReferenceDataSetsGet":{"value":"env1"},"ReferenceDataSetsUpdate":{"value":"env1"},"ReferenceDataSetsCreate":{"value":"env1"}}},"EventSourceNameParameter":{"description":"The name of the Time Series Insights event source associated with the specified environment.","in":"path","name":"eventSourceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"DeleteEventSource":{"value":"es1"},"GetEventHubEventSource":{"value":"es1"},"UpdateEventSource":{"value":"es1"}}},"ExpandParameter":{"description":"Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.","in":"query","name":"$expand","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"ReferenceDataSetNameParameter":{"description":"The name of the Time Series Insights reference data set associated with the specified environment.","in":"path","name":"referenceDataSetName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ReferenceDataSetsDelete":{"value":"rds1"},"ReferenceDataSetsGet":{"value":"rds1"},"ReferenceDataSetsUpdate":{"value":"rds1"}}},"ResourceGroupNameParameter":{"description":"Name of an Azure Resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"EnvironmentsByResourceGroup":{"value":"rg1"},"EnvironmentsDelete":{"value":"rg1"},"EnvironmentsGet":{"value":"rg1"},"EnvironmentsUpdate":{"value":"rg1"},"EnvironmentsCreate":{"value":"rg1"},"AccessPoliciesByEnvironment":{"value":"rg1"},"AccessPoliciesDelete":{"value":"rg1"},"AccessPoliciesGet":{"value":"rg1"},"AccessPoliciesUpdate":{"value":"rg1"},"AccessPoliciesCreate":{"value":"rg1"},"ListEventSourcesByEnvironment":{"value":"rg1"},"DeleteEventSource":{"value":"rg1"},"GetEventHubEventSource":{"value":"rg1"},"UpdateEventSource":{"value":"rg1"},"CreateEventHubEventSource":{"value":"rg1"},"ReferenceDataSetsListByEnvironment":{"value":"rg1"},"ReferenceDataSetsDelete":{"value":"rg1"},"ReferenceDataSetsGet":{"value":"rg1"},"ReferenceDataSetsUpdate":{"value":"rg1"},"ReferenceDataSetsCreate":{"value":"rg1"}}},"SubscriptionIdParameter":{"description":"Azure Subscription ID.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"EnvironmentsBySubscription":{"value":"subid"},"EnvironmentsByResourceGroup":{"value":"subid"},"EnvironmentsDelete":{"value":"subid"},"EnvironmentsGet":{"value":"subid"},"EnvironmentsUpdate":{"value":"subid"},"EnvironmentsCreate":{"value":"subid"},"AccessPoliciesByEnvironment":{"value":"subid"},"AccessPoliciesDelete":{"value":"subid"},"AccessPoliciesGet":{"value":"subid"},"AccessPoliciesUpdate":{"value":"subid"},"AccessPoliciesCreate":{"value":"subid"},"ListEventSourcesByEnvironment":{"value":"subid"},"DeleteEventSource":{"value":"subid"},"GetEventHubEventSource":{"value":"subid"},"UpdateEventSource":{"value":"subid"},"CreateEventHubEventSource":{"value":"subid"},"ReferenceDataSetsListByEnvironment":{"value":"subid"},"ReferenceDataSetsDelete":{"value":"subid"},"ReferenceDataSetsGet":{"value":"subid"},"ReferenceDataSetsUpdate":{"value":"subid"},"ReferenceDataSetsCreate":{"value":"subid"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"AccessPolicyCreateOrUpdateParameters":{"properties":{"properties":{"$ref":"#/components/schemas/AccessPolicyResourceProperties"}},"required":["properties"]},"AccessPolicyListResponse":{"description":"The response of the List access policies operation.","properties":{"value":{"description":"Result of the List access policies operation.","items":{"$ref":"#/components/schemas/AccessPolicyResource"},"type":"array"}}},"AccessPolicyMutableProperties":{"description":"An object that represents a set of mutable access policy resource properties.","properties":{"description":{"description":"An description of the access policy.","type":"string"},"roles":{"description":"The list of roles the principal is assigned on the environment.","items":{"description":"A role defining the data plane operations that a principal can perform on a Time Series Insights client.","enum":["Reader","Contributor"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"AccessPolicyRole"}},"type":"array"}},"type":"object"},"AccessPolicyResource":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"An access policy is used to grant users and applications access to the environment. Roles are assigned to service principals in Azure Active Directory. These roles define the actions the principal can perform through the Time Series Insights data plane APIs.","properties":{"properties":{"$ref":"#/components/schemas/AccessPolicyResourceProperties"}}},"AccessPolicyResourceProperties":{"properties":{"description":{"description":"An description of the access policy.","type":"string"},"principalObjectId":{"description":"The objectId of the principal in Azure Active Directory.","type":"string"},"roles":{"description":"The list of roles the principal is assigned on the environment.","items":{"description":"A role defining the data plane operations that a principal can perform on a Time Series Insights client.","enum":["Reader","Contributor"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"AccessPolicyRole"}},"type":"array"}}},"AccessPolicyUpdateParameters":{"properties":{"properties":{"$ref":"#/components/schemas/AccessPolicyMutableProperties"}}},"AzureEventSourceProperties":{"allOf":[{"$ref":"#/components/schemas/EventSourceCommonProperties"}],"description":"Properties of an event source that reads events from an event broker in Azure.","properties":{"eventSourceResourceId":{"description":"The resource id of the event source in Azure Resource Manager.","type":"string"}},"required":["eventSourceResourceId"]},"CloudError":{"description":"Contains information about an API error.","properties":{"error":{"$ref":"#/components/schemas/CloudErrorBody"}},"type":"object","x-ms-external":true},"CloudErrorBody":{"description":"Describes a particular API error with an error code and a message.","properties":{"code":{"description":"An error code that describes the error condition more precisely than an HTTP status code. Can be used to programmatically handle specific error cases.","type":"string"},"details":{"description":"Contains nested errors that are related to this error.","items":{"$ref":"#/components/schemas/CloudErrorBody"},"type":"array"},"message":{"description":"A message that describes the error in detail and provides debugging information.","type":"string"},"target":{"description":"The target of the particular error (for example, the name of the property in error).","type":"string"}},"type":"object","x-ms-external":true},"CreateOrUpdateTrackedResourceProperties":{"description":"Properties required to create any resource tracked by Azure Resource Manager.","properties":{"location":{"description":"The location of the resource.","type":"string","x-ms-mutability":["read","create"]},"tags":{"additionalProperties":{"type":"string"},"description":"Key-value pairs of additional properties for the resource.","type":"object"}},"required":["location"]},"EnvironmentCreateOrUpdateParameters":{"allOf":[{"$ref":"#/components/schemas/CreateOrUpdateTrackedResourceProperties"}],"description":"Parameters supplied to the CreateOrUpdate Environment operation.","discriminator":{"propertyName":"kind"},"properties":{"kind":{"description":"The kind of the environment.","enum":["Standard","LongTerm"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"Kind"}},"sku":{"$ref":"#/components/schemas/Sku"}},"required":["kind","sku"]},"EnvironmentListResponse":{"description":"The response of the List Environments operation.","properties":{"value":{"description":"Result of the List Environments operation.","items":{"$ref":"#/components/schemas/EnvironmentResource"},"type":"array"}}},"EnvironmentResource":{"allOf":[{"$ref":"#/components/schemas/TrackedResource"}],"description":"An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource.","discriminator":{"propertyName":"kind"},"properties":{"kind":{"description":"The kind of the environment.","enum":["Standard","LongTerm"],"type":"string"},"sku":{"$ref":"#/components/schemas/Sku"}},"required":["kind","sku"],"type":"object"},"EnvironmentResourceProperties":{"allOf":[{"$ref":"#/components/schemas/ResourceProperties"}],"description":"Properties of the environment.","properties":{"dataAccessFqdn":{"description":"The fully qualified domain name used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.","readOnly