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

acr: updating existing version to fix swagger quality issue in s360 #12690

Merged
merged 7 commits into from
Feb 2, 2021
Merged
Show file tree
Hide file tree
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 @@ -473,6 +473,11 @@
}
}
},
"x-ms-examples": {
"OperationList": {
"$ref": "./examples/OperationList.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down Expand Up @@ -2338,6 +2343,13 @@
"items": {
"$ref": "#/definitions/OperationMetricSpecificationDefinition"
}
},
"logSpecifications": {
"description": "A list of Azure Monitoring log definitions.",
"type": "array",
"items": {
"$ref": "#/definitions/OperationLogSpecificationDefinition"
}
}
}
},
Expand Down Expand Up @@ -2371,6 +2383,24 @@
}
}
},
"OperationLogSpecificationDefinition": {
"description": "The definition of Azure Monitoring log.",
"type": "object",
"properties": {
"name": {
"description": "Log name.",
"type": "string"
},
"displayName": {
"description": "Log display name.",
"type": "string"
},
"blobDuration": {
"description": "Log blob duration.",
"type": "string"
}
}
},
"PipelineRun": {
"description": "An object that represents a pipeline run for a container registry.",
"type": "object",
Expand Down Expand Up @@ -2855,6 +2885,19 @@
"name": "PublicNetworkAccess",
"modelAsString": true
}
},
"networkRuleBypassOptions": {
"description": "Whether to allow trusted Azure services to access a network restricted registry.",
"default": "AzureServices",
"enum": [
"AzureServices",
"None"
],
"type": "string",
"x-ms-enum": {
"name": "NetworkRuleBypassOptions",
"modelAsString": true
}
}
}
},
Expand Down Expand Up @@ -3134,6 +3177,10 @@
"description": "The parameters for updating a container registry.",
"type": "object",
"properties": {
"identity": {
"$ref": "#/definitions/IdentityProperties",
"description": "The identity of the container registry."
},
"tags": {
"description": "The tags for the container registry.",
"type": "object",
Expand All @@ -3145,10 +3192,6 @@
"$ref": "#/definitions/Sku",
"description": "The SKU of the container registry."
},
"identity": {
"$ref": "#/definitions/IdentityProperties",
"description": "The identity of the container registry."
},
"properties": {
"$ref": "#/definitions/RegistryPropertiesUpdateParameters",
"description": "The properties that the container registry will be updated with.",
Expand Down Expand Up @@ -3191,6 +3234,19 @@
"name": "PublicNetworkAccess",
"modelAsString": true
}
},
"networkRuleBypassOptions": {
"description": "Whether to allow trusted Azure services to access a network restricted registry.",
"default": "AzureServices",
"enum": [
"AzureServices",
"None"
],
"type": "string",
"x-ms-enum": {
"name": "NetworkRuleBypassOptions",
"modelAsString": true
}
}
}
},
Expand Down Expand Up @@ -3585,14 +3641,16 @@
"properties": {
"serviceUri": {
"description": "The service URI for the webhook to post notifications.",
"type": "string"
"type": "string",
"x-ms-secret": true
},
"customHeaders": {
"description": "Custom headers that will be added to the webhook notifications.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"x-ms-secret": true
},
"status": {
"description": "The status of the webhook at the time the operation was called.",
Expand Down Expand Up @@ -3654,14 +3712,16 @@
"properties": {
"serviceUri": {
"description": "The service URI for the webhook to post notifications.",
"type": "string"
"type": "string",
"x-ms-secret": true
},
"customHeaders": {
"description": "Custom headers that will be added to the webhook notifications.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"x-ms-secret": true
},
"status": {
"description": "The status of the webhook at the time the operation was called.",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2020-11-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.ContainerRegistry/locations/deleteVirtualNetworkOrSubnets/action",
"display": {
"provider": "Microsoft ContainerRegistry",
"resource": "",
"operation": "Delete virtual network or subnets notifications",
"description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,11 @@
}
}
},
"x-ms-examples": {
"OperationList": {
"$ref": "./examples/OperationList.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down Expand Up @@ -3534,6 +3539,13 @@
"items": {
"$ref": "#/definitions/OperationMetricSpecificationDefinition"
}
},
"logSpecifications": {
"description": "A list of Azure Monitoring log definitions.",
"type": "array",
"items": {
"$ref": "#/definitions/OperationLogSpecificationDefinition"
}
}
}
},
Expand Down Expand Up @@ -3567,6 +3579,24 @@
}
}
},
"OperationLogSpecificationDefinition": {
"description": "The definition of Azure Monitoring log.",
"type": "object",
"properties": {
"name": {
"description": "Log name.",
"type": "string"
},
"displayName": {
"description": "Log display name.",
"type": "string"
},
"blobDuration": {
"description": "Log blob duration.",
"type": "string"
}
}
},
"PipelineRun": {
"description": "An object that represents a pipeline run for a container registry.",
"type": "object",
Expand Down Expand Up @@ -4356,6 +4386,10 @@
"description": "The parameters for updating a container registry.",
"type": "object",
"properties": {
"identity": {
"$ref": "#/definitions/IdentityProperties",
"description": "The identity of the container registry."
},
"tags": {
"description": "The tags for the container registry.",
"type": "object",
Expand All @@ -4367,10 +4401,6 @@
"$ref": "#/definitions/Sku",
"description": "The SKU of the container registry."
},
"identity": {
"$ref": "#/definitions/IdentityProperties",
"description": "The identity of the container registry."
},
"properties": {
"$ref": "#/definitions/RegistryPropertiesUpdateParameters",
"description": "The properties that the container registry will be updated with.",
Expand Down Expand Up @@ -5200,14 +5230,16 @@
"properties": {
"serviceUri": {
"description": "The service URI for the webhook to post notifications.",
"type": "string"
"type": "string",
"x-ms-secret": true
},
"customHeaders": {
"description": "Custom headers that will be added to the webhook notifications.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"x-ms-secret": true
},
"status": {
"description": "The status of the webhook at the time the operation was called.",
Expand Down Expand Up @@ -5269,14 +5301,16 @@
"properties": {
"serviceUri": {
"description": "The service URI for the webhook to post notifications.",
"type": "string"
"type": "string",
"x-ms-secret": true
},
"customHeaders": {
"description": "Custom headers that will be added to the webhook notifications.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"x-ms-secret": true
},
"status": {
"description": "The status of the webhook at the time the operation was called.",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2020-11-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.ContainerRegistry/locations/deleteVirtualNetworkOrSubnets/action",
"display": {
"provider": "Microsoft ContainerRegistry",
"resource": "",
"operation": "Delete virtual network or subnets notifications",
"description": "Notifies Microsoft.ContainerRegistry that virtual network or subnet is being deleted"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@
}
}
},
"x-ms-examples": {
"OperationList": {
"$ref": "./examples/OperationList.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"api-version": "2017-10-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.ContainerRegistry/operations/read",
"display": {
"provider": "",
"resource": "",
"operation": "",
"description": ""
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@
}
}
},
"x-ms-examples": {
"OperationList": {
"$ref": "./examples/OperationList.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
Expand Down Expand Up @@ -1992,14 +1997,16 @@
"properties": {
"serviceUri": {
"description": "The service URI for the webhook to post notifications.",
"type": "string"
"type": "string",
"x-ms-secret": true
},
"customHeaders": {
"description": "Custom headers that will be added to the webhook notifications.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"x-ms-secret": true
},
"status": {
"description": "The status of the webhook at the time the operation was called.",
Expand Down Expand Up @@ -2061,14 +2068,16 @@
"properties": {
"serviceUri": {
"description": "The service URI for the webhook to post notifications.",
"type": "string"
"type": "string",
"x-ms-secret": true
},
"customHeaders": {
"description": "Custom headers that will be added to the webhook notifications.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"x-ms-secret": true
},
"status": {
"description": "The status of the webhook at the time the operation was called.",
Expand Down
Loading