Udostępnij za pośrednictwem


ArmNetworkModelFactory.CrossTenantScopes Method

Definition

Initializes a new instance of CrossTenantScopes.

public static Azure.ResourceManager.Network.Models.CrossTenantScopes CrossTenantScopes (Guid? tenantId = default, System.Collections.Generic.IEnumerable<string> managementGroups = default, System.Collections.Generic.IEnumerable<string> subscriptions = default);
static member CrossTenantScopes : Nullable<Guid> * seq<string> * seq<string> -> Azure.ResourceManager.Network.Models.CrossTenantScopes
Public Shared Function CrossTenantScopes (Optional tenantId As Nullable(Of Guid) = Nothing, Optional managementGroups As IEnumerable(Of String) = Nothing, Optional subscriptions As IEnumerable(Of String) = Nothing) As CrossTenantScopes

Parameters

tenantId
Nullable<Guid>

Tenant ID.

managementGroups
IEnumerable<String>

List of management groups.

subscriptions
IEnumerable<String>

List of subscriptions.

Returns

A new CrossTenantScopes instance for mocking.

Applies to