GatewayApiOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an API to the specified Gateway.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ApiContract> CreateOrUpdateAsync (this Microsoft.Azure.Management.ApiManagement.IGatewayApiOperations operations, string resourceGroupName, string serviceName, string gatewayId, string apiId, Microsoft.Azure.Management.ApiManagement.Models.AssociationContract parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ApiManagement.IGatewayApiOperations * string * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.AssociationContract * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.ApiContract>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IGatewayApiOperations, resourceGroupName As String, serviceName As String, gatewayId As String, apiId As String, Optional parameters As AssociationContract = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApiContract)
Parameters
- operations
- IGatewayApiOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- serviceName
- String
The name of the API Management service.
- gatewayId
- String
Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'
- apiId
- String
API identifier. Must be unique in the current API Management service instance.
- parameters
- AssociationContract
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기