ArmHybridComputeModelFactory.LicenseProfileMachineInstanceView Method

Definition

Initializes a new instance of LicenseProfileMachineInstanceView.

public static Azure.ResourceManager.HybridCompute.Models.LicenseProfileMachineInstanceView LicenseProfileMachineInstanceView (Azure.ResourceManager.HybridCompute.Models.HybridComputeLicenseStatus? licenseStatus = default, string licenseChannel = default, Azure.ResourceManager.HybridCompute.Models.LicenseProfileMachineInstanceViewEsuProperties esuProfile = default, Azure.ResourceManager.HybridCompute.Models.LicenseProfileSubscriptionStatus? subscriptionStatus = default, Azure.ResourceManager.HybridCompute.Models.LicenseProfileProductType? productType = default, DateTimeOffset? enrollmentOn = default, DateTimeOffset? billingStartOn = default, DateTimeOffset? disenrollmentOn = default, DateTimeOffset? billingEndOn = default, Azure.ResponseError error = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridCompute.Models.HybridComputeProductFeature> productFeatures = default, bool? isSoftwareAssuranceCustomer = default);
static member LicenseProfileMachineInstanceView : Nullable<Azure.ResourceManager.HybridCompute.Models.HybridComputeLicenseStatus> * string * Azure.ResourceManager.HybridCompute.Models.LicenseProfileMachineInstanceViewEsuProperties * Nullable<Azure.ResourceManager.HybridCompute.Models.LicenseProfileSubscriptionStatus> * Nullable<Azure.ResourceManager.HybridCompute.Models.LicenseProfileProductType> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResponseError * seq<Azure.ResourceManager.HybridCompute.Models.HybridComputeProductFeature> * Nullable<bool> -> Azure.ResourceManager.HybridCompute.Models.LicenseProfileMachineInstanceView
Public Shared Function LicenseProfileMachineInstanceView (Optional licenseStatus As Nullable(Of HybridComputeLicenseStatus) = Nothing, Optional licenseChannel As String = Nothing, Optional esuProfile As LicenseProfileMachineInstanceViewEsuProperties = Nothing, Optional subscriptionStatus As Nullable(Of LicenseProfileSubscriptionStatus) = Nothing, Optional productType As Nullable(Of LicenseProfileProductType) = 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, Optional productFeatures As IEnumerable(Of HybridComputeProductFeature) = Nothing, Optional isSoftwareAssuranceCustomer As Nullable(Of Boolean) = Nothing) As LicenseProfileMachineInstanceView

Parameters

licenseStatus
Nullable<HybridComputeLicenseStatus>

Indicates the license status of the OS.

licenseChannel
String

Indicates the license channel.

esuProfile
LicenseProfileMachineInstanceViewEsuProperties

Properties for the Machine ESU profile.

subscriptionStatus
Nullable<LicenseProfileSubscriptionStatus>

Indicates the subscription status of the product.

productType
Nullable<LicenseProfileProductType>

Indicates the product type of the license.

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.

productFeatures
IEnumerable<HybridComputeProductFeature>

The list of product features.

isSoftwareAssuranceCustomer
Nullable<Boolean>

Specifies if this machine is licensed as part of a Software Assurance agreement.

Returns

A new LicenseProfileMachineInstanceView instance for mocking.

Applies to