O cmdlet Import-AzApiManagementApi importa uma API de Gerenciamento de API do Azure de um arquivo ou uma URL no formato WADL (Linguagem de Descrição do Aplicativo Web), WSDL (Linguagem de Descrição dos Serviços Web) 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
Esse comando importa uma API do documento de especificação open 3.0 especificado e cria uma nova ApiVersion.
Identificador da Revisão de API. Esse parâmetro é opcional. Se não for especificado, a importação será feita na revisão ativa no momento ou em uma nova api.
Especifica um caminho de API Web como a última parte da URL pública da API.
Essa URL é usada pelos consumidores de API para enviar solicitações para o 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. Esse parâmetro é opcional. Se fornecido, ele substituirá os protocolos especificados no documento de especificações.
Uma URL do serviço Web expondo a API. Essa URL será usada apenas pelo Gerenciamento de API do Azure e não será tornada pública. Esse 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. Esse parâmetro é opcional e só é necessário para importar o Wsdl. O valor padrão é $null.
Nome local do Serviço WSDL a ser importado. Deve ter de 1 a 400 caracteres. Esse parâmetro é opcional e só é necessário para importar o 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 fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.