共用方式為


ArmManagedServicesModelFactory.ManagedServicesRegistrationProperties Method

Definition

Initializes a new instance of ManagedServicesRegistrationProperties.

public static Azure.ResourceManager.ManagedServices.Models.ManagedServicesRegistrationProperties ManagedServicesRegistrationProperties (string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagedServices.Models.ManagedServicesAuthorization> authorizations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagedServices.Models.ManagedServicesEligibleAuthorization> eligibleAuthorizations = default, string registrationDefinitionName = default, Guid managedByTenantId = default, Azure.ResourceManager.ManagedServices.Models.ManagedServicesProvisioningState? provisioningState = default, Guid? manageeTenantId = default, string manageeTenantName = default, string managedByTenantName = default);
static member ManagedServicesRegistrationProperties : string * seq<Azure.ResourceManager.ManagedServices.Models.ManagedServicesAuthorization> * seq<Azure.ResourceManager.ManagedServices.Models.ManagedServicesEligibleAuthorization> * string * Guid * Nullable<Azure.ResourceManager.ManagedServices.Models.ManagedServicesProvisioningState> * Nullable<Guid> * string * string -> Azure.ResourceManager.ManagedServices.Models.ManagedServicesRegistrationProperties
Public Shared Function ManagedServicesRegistrationProperties (Optional description As String = Nothing, Optional authorizations As IEnumerable(Of ManagedServicesAuthorization) = Nothing, Optional eligibleAuthorizations As IEnumerable(Of ManagedServicesEligibleAuthorization) = Nothing, Optional registrationDefinitionName As String = Nothing, Optional managedByTenantId As Guid = Nothing, Optional provisioningState As Nullable(Of ManagedServicesProvisioningState) = Nothing, Optional manageeTenantId As Nullable(Of Guid) = Nothing, Optional manageeTenantName As String = Nothing, Optional managedByTenantName As String = Nothing) As ManagedServicesRegistrationProperties

Parameters

description
String

The description of the registration definition.

authorizations
IEnumerable<ManagedServicesAuthorization>

The collection of authorization objects describing the access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant.

eligibleAuthorizations
IEnumerable<ManagedServicesEligibleAuthorization>

The collection of eligible authorization objects describing the just-in-time access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant.

registrationDefinitionName
String

The name of the registration definition.

managedByTenantId
Guid

The identifier of the managedBy tenant.

provisioningState
Nullable<ManagedServicesProvisioningState>

The current provisioning state of the registration definition.

manageeTenantId
Nullable<Guid>

The identifier of the managed tenant.

manageeTenantName
String

The name of the managed tenant.

managedByTenantName
String

The name of the managedBy tenant.

Returns

A new ManagedServicesRegistrationProperties instance for mocking.

Applies to