Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForEsuEligibility() []string + func PossibleValuesForEsuKeyState() []string + func PossibleValuesForEsuServerType() []string + func PossibleValuesForLicenseProfileProductType() []string + func PossibleValuesForLicenseProfileSubscriptionStatus() []string + func PossibleValuesForLicenseProfileSubscriptionStatusUpdate() []string + func PossibleValuesForProvisioningState() []string + func ValidateMachineID(input interface{}, key string) (warnings []string, errors []error) + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *LicenseProfile + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type ErrorAdditionalInfo struct + Info *interface{} + Type *string + type ErrorDetail struct + AdditionalInfo *[]ErrorAdditionalInfo + Code *string + Details *[]ErrorDetail + Message *string + Target *string + type EsuEligibility string + const EsuEligibilityEligible + const EsuEligibilityIneligible + const EsuEligibilityUnknown + func (s *EsuEligibility) UnmarshalJSON(bytes []byte) error + type EsuKey struct + LicenseStatus *int64 + Sku *string + type EsuKeyState string + const EsuKeyStateActive + const EsuKeyStateInactive + func (s *EsuKeyState) UnmarshalJSON(bytes []byte) error + type EsuProfileUpdateProperties struct + AssignedLicense *string + type EsuServerType string + const EsuServerTypeDatacenter + const EsuServerTypeStandard + func (s *EsuServerType) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *LicenseProfile + OData *odata.OData + type LicenseProfile struct + Id *string + Location string + Name *string + Properties *LicenseProfileProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type LicenseProfileArmEsuProperties struct + AssignedLicense *string + AssignedLicenseImmutableId *string + EsuEligibility *EsuEligibility + EsuKeyState *EsuKeyState + EsuKeys *[]EsuKey + ServerType *EsuServerType + type LicenseProfileArmProductProfileProperties struct + BillingEndDate *string + BillingStartDate *string + DisenrollmentDate *string + EnrollmentDate *string + Error *ErrorDetail + ProductFeatures *[]ProductFeature + ProductType *LicenseProfileProductType + SubscriptionStatus *LicenseProfileSubscriptionStatus + func (o *LicenseProfileArmProductProfileProperties) GetBillingEndDateAsTime() (*time.Time, error) + func (o *LicenseProfileArmProductProfileProperties) GetBillingStartDateAsTime() (*time.Time, error) + func (o *LicenseProfileArmProductProfileProperties) GetDisenrollmentDateAsTime() (*time.Time, error) + func (o *LicenseProfileArmProductProfileProperties) GetEnrollmentDateAsTime() (*time.Time, error) + func (o *LicenseProfileArmProductProfileProperties) SetBillingEndDateAsTime(input time.Time) + func (o *LicenseProfileArmProductProfileProperties) SetBillingStartDateAsTime(input time.Time) + func (o *LicenseProfileArmProductProfileProperties) SetDisenrollmentDateAsTime(input time.Time) + func (o *LicenseProfileArmProductProfileProperties) SetEnrollmentDateAsTime(input time.Time) + type LicenseProfileOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p LicenseProfileOperationPredicate) Matches(input LicenseProfile) bool + type LicenseProfileProductType string + const LicenseProfileProductTypeWindowsIoTEnterprise + const LicenseProfileProductTypeWindowsServer + func (s *LicenseProfileProductType) UnmarshalJSON(bytes []byte) error + type LicenseProfileProperties struct + EsuProfile *LicenseProfileArmEsuProperties + ProductProfile *LicenseProfileArmProductProfileProperties + ProvisioningState *ProvisioningState + SoftwareAssurance *LicenseProfilePropertiesSoftwareAssurance + type LicenseProfilePropertiesSoftwareAssurance struct + SoftwareAssuranceCustomer *bool + type LicenseProfileSubscriptionStatus string + const LicenseProfileSubscriptionStatusDisabled + const LicenseProfileSubscriptionStatusDisabling + const LicenseProfileSubscriptionStatusEnabled + const LicenseProfileSubscriptionStatusEnabling + const LicenseProfileSubscriptionStatusFailed + const LicenseProfileSubscriptionStatusUnknown + func (s *LicenseProfileSubscriptionStatus) UnmarshalJSON(bytes []byte) error + type LicenseProfileSubscriptionStatusUpdate string + const LicenseProfileSubscriptionStatusUpdateDisable + const LicenseProfileSubscriptionStatusUpdateEnable + func (s *LicenseProfileSubscriptionStatusUpdate) UnmarshalJSON(bytes []byte) error + type LicenseProfileUpdate struct + Properties *LicenseProfileUpdateProperties + Tags *map[string]string + type LicenseProfileUpdateProperties struct + EsuProfile *EsuProfileUpdateProperties + ProductProfile *ProductProfileUpdateProperties + SoftwareAssurance *LicenseProfileUpdatePropertiesSoftwareAssurance + type LicenseProfileUpdatePropertiesSoftwareAssurance struct + SoftwareAssuranceCustomer *bool + type LicenseProfilesClient struct + Client *resourcemanager.Client + func NewLicenseProfilesClientWithBaseURI(sdkApi sdkEnv.Api) (*LicenseProfilesClient, error) + func (c LicenseProfilesClient) CreateOrUpdate(ctx context.Context, id MachineId, input LicenseProfile) (result CreateOrUpdateOperationResponse, err error) + func (c LicenseProfilesClient) CreateOrUpdateThenPoll(ctx context.Context, id MachineId, input LicenseProfile) error + func (c LicenseProfilesClient) Delete(ctx context.Context, id MachineId) (result DeleteOperationResponse, err error) + func (c LicenseProfilesClient) DeleteThenPoll(ctx context.Context, id MachineId) error + func (c LicenseProfilesClient) Get(ctx context.Context, id MachineId) (result GetOperationResponse, err error) + func (c LicenseProfilesClient) List(ctx context.Context, id MachineId) (result ListOperationResponse, err error) + func (c LicenseProfilesClient) ListComplete(ctx context.Context, id MachineId) (ListCompleteResult, error) + func (c LicenseProfilesClient) ListCompleteMatchingPredicate(ctx context.Context, id MachineId, predicate LicenseProfileOperationPredicate) (result ListCompleteResult, err error) + func (c LicenseProfilesClient) Update(ctx context.Context, id MachineId, input LicenseProfileUpdate) (result UpdateOperationResponse, err error) + func (c LicenseProfilesClient) UpdateThenPoll(ctx context.Context, id MachineId, input LicenseProfileUpdate) error + type ListCompleteResult struct + Items []LicenseProfile + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]LicenseProfile + OData *odata.OData + type MachineId struct + MachineName string + ResourceGroupName string + SubscriptionId string + func NewMachineID(subscriptionId string, resourceGroupName string, machineName string) MachineId + func ParseMachineID(input string) (*MachineId, error) + func ParseMachineIDInsensitively(input string) (*MachineId, error) + func (id *MachineId) FromParseResult(input resourceids.ParseResult) error + func (id MachineId) ID() string + func (id MachineId) Segments() []resourceids.Segment + func (id MachineId) String() string + type ProductFeature struct + BillingEndDate *string + BillingStartDate *string + DisenrollmentDate *string + EnrollmentDate *string + Error *ErrorDetail + Name *string + SubscriptionStatus *LicenseProfileSubscriptionStatus + func (o *ProductFeature) GetBillingEndDateAsTime() (*time.Time, error) + func (o *ProductFeature) GetBillingStartDateAsTime() (*time.Time, error) + func (o *ProductFeature) GetDisenrollmentDateAsTime() (*time.Time, error) + func (o *ProductFeature) GetEnrollmentDateAsTime() (*time.Time, error) + func (o *ProductFeature) SetBillingEndDateAsTime(input time.Time) + func (o *ProductFeature) SetBillingStartDateAsTime(input time.Time) + func (o *ProductFeature) SetDisenrollmentDateAsTime(input time.Time) + func (o *ProductFeature) SetEnrollmentDateAsTime(input time.Time) + type ProductFeatureUpdate struct + Name *string + SubscriptionStatus *LicenseProfileSubscriptionStatusUpdate + type ProductProfileUpdateProperties struct + ProductFeatures *[]ProductFeatureUpdate + ProductType *LicenseProfileProductType + SubscriptionStatus *LicenseProfileSubscriptionStatusUpdate + type ProvisioningState string + const ProvisioningStateAccepted + const ProvisioningStateCanceled + const ProvisioningStateCreating + const ProvisioningStateDeleted + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *LicenseProfile + OData *odata.OData + Poller pollers.Poller