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

[AzureStack] [Admin API] ACR Admin swagger spec changes #14290

Merged
merged 28 commits into from
Jun 29, 2021
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ab2f096
ACR Admin swagger spec changes
rjaini Apr 13, 2021
29dd865
Release/larisab (#1)
larysaborodina May 6, 2021
880c487
Update API changes (#2)
rjaini May 6, 2021
889ccb5
Merge branch 'Azure:master' into release/acrchanges
rjaini May 6, 2021
ce2256f
Fix swagger validation errors. (#3)
larisaborodina May 7, 2021
a598466
Fix swagger validation errors - 2-nd. (#4)
larisaborodina May 7, 2021
63a8d6a
Fix model validation fix
rjaini May 7, 2021
1762acd
Fix swagger validation errors - 3d. (#5)
larisaborodina May 7, 2021
dc94bb7
Fix swagger validation errors - 4th. (#6)
larisaborodina May 10, 2021
26ed4b5
Release/acrchanges (#8)
larisaborodina May 10, 2021
dc8548d
Release/acrchanges (#9)
larisaborodina May 11, 2021
59efe9b
Release/larisab (#11)
larisaborodina May 11, 2021
54b707a
Release/acrchanges (#12)
larisaborodina May 12, 2021
83f3d81
Release/acrchanges (#13)
larisaborodina May 13, 2021
74b5d91
Release/acrchanges (#14)
larisaborodina May 14, 2021
e7bfdb1
Release/acrchanges (#15)
larisaborodina May 21, 2021
e924da3
Release/acrchanges (#16)
larisaborodina May 24, 2021
def3f91
Release/acrchanges (#17)
larisaborodina May 24, 2021
5dfa0e3
Release/acrchanges (#18)
larisaborodina May 27, 2021
335f4e2
Release/acrchanges (#19)
larisaborodina Jun 3, 2021
5e9d102
Release/acrchanges (#20)
larisaborodina Jun 4, 2021
b8105e5
Release/acrchanges (#21)
larisaborodina Jun 4, 2021
4de853e
Release/acrchanges (#22)
larisaborodina Jun 19, 2021
80461ff
Release/acrchanges (#23)
larisaborodina Jun 21, 2021
ab9b855
Release/acrchanges (#24)
larisaborodina Jun 23, 2021
2c1ea02
Release/acrchanges (#25)
larisaborodina Jun 23, 2021
06a1487
Release/acrchanges (#26)
larisaborodina Jun 25, 2021
05f6e24
Release/acrchanges (#27)
larisaborodina Jun 25, 2021
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
@@ -0,0 +1,180 @@
{
"swagger": "2.0",
"info": {
"version": "2019-11-01-preview",
"title": "ContainerRegistryManagementClient",
"description": "Admin Container Registry Management Client."
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry.Admin/locations/{location}/capacities/{capacityName}": {
"get": {
"x-ms-examples": {
"Returns container registry capacity properties.": {
"$ref": "./examples/Configuration/GetCapacity.json"
}
},
"tags": [
"ContainerRegistryCapacity"
],
"description": "Returns container registry capacity property.",
"operationId": "ContainerRegistryCapacity_Get",
"parameters": [
{
"$ref": "containerregistry.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "containerregistry.json#/parameters/LocationParameter"
},
{
"$ref": "containerregistry.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/CapacityNameParameter"
}
],
"responses": {
"200": {
"description": "OK -- Container registry capacity property is being returned.",
"schema": {
"$ref": "#/definitions/ContainerRegistryCapacity"
}
},
"default": {
"description": "Error Response.",
"schema": {
"$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry.Admin/locations/{location}/capacities": {
"get": {
"x-ms-examples": {
"Returns container registry capacity properties.": {
"$ref": "./examples/Configuration/ListCapacity.json"
}
},
"tags": [
"ContainerRegistryCapacities"
],
"description": "Returns a list of container registry capacity properties.",
"operationId": "ContainerRegistryCapacity_List",
"parameters": [
{
"$ref": "containerregistry.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "containerregistry.json#/parameters/LocationParameter"
},
{
"$ref": "containerregistry.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK -- Container registry capacity properties are being returned.",
"schema": {
"$ref": "#/definitions/ContainerRegistryCapacityList"
}
},
"default": {
"description": "Error Response.",
"schema": {
"$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {
"ContainerRegistryCapacity": {
"description": "Container registry capacity property.",
"type": "object",
"properties": {
"properties": {
"description": "Container registry capacity property.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/ContainerRegistryCapacityProperty"
}
},
"allOf": [
{
"$ref": "../../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
}
]
},
"ContainerRegistryCapacityProperty": {
"description": "Container registry capacity property.",
"type": "object",
"properties": {
"maximumCapacityInGiB": {
"description": "Total storage capacity (GiB) which can used by the registry.",
"type": "integer",
"format": "int32"
},
"allowPush": {
"description": "Flag denotes if pushes are blocked for all registries.",
"type": "boolean"
},
"registriesConsumptionInGiB": {
"description": "Total storage capacity (GiB) consumed by the registry.",
"type": "number",
"format": "float"
}
}
},
"ContainerRegistryCapacityList": {
"description": "List of capacity property.",
"type": "object",
"properties": {
"value": {
"description": "List of capacity property.",
"type": "array",
"items": {
"$ref": "#/definitions/ContainerRegistryCapacity"
}
}
}
}
},
"parameters": {
"CapacityNameParameter": {
"description": "The name of the capacity parameter.",
"name": "capacityName",
"in": "path",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Authorization uses an Azure Active Directory OAuth2 flow.",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
}
Loading