ArmSubscriptionModelFactory.TenantPolicyData Method

Definition

Initializes a new instance of TenantPolicyData.

public static Azure.ResourceManager.Subscription.TenantPolicyData TenantPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Subscription.Models.TenantPolicyProperties properties = default);
static member TenantPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Subscription.Models.TenantPolicyProperties -> Azure.ResourceManager.Subscription.TenantPolicyData
Public Shared Function TenantPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As TenantPolicyProperties = Nothing) As TenantPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

properties
TenantPolicyProperties

Tenant policy properties.

Returns

A new TenantPolicyData instance for mocking.

Applies to