UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 31.2 kB
{"openapi":"3.0.0","info":{"title":"ContainerRegistryManagementClient","version":"2019-05-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"containerregistry-containerregistry_scopemap","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials":{"post":{"description":"Generate keys for a token of a specified container registry.","operationId":"Registries_GenerateCredentials","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateCredentialsParameters"}}},"description":"The parameters for generating credentials.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateCredentialsResult"},"examples":{"RegistryGenerateCredentials":{"$ref":"#/components/examples/RegistryGenerateCredentials"}}}}},"202":{"description":"The request was successful; the operation will complete asynchronously."}},"tags":["Registries"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps":{"get":{"description":"Lists all the scope maps for the specified container registry.","operationId":"ScopeMaps_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeMapListResult"},"examples":{"ScopeMapList":{"$ref":"#/components/examples/ScopeMapList"}}}}}},"tags":["ScopeMaps"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}":{"delete":{"description":"Deletes a scope map from a container registry.","operationId":"ScopeMaps_Delete","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ScopeMapNameParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly."},"202":{"description":"The request was successful; the operation will complete asynchronously."},"204":{"description":"The scopemap does not exist in the subscription."}},"tags":["ScopeMaps"],"x-ms-long-running-operation":true},"get":{"description":"Gets the properties of the specified scope map.","operationId":"ScopeMaps_Get","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ScopeMapNameParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeMap"},"examples":{"ScopeMapGet":{"$ref":"#/components/examples/ScopeMapGet"}}}}}},"tags":["ScopeMaps"]},"patch":{"description":"Updates a scope map with the specified parameters.","operationId":"ScopeMaps_Update","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ScopeMapNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeMapUpdateParameters"}}},"description":"The parameters for updating a scope map.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeMap"},"examples":{"ScopeMapUpdate":{"$ref":"#/components/examples/ScopeMapUpdate"}}}}},"201":{"description":"The request was successful; the operation will complete asynchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeMap"},"examples":{"ScopeMapUpdate":{"$ref":"#/components/examples/ScopeMapUpdate"}}}}}},"tags":["ScopeMaps"],"x-ms-long-running-operation":true},"put":{"description":"Creates a scope map for a container registry with the specified parameters.","operationId":"ScopeMaps_Create","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ScopeMapNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeMap"}}},"description":"The parameters for creating a scope map.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeMap"},"examples":{"ScopeMapCreate":{"$ref":"#/components/examples/ScopeMapCreate"}}}}},"201":{"description":"The request was successful; the operation will complete asynchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScopeMap"},"examples":{"ScopeMapCreate":{"$ref":"#/components/examples/ScopeMapCreate"}}}}}},"tags":["ScopeMaps"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens":{"get":{"description":"Lists all the tokens for the specified container registry.","operationId":"Tokens_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenListResult"},"examples":{"TokenList":{"$ref":"#/components/examples/TokenList"}}}}}},"tags":["Tokens"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}":{"delete":{"description":"Deletes a token from a container registry.","operationId":"Tokens_Delete","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/TokenNameParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly."},"202":{"description":"The request was successful; the operation will complete asynchronously."},"204":{"description":"The token does not exist in the subscription."}},"tags":["Tokens"],"x-ms-long-running-operation":true},"get":{"description":"Gets the properties of the specified token.","operationId":"Tokens_Get","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/TokenNameParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"},"examples":{"TokenGet":{"$ref":"#/components/examples/TokenGet"}}}}}},"tags":["Tokens"]},"patch":{"description":"Updates a token with the specified parameters.","operationId":"Tokens_Update","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/TokenNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenUpdateParameters"}}},"description":"The parameters for updating a token.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"},"examples":{"TokenUpdate":{"$ref":"#/components/examples/TokenUpdate"}}}}},"201":{"description":"The request was successful; the operation will complete asynchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"},"examples":{"TokenUpdate":{"$ref":"#/components/examples/TokenUpdate"}}}}}},"tags":["Tokens"],"x-ms-long-running-operation":true},"put":{"description":"Creates a token for a container registry with the specified parameters.","operationId":"Tokens_Create","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/TokenNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}},"description":"The parameters for creating a token.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"},"examples":{"TokenCreate":{"$ref":"#/components/examples/TokenCreate"}}}}},"201":{"description":"The request was successful; the operation will complete asynchronously.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"},"examples":{"TokenCreate":{"$ref":"#/components/examples/TokenCreate"}}}}}},"tags":["Tokens"],"x-ms-long-running-operation":true}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"RegistryGenerateCredentials":{"value":{"passwords":[{"expiry":"2020-12-31T15:59:59.0707808Z","name":"password1","value":"00000000000000000000000000000000"},{"expiry":"2020-12-31T15:59:59.0707808Z","name":"password2","value":"00000000000000000000000000000000"}],"username":"myToken"}},"ScopeMapList":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap","name":"myScopeMap","properties":{"actions":["repositories/myrepository/contentWrite","repositories/myrepository/delete"],"creationDate":"2017-03-01T23:14:37.0707808Z","provisioningState":"Succeeded","type":"IsUserDefined"},"type":"Microsoft.ContainerRegistry/registries/scopeMaps"}]}},"ScopeMapGet":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap","name":"myScopeMap","properties":{"actions":["repositories/myrepository/contentWrite","repositories/myrepository/delete"],"creationDate":"2017-03-01T23:14:37.0707808Z","provisioningState":"Succeeded","type":"IsUserDefined"},"type":"Microsoft.ContainerRegistry/registries/scopeMaps"}},"ScopeMapUpdate":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap","name":"myScopeMap","properties":{"actions":["repositories/myrepository/contentWrite","repositories/myrepository/contentRead"],"creationDate":"2017-03-01T23:14:37.0707808Z","provisioningState":"Succeeded","type":"IsUserDefined"},"type":"Microsoft.ContainerRegistry/registries/scopeMaps"}},"ScopeMapCreate":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap","name":"myScopeMap","properties":{"actions":["repositories/myrepository/contentWrite","repositories/myrepository/delete"],"creationDate":"2017-03-01T23:14:37.0707808Z","provisioningState":"Succeeded","type":"IsUserDefined"},"type":"Microsoft.ContainerRegistry/registries/scopeMaps"}},"TokenList":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken","name":"myToken","properties":{"creationDate":"2017-03-01T23:14:37.0707808Z","provisioningState":"Succeeded","scopeMapId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap","status":"enabled"},"type":"Microsoft.ContainerRegistry/registries/tokens"}]}},"TokenGet":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken","name":"myToken","properties":{"creationDate":"2017-03-01T23:14:37.0707808Z","provisioningState":"Succeeded","scopeMapId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap","status":"enabled"},"type":"Microsoft.ContainerRegistry/registries/tokens"}},"TokenUpdate":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken","name":"myToken","properties":{"creationDate":"2017-03-01T23:14:37.0707808Z","credentials":{"certificates":[{"encodedPemCertificate":"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFs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L2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==","name":"certificate1"}]},"provisioningState":"Succeeded","scopeMapId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap","status":"enabled"},"type":"Microsoft.ContainerRegistry/registries/tokens"}},"TokenCreate":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken","name":"myToken","properties":{"creationDate":"2017-03-01T23:14:37.0707808Z","credentials":{"certificates":[{"expiry":"2020-12-04T15:32:48.0707808Z","name":"certificate1","thumbprint":"feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7"}]},"provisioningState":"Succeeded","scopeMapId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap","status":"disabled"},"type":"Microsoft.ContainerRegistry/registries/tokens"}}},"parameters":{"ApiVersionParameter":{"description":"The client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"RegistryGenerateCredentials":{"value":"2019-05-01-preview"},"ScopeMapList":{"value":"2019-05-01-preview"},"ScopeMapDelete":{"value":"2019-05-01-preview"},"ScopeMapGet":{"value":"2019-05-01-preview"},"ScopeMapUpdate":{"value":"2019-05-01-preview"},"ScopeMapCreate":{"value":"2019-05-01-preview"},"TokenList":{"value":"2019-05-01-preview"},"TokenDelete":{"value":"2019-05-01-preview"},"TokenGet":{"value":"2019-05-01-preview"},"TokenUpdate":{"value":"2019-05-01-preview"},"TokenCreate":{"value":"2019-05-01-preview"}}},"RegistryNameParameter":{"description":"The name of the container registry.","in":"path","name":"registryName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":5,"maxLength":50,"pattern":"^[a-zA-Z0-9]*$"},"examples":{"RegistryGenerateCredentials":{"value":"myRegistry"},"ScopeMapList":{"value":"myRegistry"},"ScopeMapDelete":{"value":"myRegistry"},"ScopeMapGet":{"value":"myRegistry"},"ScopeMapUpdate":{"value":"myRegistry"},"ScopeMapCreate":{"value":"myRegistry"},"TokenList":{"value":"myRegistry"},"TokenDelete":{"value":"myRegistry"},"TokenGet":{"value":"myRegistry"},"TokenUpdate":{"value":"myRegistry"},"TokenCreate":{"value":"myRegistry"}}},"ResourceGroupParameter":{"description":"The name of the resource group to which the container registry belongs.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1},"examples":{"RegistryGenerateCredentials":{"value":"myResourceGroup"},"ScopeMapList":{"value":"myResourceGroup"},"ScopeMapDelete":{"value":"myResourceGroup"},"ScopeMapGet":{"value":"myResourceGroup"},"ScopeMapUpdate":{"value":"myResourceGroup"},"ScopeMapCreate":{"value":"myResourceGroup"},"TokenList":{"value":"myResourceGroup"},"TokenDelete":{"value":"myResourceGroup"},"TokenGet":{"value":"myResourceGroup"},"TokenUpdate":{"value":"myResourceGroup"},"TokenCreate":{"value":"myResourceGroup"}}},"ScopeMapNameParameter":{"description":"The name of the scope map.","in":"path","name":"scopeMapName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":5,"maxLength":50,"pattern":"^[a-zA-Z0-9-_]*$"},"examples":{"ScopeMapDelete":{"value":"myScopeMap"},"ScopeMapGet":{"value":"myScopeMap"},"ScopeMapUpdate":{"value":"myScopeMap"},"ScopeMapCreate":{"value":"myScopeMap"}}},"SubscriptionIdParameter":{"description":"The Microsoft Azure subscription ID.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"RegistryGenerateCredentials":{"value":"00000000-0000-0000-0000-000000000000"},"ScopeMapList":{"value":"00000000-0000-0000-0000-000000000000"},"ScopeMapDelete":{"value":"00000000-0000-0000-0000-000000000000"},"ScopeMapGet":{"value":"00000000-0000-0000-0000-000000000000"},"ScopeMapUpdate":{"value":"00000000-0000-0000-0000-000000000000"},"ScopeMapCreate":{"value":"00000000-0000-0000-0000-000000000000"},"TokenList":{"value":"00000000-0000-0000-0000-000000000000"},"TokenDelete":{"value":"00000000-0000-0000-0000-000000000000"},"TokenGet":{"value":"00000000-0000-0000-0000-000000000000"},"TokenUpdate":{"value":"00000000-0000-0000-0000-000000000000"},"TokenCreate":{"value":"00000000-0000-0000-0000-000000000000"}}},"TokenNameParameter":{"description":"The name of the token.","in":"path","name":"tokenName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":5,"maxLength":50,"pattern":"^[a-zA-Z0-9-]*$"},"examples":{"TokenDelete":{"value":"myToken"},"TokenGet":{"value":"myToken"},"TokenUpdate":{"value":"myToken"},"TokenCreate":{"value":"myToken"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"GenerateCredentialsParameters":{"description":"The parameters used to generate credentials for a specified token or user of a container registry.","properties":{"expiry":{"description":"The expiry date of the generated credentials after which the credentials become invalid.","format":"date-time","type":"string"},"name":{"description":"Specifies name of the password which should be regenerated if any -- password1 or password2.","enum":["password1","password2"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TokenPasswordName"}},"tokenId":{"description":"The resource ID of the token for which credentials have to be generated.","type":"string"}},"type":"object"},"GenerateCredentialsResult":{"description":"The response from the GenerateCredentials operation.","properties":{"passwords":{"description":"The list of passwords for a container registry.","items":{"$ref":"#/components/schemas/TokenPassword"},"type":"array"},"username":{"description":"The username for a container registry.","type":"string"}},"type":"object"},"ProxyResource":{"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.","properties":{"id":{"description":"The resource ID.","readOnly":true,"type":"string"},"name":{"description":"The name of the resource.","readOnly":true,"type":"string"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true},"ScopeMap":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"An object that represents a scope map for a container registry.","properties":{"properties":{"$ref":"#/components/schemas/ScopeMapProperties"}},"type":"object"},"ScopeMapListResult":{"description":"The result of a request to list scope maps for a container registry.","properties":{"nextLink":{"description":"The URI that can be used to request the next list of scope maps.","type":"string"},"value":{"description":"The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps.","items":{"$ref":"#/components/schemas/ScopeMap"},"type":"array"}},"type":"object"},"ScopeMapProperties":{"description":"The properties of a scope map.","properties":{"actions":{"description":"The list of scoped permissions for registry artifacts.\r\nE.g. repositories/repository-name/content/read,\r\nrepositories/repository-name/metadata/write","items":{"type":"string"},"type":"array"},"creationDate":{"description":"The creation date of scope map.","format":"date-time","readOnly":true,"type":"string"},"description":{"description":"The user friendly description of the scope map.","type":"string"},"provisioningState":{"description":"Provisioning state of the resource.","enum":["Creating","Updating","Deleting","Succeeded","Failed","Canceled"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"type":{"description":"The type of the scope map. E.g. BuildIn scope map.","readOnly":true,"type":"string"}},"required":["actions"],"type":"object"},"ScopeMapPropertiesUpdateParameters":{"description":"The update parameters for scope map properties.","properties":{"actions":{"description":"The list of scope permissions for registry artifacts.\r\nE.g. repositories/repository-name/pull, \r\nrepositories/repository-name/delete","items":{"type":"string"},"type":"array"},"description":{"description":"The user friendly description of the scope map.","type":"string"}},"type":"object"},"ScopeMapUpdateParameters":{"description":"The properties for updating the scope map.","properties":{"properties":{"$ref":"#/components/schemas/ScopeMapPropertiesUpdateParameters"}},"type":"object"},"Token":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"An object that represents a token for a container registry.","properties":{"properties":{"$ref":"#/components/schemas/TokenProperties"}},"type":"object"},"TokenCertificate":{"description":"The properties of a certificate used for authenticating a token.","properties":{"encodedPemCertificate":{"description":"Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.","type":"string"},"expiry":{"description":"The expiry datetime of the certificate.","format":"date-time","type":"string"},"name":{"enum":["certificate1","certificate2"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TokenCertificateName"}},"thumbprint":{"description":"The thumbprint of the certificate.","type":"string"}},"type":"object"},"TokenCredentialsProperties":{"description":"The properties of the credentials that can be used for authenticating the token.","properties":{"certificates":{"items":{"$ref":"#/components/schemas/TokenCertificate"},"type":"array"},"passwords":{"items":{"$ref":"#/components/schemas/TokenPassword"},"type":"array"}},"type":"object"},"TokenListResult":{"description":"The result of a request to list tokens for a container registry.","properties":{"nextLink":{"description":"The URI that can be used to request the next list of tokens.","type":"string"},"value":{"description":"The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens.","items":{"$ref":"#/components/schemas/Token"},"type":"array"}},"type":"object"},"TokenPassword":{"description":"The password that will be used for authenticating the token of a container registry.","properties":{"creationTime":{"description":"The creation datetime of the password.","format":"date-time","type":"string"},"expiry":{"description":"The expiry datetime of the password.","format":"date-time","type":"string"},"name":{"description":"The password name \"password1\" or \"password2\"","enum":["password1","password2"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TokenPasswordName"}},"value":{"description":"The password value.","readOnly":true,"type":"string"}},"type":"object"},"TokenProperties":{"description":"The properties of a token.","properties":{"creationDate":{"description":"The creation date of scope map.","format":"date-time","readOnly":true,"type":"string"},"credentials":{"$ref":"#/components/schemas/TokenCredentialsProperties"},"objectId":{"description":"The user/group/application object ID for which the token has to be created.","type":"string"},"provisioningState":{"description":"Provisioning state of the resource.","enum":["Creating","Updating","Deleting","Succeeded","Failed","Canceled"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"scopeMapId":{"description":"The resource ID of the scope map to which the token will be associated with.","type":"string"},"status":{"description":"The status of the token example enabled or disabled.","enum":["enabled","disabled"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TokenStatus"}}},"type":"object"},"TokenUpdateParameters":{"description":"The parameters for updating a token.","properties":{"properties":{"$ref":"#/components/schemas/TokenUpdateProperties"}},"type":"object"},"TokenUpdateProperties":{"description":"The parameters for updating token properties.","properties":{"credentials":{"$ref":"#/components/schemas/TokenCredentialsProperties"},"scopeMapId":{"description":"The resource ID of the scope map to which the token will be associated with.","type":"string"},"status":{"description":"The status of the token example enabled or disabled.","enum":["enabled","disabled"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TokenStatus"}}},"type":"object"}}}}