diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json index 7e26c29ba56a..f4f975129574 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesCreateEventHub.json @@ -15,6 +15,12 @@ "keyName": "managementKey", "sharedAccessKey": "someSecretvalue", "timestampPropertyName": "someTimestampProperty", + "localTimestamp": { + "format": "TimeSpan", + "timeZoneOffset": { + "propertyName": "someEventPropertyName" + } + }, "ingressStartAt": { "type": "EarliestAvailable" } @@ -39,6 +45,12 @@ "keyName": "managementKey", "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", + "localTimestamp": { + "format": "TimeSpan", + "timeZoneOffset": { + "propertyName": "someEventPropertyName" + } + }, "ingressStartAt": { "type": "EarliestAvailable" } @@ -61,6 +73,12 @@ "keyName": "managementKey", "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", + "localTimestamp": { + "format": "TimeSpan", + "timeZoneOffset": { + "propertyName": "someEventPropertyName" + } + }, "ingressStartAt": { "type": "EarliestAvailable" } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json index 8f36cdfadf48..652e5ae11835 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesGetEventHub.json @@ -23,6 +23,12 @@ "keyName": "managementKey", "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", + "localTimestamp": { + "format": "TimeSpan", + "timeZoneOffset": { + "propertyName": "someEventPropertyName" + } + }, "ingressStartAt": { "type": "EarliestAvailable" } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json index 5201d9baafcf..2a05758b173a 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesListByEnvironment.json @@ -24,6 +24,12 @@ "keyName": "managementKey", "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", + "localTimestamp": { + "format": "TimeSpan", + "timeZoneOffset": { + "propertyName": "someEventPropertyName" + } + }, "ingressStartAt": { "type": "EarliestAvailable" } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json index fc2c6b53920c..1e86b5be3c74 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/examples/EventSourcesPatchTags.json @@ -31,6 +31,12 @@ "provisioningState": "Succeeded", "creationTime": "2017-04-18T19:20:33.2288820Z", "timestampPropertyName": "someOtherTimestampProperty", + "localTimestamp": { + "format": "TimeSpan", + "timeZoneOffset": { + "propertyName": "someEventPropertyName" + } + }, "ingressStartAt": { "type": "EarliestAvailable" } diff --git a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json index f41cffee5c2c..ff49d958ffc6 100644 --- a/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/stable/2020-05-15/timeseriesinsights.json @@ -1144,6 +1144,99 @@ "readOnly": true } } + }, + "origin": { + "title": "The intended executor of the operation.", + "type": "string" + }, + "properties": { + "title": "Properties of the operation, including metric specifications.", + "type": "object", + "x-ms-client-flatten": true, + "x-ms-client-name": "OperationProperties", + "$ref": "#/definitions/OperationProperties" + } + } + }, + "OperationProperties": { + "description": "Properties of operation, include metric specifications.", + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "One property of operation, include metric specifications." + } + } + }, + "ServiceSpecification": { + "description": "One property of operation, include metric specifications.", + "type": "object", + "properties": { + "metricSpecifications": { + "description": "Metric specifications of operation.", + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + } + } + }, + "MetricSpecification": { + "description": "Metric specification of operation.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of metric specification." + }, + "displayName": { + "type": "string", + "description": "Display name of metric specification." + }, + "displayDescription": { + "type": "string", + "description": "Display description of metric specification." + }, + "unit": { + "type": "string", + "description": "Unit could be Bytes or Count." + }, + "dimensions": { + "description": "Dimensions of blobs, including blob type and access tier.", + "type": "array", + "items": { + "$ref": "#/definitions/Dimension" + } + }, + "aggregationType": { + "type": "string", + "description": "Aggregation type could be Average." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "The property to decide fill gap with zero or not." + }, + "category": { + "type": "string", + "description": "The category this metric specification belong to, could be Capacity." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "Account Resource Id." + } + } + }, + "Dimension": { + "description": "Dimension of blobs, possibly be blob type or access tier.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Display name of dimension." + }, + "displayName": { + "type": "string", + "description": "Display name of dimension." } } }, @@ -1353,7 +1446,11 @@ "x-ms-enum": { "name": "EnvironmentKind", "modelAsString": true - } + }, + "x-ms-mutability": [ + "create", + "read" + ] }, "sku": { "$ref": "#/definitions/Sku", @@ -2077,6 +2174,10 @@ "type": "string", "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." }, + "localTimestamp": { + "$ref": "#/definitions/LocalTimestamp", + "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." + }, "ingressStartAt": { "x-ms-client-flatten": true, "$ref": "#/definitions/IngressStartAtProperties", @@ -2250,10 +2351,6 @@ "timestampPropertyName": { "type": "string", "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." - }, - "localTimestamp": { - "$ref": "#/definitions/LocalTimestamp", - "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." } } }, @@ -2455,7 +2552,11 @@ "properties": { "principalObjectId": { "type": "string", - "description": "The objectId of the principal in Azure Active Directory." + "description": "The objectId of the principal in Azure Active Directory.", + "x-ms-mutability": [ + "create", + "read" + ] }, "description": { "type": "string",