共用方式為


GroupContract Constructors

Definition

Overloads

GroupContract()

Initializes a new instance of the GroupContract class.

GroupContract(String, String, String, String, String, Nullable<Boolean>, Nullable<GroupType>, String)

Initializes a new instance of the GroupContract class.

GroupContract()

Initializes a new instance of the GroupContract class.

public GroupContract ();
Public Sub New ()

Applies to

GroupContract(String, String, String, String, String, Nullable<Boolean>, Nullable<GroupType>, String)

Initializes a new instance of the GroupContract class.

public GroupContract (string displayName, string id = default, string name = default, string type = default, string description = default, bool? builtIn = default, Microsoft.Azure.Management.ApiManagement.Models.GroupType? groupContractType = default, string externalId = default);
new Microsoft.Azure.Management.ApiManagement.Models.GroupContract : string * string * string * string * string * Nullable<bool> * Nullable<Microsoft.Azure.Management.ApiManagement.Models.GroupType> * string -> Microsoft.Azure.Management.ApiManagement.Models.GroupContract
Public Sub New (displayName As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional description As String = Nothing, Optional builtIn As Nullable(Of Boolean) = Nothing, Optional groupContractType As Nullable(Of GroupType) = Nothing, Optional externalId As String = Nothing)

Parameters

displayName
String

Group name.

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

description
String

Group description. Can contain HTML formatting tags.

builtIn
Nullable<Boolean>

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

groupContractType
Nullable<GroupType>

Group type. Possible values include: 'custom', 'system', 'external'

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.

Applies to