Share via


GatewayOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a Gateway to be used in Api Management instance.

public static Microsoft.Azure.Management.ApiManagement.Models.GatewayContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.IGatewayOperations operations, string resourceGroupName, string serviceName, string gatewayId, Microsoft.Azure.Management.ApiManagement.Models.GatewayContract parameters, string ifMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.IGatewayOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.GatewayContract * string -> Microsoft.Azure.Management.ApiManagement.Models.GatewayContract
<Extension()>
Public Function CreateOrUpdate (operations As IGatewayOperations, resourceGroupName As String, serviceName As String, gatewayId As String, parameters As GatewayContract, Optional ifMatch As String = Nothing) As GatewayContract

Parameters

operations
IGatewayOperations

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'

parameters
GatewayContract
ifMatch
String

ETag of the Entity. Not required when creating an entity, but required when updating an entity.

Returns

Applies to