共用方式為


ArmResourcesModelFactory.JitRequestData Method

Definition

Initializes a new instance of JitRequestData.

public static Azure.ResourceManager.Resources.JitRequestData JitRequestData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string applicationResourceId = default, Guid? publisherTenantId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.JitAuthorizationPolicies> jitAuthorizationPolicies = default, Azure.ResourceManager.Resources.Models.JitSchedulingPolicy jitSchedulingPolicy = default, Azure.ResourceManager.Resources.Models.ResourcesProvisioningState? provisioningState = default, Azure.ResourceManager.Resources.Models.JitRequestState? jitRequestState = default, Azure.ResourceManager.Resources.Models.ArmApplicationDetails createdBy = default, Azure.ResourceManager.Resources.Models.ArmApplicationDetails updatedBy = default);
static member JitRequestData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Nullable<Guid> * seq<Azure.ResourceManager.Resources.Models.JitAuthorizationPolicies> * Azure.ResourceManager.Resources.Models.JitSchedulingPolicy * Nullable<Azure.ResourceManager.Resources.Models.ResourcesProvisioningState> * Nullable<Azure.ResourceManager.Resources.Models.JitRequestState> * Azure.ResourceManager.Resources.Models.ArmApplicationDetails * Azure.ResourceManager.Resources.Models.ArmApplicationDetails -> Azure.ResourceManager.Resources.JitRequestData
Public Shared Function JitRequestData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional applicationResourceId As String = Nothing, Optional publisherTenantId As Nullable(Of Guid) = Nothing, Optional jitAuthorizationPolicies As IEnumerable(Of JitAuthorizationPolicies) = Nothing, Optional jitSchedulingPolicy As JitSchedulingPolicy = Nothing, Optional provisioningState As Nullable(Of ResourcesProvisioningState) = Nothing, Optional jitRequestState As Nullable(Of JitRequestState) = Nothing, Optional createdBy As ArmApplicationDetails = Nothing, Optional updatedBy As ArmApplicationDetails = Nothing) As JitRequestData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

applicationResourceId
String

The parent application id.

publisherTenantId
Nullable<Guid>

The publisher tenant id.

jitAuthorizationPolicies
IEnumerable<JitAuthorizationPolicies>

The JIT authorization policies.

jitSchedulingPolicy
JitSchedulingPolicy

The JIT request properties.

provisioningState
Nullable<ResourcesProvisioningState>

The JIT request provisioning state.

jitRequestState
Nullable<JitRequestState>

The JIT request state.

createdBy
ArmApplicationDetails

The client entity that created the JIT request.

updatedBy
ArmApplicationDetails

The client entity that last updated the JIT request.

Returns

A new JitRequestData instance for mocking.

Applies to