Skip to content

Commit

Permalink
Microsoft.AppConfiguration - Correctness + Lint (#11338)
Browse files Browse the repository at this point in the history
* Fixed lint error.

* Added missing operation fields.
  • Loading branch information
jimmyca15 authored Oct 23, 2020
1 parent 72f9060 commit a071c57
Showing 1 changed file with 120 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/ListKeys": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeys": {
"post": {
"tags": [
"ConfigurationStores"
Expand Down Expand Up @@ -414,7 +414,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/RegenerateKey": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey": {
"post": {
"tags": [
"ConfigurationStores"
Expand Down Expand Up @@ -1431,9 +1431,21 @@
"description": "Operation name: {provider}/{resource}/{operation}.",
"type": "string"
},
"isDataAction": {
"description": "Indicates whether the operation is a data action",
"type": "boolean"
},
"display": {
"$ref": "#/definitions/OperationDefinitionDisplay",
"description": "The display information for the configuration store operation."
},
"origin": {
"description": "Origin of the operation",
"type": "string"
},
"properties": {
"$ref": "#/definitions/OperationProperties",
"description": "Properties of the operation"
}
}
},
Expand All @@ -1460,6 +1472,112 @@
}
}
},
"OperationProperties": {
"description": "Extra Operation properties",
"type": "object",
"properties": {
"serviceSpecification": {
"$ref": "#/definitions/ServiceSpecification",
"description": "Service specifications of the operation"
}
}
},
"ServiceSpecification": {
"description": "Service specification payload",
"type": "object",
"properties": {
"logSpecifications": {
"description": "Specifications of the Log for Azure Monitoring",
"uniqueItems": false,
"type": "array",
"items": {
"$ref": "#/definitions/LogSpecification"
}
},
"metricSpecifications": {
"description": "Specifications of the Metrics for Azure Monitoring",
"uniqueItems": false,
"type": "array",
"items": {
"$ref": "#/definitions/MetricSpecification"
}
}
}
},
"LogSpecification": {
"description": "Specifications of the Log for Azure Monitoring",
"type": "object",
"properties": {
"name": {
"description": "Name of the log",
"type": "string"
},
"displayName": {
"description": "Localized friendly display name of the log",
"type": "string"
},
"blobDuration": {
"description": "Blob duration of the log",
"type": "string"
}
}
},
"MetricSpecification": {
"description": "Specifications of the Metrics for Azure Monitoring",
"type": "object",
"properties": {
"name": {
"description": "Name of the metric",
"type": "string"
},
"displayName": {
"description": "Localized friendly display name of the metric",
"type": "string"
},
"displayDescription": {
"description": "Localized friendly description of the metric",
"type": "string"
},
"unit": {
"description": "Unit that makes sense for the metric",
"type": "string"
},
"aggregationType": {
"description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.",
"type": "string"
},
"internalMetricName": {
"description": "Internal metric name.",
"type": "string"
},
"dimensions": {
"description": "Dimensions of the metric",
"uniqueItems": false,
"type": "array",
"items": {
"$ref": "#/definitions/MetricDimension"
}
}
}
},
"MetricDimension": {
"description": "Specifications of the Dimension of metrics",
"type": "object",
"properties": {
"name": {
"description": "Name of the dimension",
"type": "string"
},
"displayName": {
"description": "Localized friendly display name of the dimension",
"type": "string"
},
"internalName": {
"description": "Internal name of the dimension.",
"type": "string"
}
}
},
"ResourceIdentity": {
"type": "object",
"description": "An identity that can be associated with a resource.",
Expand Down

0 comments on commit a071c57

Please sign in to comment.