Compartilhar via


ArmHybridComputeModelFactory.HybridComputeProductFeature Method

Definition

Initializes a new instance of HybridComputeProductFeature.

public static Azure.ResourceManager.HybridCompute.Models.HybridComputeProductFeature HybridComputeProductFeature (string name = default, Azure.ResourceManager.HybridCompute.Models.LicenseProfileSubscriptionStatus? subscriptionStatus = default, DateTimeOffset? enrollmentOn = default, DateTimeOffset? billingStartOn = default, DateTimeOffset? disenrollmentOn = default, DateTimeOffset? billingEndOn = default, Azure.ResponseError error = default);
static member HybridComputeProductFeature : string * Nullable<Azure.ResourceManager.HybridCompute.Models.LicenseProfileSubscriptionStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResponseError -> Azure.ResourceManager.HybridCompute.Models.HybridComputeProductFeature
Public Shared Function HybridComputeProductFeature (Optional name As String = Nothing, Optional subscriptionStatus As Nullable(Of LicenseProfileSubscriptionStatus) = Nothing, Optional enrollmentOn As Nullable(Of DateTimeOffset) = Nothing, Optional billingStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional disenrollmentOn As Nullable(Of DateTimeOffset) = Nothing, Optional billingEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As ResponseError = Nothing) As HybridComputeProductFeature

Parameters

name
String

Product feature name.

subscriptionStatus
Nullable<LicenseProfileSubscriptionStatus>

Indicates the current status of the product features.

enrollmentOn
Nullable<DateTimeOffset>

The timestamp in UTC when the user enrolls the feature.

billingStartOn
Nullable<DateTimeOffset>

The timestamp in UTC when the billing starts.

disenrollmentOn
Nullable<DateTimeOffset>

The timestamp in UTC when the user disenrolled the feature.

billingEndOn
Nullable<DateTimeOffset>

The timestamp in UTC when the billing ends.

error
ResponseError

The errors that were encountered during the feature enrollment or disenrollment.

Returns

A new HybridComputeProductFeature instance for mocking.

Applies to