Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.PowerBIdedicated to add …
Browse files Browse the repository at this point in the history
…version stable/2017-10-01 (Azure#15915)

* Update missing properties in PowerBIDedicated objects 2017-10-01

* Move PowerBIDedicated properties to new definitions

* Realign error response to recommended schema. 202 response not necessary in older api-version.
  • Loading branch information
cfurmanczyk authored Nov 9, 2021
1 parent 1c2ed77 commit 99c77e2
Showing 1 changed file with 130 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,25 @@
"description": "Operation type: create, update, delete, etc.",
"type": "string",
"readOnly": true
},
"description": {
"type": "string",
"description": "Localized description of the operation."
}
}
},
"origin": {
"type": "string",
"description": "Executor of the operation.",
"readOnly": true
},
"properties": {
"type": "object",
"description": "Additional properties to expose performance metrics to shoebox.",
"properties": {
"serviceSpecification": {
"$ref": "#/definitions/ServiceSpecification",
"description": "Service specification for exposing performance metrics to shoebox."
}
}
}
Expand Down Expand Up @@ -830,6 +849,11 @@
"modelAsString": true
},
"description": "The name of the Azure pricing tier to which the SKU applies."
},
"capacity": {
"type": "integer",
"format": "int32",
"description": "The capacity of the SKU."
}
},
"required": [
Expand All @@ -848,6 +872,16 @@
"description": "The capacity mode.",
"type": "string",
"readOnly": true
},
"tenantId": {
"type": "string",
"description": "Tenant ID for the capacity. Used for creating Pro Plus capacity.",
"readOnly": true
},
"friendlyName": {
"type": "string",
"description": "Capacity name",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -895,6 +929,10 @@
"description": "An object that represents SKU details for existing resources",
"type": "object",
"properties": {
"resourceType": {
"type": "string",
"description": "The resource type"
},
"sku": {
"$ref": "#/definitions/ResourceSku",
"description": "The SKU in SKU details for existing resources."
Expand Down Expand Up @@ -955,6 +993,98 @@
"description": "The detailed message of the request unavailability."
}
}
},
"ServiceSpecification": {
"type": "object",
"description": "Service specification for exposing performance metrics to shoebox.",
"properties": {
"metricSpecifications": {
"type": "array",
"description": "Metric specifications for exposing performance metrics to shoebox.",
"items": {
"$ref": "#/definitions/MetricSpecification"
}
},
"logSpecifications": {
"type": "array",
"description": "Log specifications for exposing diagnostic logs to shoebox.",
"items": {
"$ref": "#/definitions/LogSpecification"
}
}
}
},
"MetricSpecification": {
"type": "object",
"description": "Metric specification for exposing performance metrics to shoebox.",
"properties": {
"name": {
"type": "string",
"description": "Metric name",
"readOnly": true
},
"displayName": {
"type": "string",
"description": "Localizable metric name"
},
"displayDescription": {
"type": "string",
"description": "Localizable description of metric"
},
"unit": {
"type": "string",
"description": "Unit for the metric",
"readOnly": true
},
"aggregationType": {
"type": "string",
"description": "Aggregation type for the metric",
"readOnly": true
},
"metricFilterPattern": {
"type": "string",
"description": "Pattern used to filter the metric",
"readOnly": true
},
"dimensions": {
"type": "array",
"description": "For describing multi dimensional metrics",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Dimension of the metric",
"readOnly": true
},
"displayName": {
"type": "string",
"description": "Localizable dimension of the metric"
}
}
}
}
}
},
"LogSpecification": {
"description": "Log specification for exposing diagnostic logs to shoebox.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the log",
"readOnly": true
},
"displayName": {
"type": "string",
"description": "Localizable name of the log"
},
"blobDuration": {
"type": "string",
"description": "Blob duration for the log",
"readOnly": true
}
}
}
},
"parameters": {
Expand Down

0 comments on commit 99c77e2

Please sign in to comment.