UNPKG

openapi-directory

Version:

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

1 lines 28.5 kB
{"openapi":"3.0.0","info":{"description":"Allows extension of ARM control plane with custom resource providers.","title":"customproviders","version":"2018-09-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-ms-code-generation-settings":{"name":"customprovidersClient"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"customproviders","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.CustomProviders/operations":{"get":{"description":"The list of operations provided by Microsoft CustomProviders.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"Describe the result of a successful operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceProviderOperationList"},"examples":{"List the custom providers operations":{"$ref":"#/components/examples/List_the_custom_providers_operations"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Operations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.CustomProviders/resourceProviders":{"get":{"description":"Gets all the custom resource providers within a subscription.","operationId":"CustomResourceProvider_ListBySubscription","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK - Returns an array of custom resource providers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListByCustomRPManifest"},"examples":{"List all custom resource providers on the subscription":{"$ref":"#/components/examples/List_all_custom_resource_providers_on_the_subscription"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["CustomResourceProvider"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders":{"get":{"description":"Gets all the custom resource providers within a resource group.","operationId":"CustomResourceProvider_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK - Returns an array of custom resource providers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListByCustomRPManifest"},"examples":{"List all custom resource providers on the resourceGroup":{"$ref":"#/components/examples/List_all_custom_resource_providers_on_the_resourceGroup"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["CustomResourceProvider"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}":{"delete":{"description":"Deletes the custom resource provider.","operationId":"CustomResourceProvider_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ResourceProviderNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK resource deleted"},"202":{"description":"OK resource delete has been accepted."},"204":{"description":"OK resource was not found."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["CustomResourceProvider"],"x-ms-long-running-operation":true},"get":{"description":"Gets the custom resource provider manifest.","operationId":"CustomResourceProvider_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ResourceProviderNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK response definition with the existing resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRPManifest"},"examples":{"Get a custom resource provider":{"$ref":"#/components/examples/Get_a_custom_resource_provider"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["CustomResourceProvider"]},"patch":{"description":"Updates an existing custom resource provider. The only value that can be updated via PATCH currently is the tags.","operationId":"CustomResourceProvider_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ResourceProviderNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceProvidersUpdate"}}},"description":"The updatable fields of a custom resource provider.","required":true},"responses":{"200":{"description":"OK response. The resource has been updated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRPManifest"},"examples":{"Update a custom resource provider":{"$ref":"#/components/examples/Update_a_custom_resource_provider"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["CustomResourceProvider"]},"put":{"description":"Creates or updates the custom resource provider.","operationId":"CustomResourceProvider_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ResourceProviderNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRPManifest"}}},"description":"The parameters required to create or update a custom resource provider definition.","required":true},"responses":{"200":{"description":"OK response definition. Resource already exists and the changes have been accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRPManifest"},"examples":{"Create or update the custom resource provider":{"$ref":"#/components/examples/Create_or_update_the_custom_resource_provider"}}}}},"201":{"description":"Created response definition. Resource has been created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomRPManifest"},"examples":{"Create or update the custom resource provider":{"$ref":"#/components/examples/Create_or_update_the_custom_resource_provider"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["CustomResourceProvider"],"x-ms-long-running-operation":true}},"/{scope}/providers/Microsoft.CustomProviders/associations":{"get":{"description":"Gets all association for the given scope.","operationId":"Associations_ListAll","parameters":[{"description":"The scope of the association.","in":"path","name":"scope","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"Get all associations":{"value":"scope"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK. Returns all associations for the given scope.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationsList"},"examples":{"Get all associations":{"$ref":"#/components/examples/Get_all_associations"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Associations"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/{scope}/providers/Microsoft.CustomProviders/associations/{associationName}":{"delete":{"description":"Delete an association.","operationId":"Associations_Delete","parameters":[{"description":"The scope of the association.","in":"path","name":"scope","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"Delete an association":{"value":"scope"}}},{"description":"The name of the association.","in":"path","name":"associationName","required":true,"schema":{"type":"string"},"examples":{"Delete an association":{"value":"associationName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK. Association deleted."},"202":{"description":"Accepted. Association delete has been accepted."},"204":{"description":"No Content. Association was not found."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Associations"],"x-ms-long-running-operation":true},"get":{"description":"Get an association.","operationId":"Associations_Get","parameters":[{"description":"The scope of the association.","in":"path","name":"scope","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"Get an association":{"value":"scope"}}},{"description":"The name of the association.","in":"path","name":"associationName","required":true,"schema":{"type":"string"},"examples":{"Get an association":{"value":"associationName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK. Returns association.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Association"},"examples":{"Get an association":{"$ref":"#/components/examples/Get_an_association"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Associations"]},"put":{"description":"Create or update an association.","operationId":"Associations_CreateOrUpdate","parameters":[{"description":"The scope of the association. The scope can be any valid REST resource instance. For example, use '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}' for a virtual machine resource.","in":"path","name":"scope","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"Create or update an association":{"value":"scope"}}},{"description":"The name of the association.","in":"path","name":"associationName","required":true,"schema":{"type":"string"},"examples":{"Create or update an association":{"value":"associationName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Association"}}},"description":"The parameters required to create or update an association.","required":true},"responses":{"200":{"description":"OK. Association already exists and the changes have been accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Association"},"examples":{"Create or update an association":{"$ref":"#/components/examples/Create_or_update_an_association"}}}}},"201":{"description":"Created. Association has been created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Association"},"examples":{"Create or update an association":{"$ref":"#/components/examples/Create_or_update_an_association"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Associations"],"x-ms-long-running-operation":true}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"List_the_custom_providers_operations":{"value":{"value":[{"display":{"description":"List or get the Custom Providers","operation":"List Custom Providers","provider":"Azure Custom Providers","resource":"resourceProviders"},"name":"Microsoft.CustomProviders/resourceProviders/read"},{"display":{"description":"List or get the Custom Providers","operation":"List Custom Providers","provider":"Azure Custom Providers","resource":"resourceProviders"},"name":"Microsoft.CustomProviders/resourceProviders/delete"},{"display":{"description":"List or get the Custom Providers","operation":"List Custom Providers","provider":"Azure Custom Providers","resource":"resourceProviders"},"name":"Microsoft.CustomProviders/resourceProviders/wrte"}]}},"List_all_custom_resource_providers_on_the_subscription":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.CustomProviders/resourceProviders/newrp1","location":"East US","name":"newrp1","properties":{"actions":[{"endpoint":"https://mytestendpoint/","name":"TestAction","routingType":"Proxy"}],"provisioningState":"Succeeded","resourceTypes":[{"endpoint":"https://mytestendpoint2/","name":"TestResource","routingType":"Proxy,Cache"}]},"type":"Microsoft.CustomProviders/resourceProviders"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG2/providers/Microsoft.CustomProviders/resourceProviders/newrp2","location":"East US","name":"newrp2","properties":{"actions":[{"endpoint":"https://mytestendpoint/","name":"TestAction","routingType":"Proxy"}],"provisioningState":"Succeeded","resourceTypes":[{"endpoint":"https://mytestendpoint2/","name":"TestResource","routingType":"Proxy,Cache"}]},"type":"Microsoft.CustomProviders/resourceProviders"}]}},"List_all_custom_resource_providers_on_the_resourceGroup":{"value":{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.CustomProviders/resourceProviders/newrp1","location":"East US","name":"newrp1","properties":{"actions":[{"endpoint":"https://mytestendpoint/","name":"TestAction","routingType":"Proxy"}],"provisioningState":"Succeeded","resourceTypes":[{"endpoint":"https://mytestendpoint2/","name":"TestResource","routingType":"Proxy,Cache"}]},"type":"Microsoft.CustomProviders/resourceProviders"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.CustomProviders/resourceProviders/newrp2","location":"East US","name":"newrp2","properties":{"actions":[{"endpoint":"https://mytestendpoint/","name":"TestAction","routingType":"Proxy"}],"provisioningState":"Succeeded","resourceTypes":[{"endpoint":"https://mytestendpoint2/","name":"TestResource","routingType":"Proxy,Cache"}]},"type":"Microsoft.CustomProviders/resourceProviders"}]}},"Get_a_custom_resource_provider":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.CustomProviders/resourceProviders/newrp","location":"East US","name":"newrp","properties":{"actions":[{"endpoint":"https://mytestendpoint/","name":"TestAction","routingType":"Proxy"}],"provisioningState":"Succeeded","resourceTypes":[{"endpoint":"https://mytestendpoint2/","name":"TestResource","routingType":"Proxy,Cache"}]},"type":"Microsoft.CustomProviders/resourceProviders"}},"Update_a_custom_resource_provider":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.CustomProviders/resourceProviders/newrp","location":"East US","name":"newrp","properties":{"actions":[{"endpoint":"https://mytestendpoint/","name":"TestAction","routingType":"Proxy"}],"provisioningState":"Succeeded","resourceTypes":[{"endpoint":"https://mytestendpoint2/","name":"TestResource","routingType":"Proxy,Cache"}]},"type":"Microsoft.CustomProviders/resourceProviders"}},"Create_or_update_the_custom_resource_provider":{"value":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.CustomProviders/resourceProviders/newrp","location":"East US","name":"newrp","properties":{"actions":[{"endpoint":"https://mytestendpoint/","name":"TestAction","routingType":"Proxy"}],"provisioningState":"Accepted","resourceTypes":[{"endpoint":"https://mytestendpoint2/","name":"TestResource","routingType":"Proxy,Cache"}]},"type":"Microsoft.CustomProviders/resourceProviders"}},"Get_all_associations":{"value":{"value":[{"id":"scope/providers/Microsoft.CustomProviders/associations/associationName","name":"associationName","properties":{"provisioningState":"Succeeded","targetResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/appRG/providers/Microsoft.Solutions/applications/applicationName"},"type":"Microsoft.CustomProviders/associations"}]}},"Get_an_association":{"value":{"id":"scope/providers/Microsoft.CustomProviders/associations/associationName","name":"associationName","properties":{"provisioningState":"Succeeded","targetResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/appRG/providers/Microsoft.Solutions/applications/applicationName"},"type":"Microsoft.CustomProviders/associations"}},"Create_or_update_an_association":{"value":{"id":"/scope/providers/Microsoft.CustomProviders/associations/associationName","name":"associationName","properties":{"provisioningState":"Accepted","targetResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/appRG/providers/Microsoft.Solutions/applications/applicationName"},"type":"Microsoft.CustomProviders/associations"}}},"parameters":{"ApiVersionParameter":{"description":"The API version to be used with the HTTP request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"List the custom providers operations":{"value":"2018-09-01-preview"},"List all custom resource providers on the subscription":{"value":"2018-09-01-preview"},"List all custom resource providers on the resourceGroup":{"value":"2018-09-01-preview"},"Delete a custom resource provider":{"value":"2018-09-01-preview"},"Get a custom resource provider":{"value":"2018-09-01-preview"},"Update a custom resource provider":{"value":"2018-09-01-preview"},"Create or update the custom resource provider":{"value":"2018-09-01-preview"},"Get all associations":{"value":"2018-09-01-preview"},"Delete an association":{"value":"2018-09-01-preview"},"Get an association":{"value":"2018-09-01-preview"},"Create or update an association":{"value":"2018-09-01-preview"}}},"ResourceGroupNameParameter":{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List all custom resource providers on the resourceGroup":{"value":"testRG"},"Delete a custom resource provider":{"value":"testRG"},"Get a custom resource provider":{"value":"testRG"},"Update a custom resource provider":{"value":"testRG"},"Create or update the custom resource provider":{"value":"testRG"}}},"ResourceProviderNameParameter":{"description":"The name of the resource provider.","in":"path","name":"resourceProviderName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":3,"maxLength":64},"examples":{"Delete a custom resource provider":{"value":"newrp"},"Get a custom resource provider":{"value":"newrp"},"Update a custom resource provider":{"value":"newrp"},"Create or update the custom resource provider":{"value":"newrp"}}},"SubscriptionIdParameter":{"description":"The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"List all custom resource providers on the subscription":{"value":"00000000-0000-0000-0000-000000000000"},"List all custom resource providers on the resourceGroup":{"value":"00000000-0000-0000-0000-000000000000"},"Delete a custom resource provider":{"value":"00000000-0000-0000-0000-000000000000"},"Get a custom resource provider":{"value":"00000000-0000-0000-0000-000000000000"},"Update a custom resource provider":{"value":"00000000-0000-0000-0000-000000000000"},"Create or update the custom resource provider":{"value":"00000000-0000-0000-0000-000000000000"}}}},"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":{"Association":{"description":"The resource definition of this association.","properties":{"id":{"description":"The association id.","readOnly":true,"type":"string"},"name":{"description":"The association name.","readOnly":true,"type":"string"},"properties":{"description":"The properties of the association.","properties":{"provisioningState":{"description":"The provisioning state of the association.","enum":["Accepted","Deleting","Running","Succeeded","Failed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"targetResourceId":{"description":"The REST resource instance of the target resource for this association.","type":"string"}},"type":"object","x-ms-client-flatten":true},"type":{"description":"The association type.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true,"x-ms-client-flatten":true},"AssociationsList":{"description":"List of associations.","properties":{"nextLink":{"description":"The URL to use for getting the next set of results.","type":"string"},"value":{"description":"The array of associations.","items":{"$ref":"#/components/schemas/Association"},"type":"array"}}},"CustomRPActionRouteDefinition":{"allOf":[{"$ref":"#/components/schemas/CustomRPRouteDefinition"}],"description":"The route definition for an action implemented by the custom resource provider.","properties":{"routingType":{"description":"The routing types that are supported for action requests.","enum":["Proxy"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ActionRouting"}}}},"CustomRPManifest":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"A manifest file that defines the custom resource provider resources.","properties":{"properties":{"description":"The manifest for the custom resource provider","properties":{"actions":{"description":"A list of actions that the custom resource provider implements.","items":{"$ref":"#/components/schemas/CustomRPActionRouteDefinition"},"type":"array"},"provisioningState":{"description":"The provisioning state of the resource provider.","enum":["Accepted","Deleting","Running","Succeeded","Failed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"resourceTypes":{"description":"A list of resource types that the custom resource provider implements.","items":{"$ref":"#/components/schemas/CustomRPResourceTypeRouteDefinition"},"type":"array"},"validations":{"description":"A list of validations to run on the custom resource provider's requests.","items":{"$ref":"#/components/schemas/CustomRPValidations"},"type":"array"}},"type":"object","x-ms-client-flatten":true}}},"CustomRPResourceTypeRouteDefinition":{"allOf":[{"$ref":"#/components/schemas/CustomRPRouteDefinition"}],"description":"The route definition for a resource implemented by the custom resource provider.","properties":{"routingType":{"description":"The routing types that are supported for resource requests.","enum":["Proxy","Proxy,Cache"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ResourceTypeRouting"}}}},"CustomRPRouteDefinition":{"description":"A route definition that defines an action or resource that can be interacted with through the custom resource provider.","properties":{"endpoint":{"description":"The route definition endpoint URI that the custom resource provider will proxy requests to. This can be in the form of a flat URI (e.g. 'https://testendpoint/') or can specify to route via a path (e.g. 'https://testendpoint/{requestPath}')","pattern":"^https://.+","type":"string"},"name":{"description":"The name of the route definition. This becomes the name for the ARM extension (e.g. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomProviders/resourceProviders/{resourceProviderName}/{name}')","type":"string"}},"required":["name","endpoint"]},"CustomRPValidations":{"description":"A validation to apply on custom resource provider requests.","properties":{"specification":{"description":"A link to the validation specification. The specification must be hosted on raw.githubusercontent.com.","pattern":"^https://raw.githubusercontent.com/.+","type":"string"},"validationType":{"description":"The type of validation to run against a matching request.","enum":["Swagger"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ValidationType"}}},"required":["specification"]},"ErrorDefinition":{"description":"Error definition.","properties":{"code":{"description":"Service specific error code which serves as the substatus for the HTTP error code.","readOnly":true,"type":"string"},"details":{"description":"Internal error details.","items":{"$ref":"#/components/schemas/ErrorDefinition"},"readOnly":true,"type":"array"},"message":{"description":"Description of the error.","readOnly":true,"type":"string"}}},"ErrorResponse":{"description":"Error response.","properties":{"error":{"$ref":"#/components/schemas/ErrorDefinition"}}},"ListByCustomRPManifest":{"description":"List of custom resource providers.","properties":{"nextLink":{"description":"The URL to use for getting the next set of results.","type":"string"},"value":{"description":"The array of custom resource provider manifests.","items":{"$ref":"#/components/schemas/CustomRPManifest"},"type":"array"}}},"Resource":{"description":"The resource definition.","properties":{"id":{"description":"Resource Id","readOnly":true,"type":"string"},"location":{"description":"Resource location","type":"string","x-ms-mutability":["read","create"]},"name":{"description":"Resource name","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags","type":"object"},"type":{"description":"Resource type","readOnly":true,"type":"string"}},"required":["location"],"x-ms-azure-resource":true},"ResourceProviderOperation":{"description":"Supported operations of this resource provider.","properties":{"display":{"description":"Display metadata associated with the operation.","properties":{"description":{"description":"Description of this operation.","type":"string"},"operation":{"description":"Type of operation: get, read, delete, etc.","type":"string"},"provider":{"description":"Resource provider: Microsoft Custom Providers.","type":"string"},"resource":{"description":"Resource on which the operation is performed.","type":"string"}}},"name":{"description":"Operation name, in format of {provider}/{resource}/{operation}","type":"string"}},"readOnly":true},"ResourceProviderOperationList":{"description":"Results of the request to list operations.","properties":{"nextLink":{"description":"The URL to use for getting the next set of results.","type":"string"},"value":{"description":"List of operations supported by this resource provider.","items":{"$ref":"#/components/schemas/ResourceProviderOperation"},"type":"array"}},"readOnly":true},"ResourceProvidersUpdate":{"description":"custom resource provider update information.","properties":{"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags","type":"object"}}}}}}