共用方式為


ArmApiManagementModelFactory.ProductGroupData Method

Definition

Initializes a new instance of ProductGroupData.

public static Azure.ResourceManager.ApiManagement.Models.ProductGroupData ProductGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, string description = default, bool? isBuiltIn = default, Azure.ResourceManager.ApiManagement.Models.ApiManagementGroupType? groupType = default, string externalId = default);
static member ProductGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<bool> * Nullable<Azure.ResourceManager.ApiManagement.Models.ApiManagementGroupType> * string -> Azure.ResourceManager.ApiManagement.Models.ProductGroupData
Public Shared Function ProductGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional isBuiltIn As Nullable(Of Boolean) = Nothing, Optional groupType As Nullable(Of ApiManagementGroupType) = Nothing, Optional externalId As String = Nothing) As ProductGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

Group name.

description
String

Group description. Can contain HTML formatting tags.

isBuiltIn
Nullable<Boolean>

true if the group is one of the three system groups (Administrators, Developers, or Guests); otherwise false.

groupType
Nullable<ApiManagementGroupType>

Group type.

externalId
String

For external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory aad://&lt;tenant&gt;.onmicrosoft.com/groups/&lt;group object id&gt;; otherwise the value is null.

Returns

A new ProductGroupData instance for mocking.

Applies to