openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 31.4 kB
JSON
{"openapi":"3.0.0","info":{"description":"Use these REST APIs for performing operations on OpenId Connect Provider entity associated with your Azure API Management deployment. API Management allows you to access APIs secured with token from [OpenID Connect Provider ](http://openid.net/connect/) to be accessed from the Developer Console.","title":"ApiManagementClient","version":"2019-12-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/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2019-12-01-preview/apimopenidconnectproviders.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"apimanagement-apimopenidconnectproviders","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders":{"get":{"description":"Lists of all the OpenId Connect Providers.","operationId":"OpenIdConnectProvider_ListByService","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ApiManagementListOpenIdConnectProviders":{"value":"rg1"}}},{"description":"The name of the API Management service.","in":"path","name":"serviceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"},"examples":{"ApiManagementListOpenIdConnectProviders":{"value":"apimService1"}}},{"description":"| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>| displayName | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>","in":"query","name":"$filter","required":false,"schema":{"type":"string"}},{"description":"Number of records to return.","in":"query","name":"$top","required":false,"x-ms-parameter-location":"method","schema":{"type":"integer","format":"int32","minimum":1}},{"description":"Number of records to skip.","in":"query","name":"$skip","required":false,"x-ms-parameter-location":"method","schema":{"type":"integer","format":"int32","minimum":0}},{"description":"Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"ApiManagementListOpenIdConnectProviders":{"value":"2019-12-01-preview"}}},{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"ApiManagementListOpenIdConnectProviders":{"value":"subid"}}}],"responses":{"200":{"description":"Lists of all the OpenId Connect Providers.","content":{"application/json":{"schema":{"description":"Paged OpenIdProviders list representation.","properties":{"nextLink":{"description":"Next page link if any.","type":"string"},"value":{"description":"Page values.","items":{"allOf":[{"description":"The Resource definition.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type for API Management resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"OpenId Connect Provider details.","properties":{"properties":{"description":"OpenID Connect Providers Contract.","properties":{"clientId":{"description":"Client ID of developer console which is the client application.","type":"string"},"clientSecret":{"description":"Client Secret of developer console which is the client application.","type":"string","x-ms-secret":true},"description":{"description":"User-friendly description of OpenID Connect Provider.","type":"string"},"displayName":{"description":"User-friendly OpenID Connect Provider name.","maxLength":50,"type":"string"},"metadataEndpoint":{"description":"Metadata endpoint URI.","type":"string"}},"required":["displayName","metadataEndpoint","clientId"]}}},"type":"array"}}},"examples":{"ApiManagementListOpenIdConnectProviders":{"$ref":"#/components/examples/ApiManagementListOpenIdConnectProviders"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error Response.","properties":{"error":{"description":"Error Body contract.","properties":{"code":{"description":"Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.","type":"string"},"details":{"description":"The list of invalid fields send in request, in case of validation error.","items":{"description":"Error Field contract.","properties":{"code":{"description":"Property level error code.","type":"string"},"message":{"description":"Human-readable representation of property-level error.","type":"string"},"target":{"description":"Property name.","type":"string"}}},"type":"array"},"message":{"description":"Human-readable representation of the error.","type":"string"}}}}}}}}},"tags":["OpenidConnectProvider"],"x-ms-odata":"./definitions.json#/definitions/OpenidConnectProviderContract","x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}":{"delete":{"description":"Deletes specific OpenID Connect Provider of the API Management service instance.","operationId":"OpenIdConnectProvider_Delete","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ApiManagementDeleteOpenIdConnectProvider":{"value":"rg1"}}},{"description":"The name of the API Management service.","in":"path","name":"serviceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"},"examples":{"ApiManagementDeleteOpenIdConnectProvider":{"value":"apimService1"}}},{"description":"Identifier of the OpenID Connect Provider.","in":"path","name":"opid","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","maxLength":256,"pattern":"^[^*#&+:<>?]+$"},"examples":{"ApiManagementDeleteOpenIdConnectProvider":{"value":"templateOpenIdConnect3"}}},{"description":"ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.","in":"header","name":"If-Match","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ApiManagementDeleteOpenIdConnectProvider":{"value":"*"}}},{"description":"Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"ApiManagementDeleteOpenIdConnectProvider":{"value":"2019-12-01-preview"}}},{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"ApiManagementDeleteOpenIdConnectProvider":{"value":"subid"}}}],"responses":{"200":{"description":"OpenId Connect Provider was successfully deleted."},"204":{"description":"OpenId Connect Provider was successfully deleted."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error Response.","properties":{"error":{"description":"Error Body contract.","properties":{"code":{"description":"Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.","type":"string"},"details":{"description":"The list of invalid fields send in request, in case of validation error.","items":{"description":"Error Field contract.","properties":{"code":{"description":"Property level error code.","type":"string"},"message":{"description":"Human-readable representation of property-level error.","type":"string"},"target":{"description":"Property name.","type":"string"}}},"type":"array"},"message":{"description":"Human-readable representation of the error.","type":"string"}}}}}}}}},"tags":["OpenidConnectProvider"]},"get":{"description":"Gets specific OpenID Connect Provider.","operationId":"OpenIdConnectProvider_Get","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ApiManagementGetOpenIdConnectProvider":{"value":"rg1"}}},{"description":"The name of the API Management service.","in":"path","name":"serviceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"},"examples":{"ApiManagementGetOpenIdConnectProvider":{"value":"apimService1"}}},{"description":"Identifier of the OpenID Connect Provider.","in":"path","name":"opid","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","maxLength":256,"pattern":"^[^*#&+:<>?]+$"},"examples":{"ApiManagementGetOpenIdConnectProvider":{"value":"templateOpenIdConnect2"}}},{"description":"Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"ApiManagementGetOpenIdConnectProvider":{"value":"2019-12-01-preview"}}},{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"ApiManagementGetOpenIdConnectProvider":{"value":"subid"}}}],"responses":{"200":{"description":"The response body contains the specified OpenId Connect Provider entity.","headers":{"ETag":{"description":"Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"allOf":[{"description":"The Resource definition.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type for API Management resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"OpenId Connect Provider details.","properties":{"properties":{"description":"OpenID Connect Providers Contract.","properties":{"clientId":{"description":"Client ID of developer console which is the client application.","type":"string"},"clientSecret":{"description":"Client Secret of developer console which is the client application.","type":"string","x-ms-secret":true},"description":{"description":"User-friendly description of OpenID Connect Provider.","type":"string"},"displayName":{"description":"User-friendly OpenID Connect Provider name.","maxLength":50,"type":"string"},"metadataEndpoint":{"description":"Metadata endpoint URI.","type":"string"}},"required":["displayName","metadataEndpoint","clientId"]}}},"examples":{"ApiManagementGetOpenIdConnectProvider":{"$ref":"#/components/examples/ApiManagementGetOpenIdConnectProvider"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error Response.","properties":{"error":{"description":"Error Body contract.","properties":{"code":{"description":"Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.","type":"string"},"details":{"description":"The list of invalid fields send in request, in case of validation error.","items":{"description":"Error Field contract.","properties":{"code":{"description":"Property level error code.","type":"string"},"message":{"description":"Human-readable representation of property-level error.","type":"string"},"target":{"description":"Property name.","type":"string"}}},"type":"array"},"message":{"description":"Human-readable representation of the error.","type":"string"}}}}}}}}},"tags":["OpenidConnectProvider"]},"head":{"description":"Gets the entity state (Etag) version of the openIdConnectProvider specified by its identifier.","operationId":"OpenIdConnectProvider_GetEntityTag","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ApiManagementHeadOpenIdConnectProvider":{"value":"rg1"}}},{"description":"The name of the API Management service.","in":"path","name":"serviceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"},"examples":{"ApiManagementHeadOpenIdConnectProvider":{"value":"apimService1"}}},{"description":"Identifier of the OpenID Connect Provider.","in":"path","name":"opid","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","maxLength":256,"pattern":"^[^*#&+:<>?]+$"},"examples":{"ApiManagementHeadOpenIdConnectProvider":{"value":"templateOpenIdConnect2"}}},{"description":"Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"ApiManagementHeadOpenIdConnectProvider":{"value":"2019-12-01-preview"}}},{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"ApiManagementHeadOpenIdConnectProvider":{"value":"subid"}}}],"responses":{"200":{"description":"Specified openidConnectProvider entity exists and current entity state version is present in the ETag header.","headers":{"ETag":{"description":"Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.","schema":{"type":"string"}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error Response.","properties":{"error":{"description":"Error Body contract.","properties":{"code":{"description":"Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.","type":"string"},"details":{"description":"The list of invalid fields send in request, in case of validation error.","items":{"description":"Error Field contract.","properties":{"code":{"description":"Property level error code.","type":"string"},"message":{"description":"Human-readable representation of property-level error.","type":"string"},"target":{"description":"Property name.","type":"string"}}},"type":"array"},"message":{"description":"Human-readable representation of the error.","type":"string"}}}}}}}}},"tags":["OpenidConnectProvider"]},"patch":{"description":"Updates the specific OpenID Connect Provider.","operationId":"OpenIdConnectProvider_Update","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ApiManagementUpdateOpenIdConnectProvider":{"value":"rg1"}}},{"description":"The name of the API Management service.","in":"path","name":"serviceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"},"examples":{"ApiManagementUpdateOpenIdConnectProvider":{"value":"apimService1"}}},{"description":"Identifier of the OpenID Connect Provider.","in":"path","name":"opid","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","maxLength":256,"pattern":"^[^*#&+:<>?]+$"},"examples":{"ApiManagementUpdateOpenIdConnectProvider":{"value":"templateOpenIdConnect2"}}},{"description":"ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.","in":"header","name":"If-Match","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ApiManagementUpdateOpenIdConnectProvider":{"value":"*"}}},{"description":"Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"ApiManagementUpdateOpenIdConnectProvider":{"value":"2019-12-01-preview"}}},{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"ApiManagementUpdateOpenIdConnectProvider":{"value":"subid"}}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Parameters supplied to the Update OpenID Connect Provider operation.","properties":{"properties":{"description":"Parameters supplied to the Update OpenID Connect Provider operation.","properties":{"clientId":{"description":"Client ID of developer console which is the client application.","type":"string"},"clientSecret":{"description":"Client Secret of developer console which is the client application.","type":"string","x-ms-secret":true},"description":{"description":"User-friendly description of OpenID Connect Provider.","type":"string"},"displayName":{"description":"User-friendly OpenID Connect Provider name.","maxLength":50,"type":"string"},"metadataEndpoint":{"description":"Metadata endpoint URI.","type":"string"}}}}}}},"description":"Update parameters.","required":true},"responses":{"204":{"description":"OpenId Connect Provider was successfully updated."},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error Response.","properties":{"error":{"description":"Error Body contract.","properties":{"code":{"description":"Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.","type":"string"},"details":{"description":"The list of invalid fields send in request, in case of validation error.","items":{"description":"Error Field contract.","properties":{"code":{"description":"Property level error code.","type":"string"},"message":{"description":"Human-readable representation of property-level error.","type":"string"},"target":{"description":"Property name.","type":"string"}}},"type":"array"},"message":{"description":"Human-readable representation of the error.","type":"string"}}}}}}}}},"tags":["OpenidConnectProvider"]},"put":{"description":"Creates or updates the OpenID Connect Provider.","operationId":"OpenIdConnectProvider_CreateOrUpdate","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ApiManagementCreateOpenIdConnectProvider":{"value":"rg1"}}},{"description":"The name of the API Management service.","in":"path","name":"serviceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"},"examples":{"ApiManagementCreateOpenIdConnectProvider":{"value":"apimService1"}}},{"description":"Identifier of the OpenID Connect Provider.","in":"path","name":"opid","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","maxLength":256,"pattern":"^[^*#&+:<>?]+$"},"examples":{"ApiManagementCreateOpenIdConnectProvider":{"value":"templateOpenIdConnect3"}}},{"description":"ETag of the Entity. Not required when creating an entity, but required when updating an entity.","in":"header","name":"If-Match","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},{"description":"Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"ApiManagementCreateOpenIdConnectProvider":{"value":"2019-12-01-preview"}}},{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"ApiManagementCreateOpenIdConnectProvider":{"value":"subid"}}}],"requestBody":{"content":{"application/json":{"schema":{"allOf":[{"description":"The Resource definition.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type for API Management resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"OpenId Connect Provider details.","properties":{"properties":{"description":"OpenID Connect Providers Contract.","properties":{"clientId":{"description":"Client ID of developer console which is the client application.","type":"string"},"clientSecret":{"description":"Client Secret of developer console which is the client application.","type":"string","x-ms-secret":true},"description":{"description":"User-friendly description of OpenID Connect Provider.","type":"string"},"displayName":{"description":"User-friendly OpenID Connect Provider name.","maxLength":50,"type":"string"},"metadataEndpoint":{"description":"Metadata endpoint URI.","type":"string"}},"required":["displayName","metadataEndpoint","clientId"]}}}}},"description":"Create parameters.","required":true},"responses":{"200":{"description":"OpenIdConnect Provider was successfully updated.","headers":{"ETag":{"description":"Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"allOf":[{"description":"The Resource definition.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type for API Management resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"OpenId Connect Provider details.","properties":{"properties":{"description":"OpenID Connect Providers Contract.","properties":{"clientId":{"description":"Client ID of developer console which is the client application.","type":"string"},"clientSecret":{"description":"Client Secret of developer console which is the client application.","type":"string","x-ms-secret":true},"description":{"description":"User-friendly description of OpenID Connect Provider.","type":"string"},"displayName":{"description":"User-friendly OpenID Connect Provider name.","maxLength":50,"type":"string"},"metadataEndpoint":{"description":"Metadata endpoint URI.","type":"string"}},"required":["displayName","metadataEndpoint","clientId"]}}},"examples":{"ApiManagementCreateOpenIdConnectProvider":{"$ref":"#/components/examples/ApiManagementCreateOpenIdConnectProvider"}}}}},"201":{"description":"OpenIdConnect Provider was successfully created.","headers":{"ETag":{"description":"Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"allOf":[{"description":"The Resource definition.","properties":{"id":{"description":"Resource ID.","readOnly":true,"type":"string"},"name":{"description":"Resource name.","readOnly":true,"type":"string"},"type":{"description":"Resource type for API Management resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"OpenId Connect Provider details.","properties":{"properties":{"description":"OpenID Connect Providers Contract.","properties":{"clientId":{"description":"Client ID of developer console which is the client application.","type":"string"},"clientSecret":{"description":"Client Secret of developer console which is the client application.","type":"string","x-ms-secret":true},"description":{"description":"User-friendly description of OpenID Connect Provider.","type":"string"},"displayName":{"description":"User-friendly OpenID Connect Provider name.","maxLength":50,"type":"string"},"metadataEndpoint":{"description":"Metadata endpoint URI.","type":"string"}},"required":["displayName","metadataEndpoint","clientId"]}}},"examples":{"ApiManagementCreateOpenIdConnectProvider":{"$ref":"#/components/examples/ApiManagementCreateOpenIdConnectProvider"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error Response.","properties":{"error":{"description":"Error Body contract.","properties":{"code":{"description":"Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.","type":"string"},"details":{"description":"The list of invalid fields send in request, in case of validation error.","items":{"description":"Error Field contract.","properties":{"code":{"description":"Property level error code.","type":"string"},"message":{"description":"Human-readable representation of property-level error.","type":"string"},"target":{"description":"Property name.","type":"string"}}},"type":"array"},"message":{"description":"Human-readable representation of the error.","type":"string"}}}}}}}}},"tags":["OpenidConnectProvider"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}/listSecrets":{"post":{"description":"Gets the client secret details of the OpenID Connect Provider.","operationId":"OpenIdConnectProvider_ListSecrets","parameters":[{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ApiManagementListSecretsOpenidConnectProvider":{"value":"rg1"}}},{"description":"The name of the API Management service.","in":"path","name":"serviceName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":50,"pattern":"^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"},"examples":{"ApiManagementListSecretsOpenidConnectProvider":{"value":"apimService1"}}},{"description":"Identifier of the OpenID Connect Provider.","in":"path","name":"opid","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","maxLength":256,"pattern":"^[^*#&+:<>?]+$"},"examples":{"ApiManagementListSecretsOpenidConnectProvider":{"value":"templateOpenIdConnect2"}}},{"description":"Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"ApiManagementListSecretsOpenidConnectProvider":{"value":"2019-12-01-preview"}}},{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"ApiManagementListSecretsOpenidConnectProvider":{"value":"subid"}}}],"responses":{"200":{"description":"The response body contains the client secret.","content":{"application/json":{"schema":{"description":"Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.","properties":{"clientSecret":{"description":"Client or app secret used in IdentityProviders, Aad, OpenID or OAuth.","type":"string"}}},"examples":{"ApiManagementListSecretsOpenidConnectProvider":{"$ref":"#/components/examples/ApiManagementListSecretsOpenidConnectProvider"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"description":"Error Response.","properties":{"error":{"description":"Error Body contract.","properties":{"code":{"description":"Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.","type":"string"},"details":{"description":"The list of invalid fields send in request, in case of validation error.","items":{"description":"Error Field contract.","properties":{"code":{"description":"Property level error code.","type":"string"},"message":{"description":"Human-readable representation of property-level error.","type":"string"},"target":{"description":"Property name.","type":"string"}}},"type":"array"},"message":{"description":"Human-readable representation of the error.","type":"string"}}}}}}}}},"tags":["OpenidConnectProvider"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"ApiManagementListOpenIdConnectProviders":{"value":{"nextLink":"","value":[{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2","name":"templateOpenIdConnect2","properties":{"clientId":"oidprovidertemplate2","description":"open id provider template2","displayName":"templateoidprovider2","metadataEndpoint":"https://oidprovider-template2.net"},"type":"Microsoft.ApiManagement/service/openidconnectproviders"}]}},"ApiManagementGetOpenIdConnectProvider":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect2","name":"templateOpenIdConnect2","properties":{"clientId":"oidprovidertemplate2","description":"open id provider template2","displayName":"templateoidprovider2","metadataEndpoint":"https://oidprovider-template2.net"},"type":"Microsoft.ApiManagement/service/openidconnectproviders"}},"ApiManagementCreateOpenIdConnectProvider":{"value":{"id":"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/openidConnectProviders/templateOpenIdConnect3","name":"templateOpenIdConnect3","properties":{"clientId":"oidprovidertemplate3","displayName":"templateoidprovider3","metadataEndpoint":"https://oidprovider-template3.net"},"type":"Microsoft.ApiManagement/service/openidconnectproviders"}},"ApiManagementListSecretsOpenidConnectProvider":{"value":{"clientSecret":"oidsecretproviderTemplate2"}}},"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"}}}}}}}