Share via


ProductGroupOperationsExtensions.CreateOrUpdate Method

Definition

Adds the association between the specified developer group with the specified product.

public static Microsoft.Azure.Management.ApiManagement.Models.GroupContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.IProductGroupOperations operations, string resourceGroupName, string serviceName, string productId, string groupId);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.IProductGroupOperations * string * string * string * string -> Microsoft.Azure.Management.ApiManagement.Models.GroupContract
<Extension()>
Public Function CreateOrUpdate (operations As IProductGroupOperations, resourceGroupName As String, serviceName As String, productId As String, groupId As String) As GroupContract

Parameters

operations
IProductGroupOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

productId
String

Product identifier. Must be unique in the current API Management service instance.

groupId
String

Group identifier. Must be unique in the current API Management service instance.

Returns

Applies to