ArmHybridComputeModelFactory.LicenseProfileMachineInstanceViewEsuProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of LicenseProfileMachineInstanceViewEsuProperties.
public static Azure.ResourceManager.HybridCompute.Models.LicenseProfileMachineInstanceViewEsuProperties LicenseProfileMachineInstanceViewEsuProperties (Guid? assignedLicenseImmutableId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridCompute.Models.EsuKey> esuKeys = default, Azure.ResourceManager.HybridCompute.Models.EsuServerType? serverType = default, Azure.ResourceManager.HybridCompute.Models.EsuEligibility? esuEligibility = default, Azure.ResourceManager.HybridCompute.Models.EsuKeyState? esuKeyState = default, Azure.ResourceManager.HybridCompute.HybridComputeLicenseData assignedLicense = default, Azure.ResourceManager.HybridCompute.Models.LicenseAssignmentState? licenseAssignmentState = default);
static member LicenseProfileMachineInstanceViewEsuProperties : Nullable<Guid> * seq<Azure.ResourceManager.HybridCompute.Models.EsuKey> * Nullable<Azure.ResourceManager.HybridCompute.Models.EsuServerType> * Nullable<Azure.ResourceManager.HybridCompute.Models.EsuEligibility> * Nullable<Azure.ResourceManager.HybridCompute.Models.EsuKeyState> * Azure.ResourceManager.HybridCompute.HybridComputeLicenseData * Nullable<Azure.ResourceManager.HybridCompute.Models.LicenseAssignmentState> -> Azure.ResourceManager.HybridCompute.Models.LicenseProfileMachineInstanceViewEsuProperties
Public Shared Function LicenseProfileMachineInstanceViewEsuProperties (Optional assignedLicenseImmutableId As Nullable(Of Guid) = Nothing, Optional esuKeys As IEnumerable(Of EsuKey) = Nothing, Optional serverType As Nullable(Of EsuServerType) = Nothing, Optional esuEligibility As Nullable(Of EsuEligibility) = Nothing, Optional esuKeyState As Nullable(Of EsuKeyState) = Nothing, Optional assignedLicense As HybridComputeLicenseData = Nothing, Optional licenseAssignmentState As Nullable(Of LicenseAssignmentState) = Nothing) As LicenseProfileMachineInstanceViewEsuProperties
Parameters
- esuKeys
- IEnumerable<EsuKey>
The list of ESU keys.
- serverType
- Nullable<EsuServerType>
The type of the Esu servers.
- esuEligibility
- Nullable<EsuEligibility>
Indicates the eligibility state of Esu.
- esuKeyState
- Nullable<EsuKeyState>
Indicates whether there is an ESU Key currently active for the machine.
- assignedLicense
- HybridComputeLicenseData
The assigned license resource.
- licenseAssignmentState
- Nullable<LicenseAssignmentState>
Describes the license assignment state (Assigned or NotAssigned).
Returns
A new LicenseProfileMachineInstanceViewEsuProperties instance for mocking.
Applies to
Azure SDK for .NET