O cmdlet Import-AzApiManagementApi importa uma API API Management do Azure a partir de um ficheiro ou URL em formato Web Application Description Language (WADL), Web Services Description Language (WSDL) ou Swagger.
ApiId : 6c3f20c66e5745b19229d06cd865948f
Name : USPTO Data Set API
Description : The Data Set API (DSAPI) allows the public users to discover and search USPTO exported data sets. This is a generic API that allows USPTO users to make any CSV based data files
searchable through API. With the help of GET call, it returns the list of data fields that are searchable. With the help of POST call, data can be fetched based on the filters on the
field names. Please note that POST call is used to search the actual data. The reason for the POST call is that it allows users to specify any complex search criteria without worry
about the GET size limitations as well as encoding of the input parameters.
ServiceUrl : https://developer.uspto.gov/ds-api
Path : uspostal
ApiType : http
Protocols : {Https}
AuthorizationServerId :
AuthorizationScope :
OpenidProviderId :
BearerTokenSendingMethod : {}
SubscriptionKeyHeaderName : Ocp-Apim-Subscription-Key
SubscriptionKeyQueryParamName : subscription-key
ApiRevision : 1
ApiVersion : v2
IsCurrent : True
IsOnline : False
SubscriptionRequired :
ApiRevisionDescription :
ApiVersionSetDescription :
ApiVersionSetId : /subscriptions/subid/resourceGroups/Api-Default-East-US/providers/Microsoft.ApiManagement/service/contoso/apiVersionSets/0d50e2cf-aaeb-4ea3-8a58-db9ec079c6cd
Id : /subscriptions/subid/resourceGroups/Api-Default-East-US/providers/Microsoft.ApiManagement/service/contoso/apis/6c3f20c66e5745b19229d06cd865948f
ResourceGroupName : Api-Default-East-US
ServiceName : contoso
Este comando importa uma API do documento de especificação Open 3.0 especificado e cria um novo ApiVersion.
Identificador da revisão da API. Este parâmetro é opcional. Se não for especificado, a importação será feita para a revisão atualmente ativa ou para uma nova api.
Especifica um caminho da API da Web como a última parte da URL pública da API.
Esse URL é usado por consumidores de API para enviar solicitações ao serviço Web.
Deve ter de 1 a 400 caracteres.
O valor padrão é $Null.
Protocolos de API Web (http, https). Protocolos sobre os quais a API é disponibilizada. Este parâmetro é opcional. Se fornecido, substituirá os protocolos especificados no documento de especificações.
Uma URL do serviço Web expondo a API. Este URL será usado apenas pelo API Management do Azure e não será tornado público. Este parâmetro é opcional. Se fornecido, ele substituirá o ServiceUrl especificado no documento Especificações.
Nome local do ponto de extremidade WSDL (porta) a ser importado. Deve ter de 1 a 400 caracteres. Este parâmetro é opcional e só é necessário para importar Wsdl. O valor padrão é $null.
Nome local do Serviço WSDL a ser importado. Deve ter de 1 a 400 caracteres. Este parâmetro é opcional e só é necessário para importar Wsdl. O valor padrão é $null.
Este cmdlet suporta os parâmetros comuns: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Para obter mais informações, consulte about_CommonParameters.
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.