Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.AppConfiguration - Correctness + Lint #11338

Merged
merged 2 commits into from
Oct 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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