Udostępnij za pośrednictwem


ArmHybridComputeModelFactory.HybridComputeLicenseData Method

Definition

Initializes a new instance of HybridComputeLicenseData.

public static Azure.ResourceManager.HybridCompute.HybridComputeLicenseData HybridComputeLicenseData (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, Azure.ResourceManager.HybridCompute.Models.HybridComputeProvisioningState? provisioningState = default, Guid? tenantId = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeLicenseType? licenseType = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeLicenseDetails licenseDetails = default);
static member HybridComputeLicenseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.HybridCompute.Models.HybridComputeProvisioningState> * Nullable<Guid> * Nullable<Azure.ResourceManager.HybridCompute.Models.HybridComputeLicenseType> * Azure.ResourceManager.HybridCompute.Models.HybridComputeLicenseDetails -> Azure.ResourceManager.HybridCompute.HybridComputeLicenseData
Public Shared Function HybridComputeLicenseData (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 provisioningState As Nullable(Of HybridComputeProvisioningState) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional licenseType As Nullable(Of HybridComputeLicenseType) = Nothing, Optional licenseDetails As HybridComputeLicenseDetails = Nothing) As HybridComputeLicenseData

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.

provisioningState
Nullable<HybridComputeProvisioningState>

The provisioning state, which only appears in the response.

tenantId
Nullable<Guid>

Describes the tenant id.

licenseType
Nullable<HybridComputeLicenseType>

The type of the license resource.

licenseDetails
HybridComputeLicenseDetails

Describes the properties of a License.

Returns

A new HybridComputeLicenseData instance for mocking.

Applies to