Documentation ¶
Index ¶
- 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
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorDetail
- type EsuEligibility
- type EsuKey
- type EsuKeyState
- type EsuProfileUpdateProperties
- type EsuServerType
- type GetOperationResponse
- type LicenseProfile
- type LicenseProfileArmEsuProperties
- type LicenseProfileArmProductProfileProperties
- 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
- type LicenseProfileProductType
- type LicenseProfileProperties
- type LicenseProfilePropertiesSoftwareAssurance
- type LicenseProfileSubscriptionStatus
- type LicenseProfileSubscriptionStatusUpdate
- type LicenseProfileUpdate
- type LicenseProfileUpdateProperties
- type LicenseProfileUpdatePropertiesSoftwareAssurance
- type LicenseProfilesClient
- 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
- type ListCustomPager
- type ListOperationResponse
- type MachineId
- type ProductFeature
- 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
- type ProductProfileUpdateProperties
- type ProvisioningState
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEsuEligibility ¶
func PossibleValuesForEsuEligibility() []string
func PossibleValuesForEsuKeyState ¶
func PossibleValuesForEsuKeyState() []string
func PossibleValuesForEsuServerType ¶
func PossibleValuesForEsuServerType() []string
func PossibleValuesForLicenseProfileProductType ¶
func PossibleValuesForLicenseProfileProductType() []string
func PossibleValuesForLicenseProfileSubscriptionStatus ¶
func PossibleValuesForLicenseProfileSubscriptionStatus() []string
func PossibleValuesForLicenseProfileSubscriptionStatusUpdate ¶
func PossibleValuesForLicenseProfileSubscriptionStatusUpdate() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateMachineID ¶
ValidateMachineID checks that 'input' can be parsed as a Machine ID
Types ¶
type DeleteOperationResponse ¶
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type EsuEligibility ¶
type EsuEligibility string
const ( EsuEligibilityEligible EsuEligibility = "Eligible" EsuEligibilityIneligible EsuEligibility = "Ineligible" EsuEligibilityUnknown EsuEligibility = "Unknown" )
func (*EsuEligibility) UnmarshalJSON ¶
func (s *EsuEligibility) UnmarshalJSON(bytes []byte) error
type EsuKeyState ¶
type EsuKeyState string
const ( EsuKeyStateActive EsuKeyState = "Active" EsuKeyStateInactive EsuKeyState = "Inactive" )
func (*EsuKeyState) UnmarshalJSON ¶
func (s *EsuKeyState) UnmarshalJSON(bytes []byte) error
type EsuProfileUpdateProperties ¶
type EsuProfileUpdateProperties struct {
AssignedLicense *string `json:"assignedLicense,omitempty"`
}
type EsuServerType ¶
type EsuServerType string
const ( EsuServerTypeDatacenter EsuServerType = "Datacenter" EsuServerTypeStandard EsuServerType = "Standard" )
func (*EsuServerType) UnmarshalJSON ¶
func (s *EsuServerType) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LicenseProfile }
type LicenseProfile ¶
type LicenseProfile struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *LicenseProfileProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type LicenseProfileArmEsuProperties ¶
type LicenseProfileArmEsuProperties struct { AssignedLicense *string `json:"assignedLicense,omitempty"` AssignedLicenseImmutableId *string `json:"assignedLicenseImmutableId,omitempty"` EsuEligibility *EsuEligibility `json:"esuEligibility,omitempty"` EsuKeyState *EsuKeyState `json:"esuKeyState,omitempty"` EsuKeys *[]EsuKey `json:"esuKeys,omitempty"` ServerType *EsuServerType `json:"serverType,omitempty"` }
type LicenseProfileArmProductProfileProperties ¶
type LicenseProfileArmProductProfileProperties struct { BillingEndDate *string `json:"billingEndDate,omitempty"` BillingStartDate *string `json:"billingStartDate,omitempty"` DisenrollmentDate *string `json:"disenrollmentDate,omitempty"` EnrollmentDate *string `json:"enrollmentDate,omitempty"` Error *ErrorDetail `json:"error,omitempty"` ProductFeatures *[]ProductFeature `json:"productFeatures,omitempty"` ProductType *LicenseProfileProductType `json:"productType,omitempty"` SubscriptionStatus *LicenseProfileSubscriptionStatus `json:"subscriptionStatus,omitempty"` }
func (*LicenseProfileArmProductProfileProperties) GetBillingEndDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) GetBillingEndDateAsTime() (*time.Time, error)
func (*LicenseProfileArmProductProfileProperties) GetBillingStartDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) GetBillingStartDateAsTime() (*time.Time, error)
func (*LicenseProfileArmProductProfileProperties) GetDisenrollmentDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) GetDisenrollmentDateAsTime() (*time.Time, error)
func (*LicenseProfileArmProductProfileProperties) GetEnrollmentDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) GetEnrollmentDateAsTime() (*time.Time, error)
func (*LicenseProfileArmProductProfileProperties) SetBillingEndDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) SetBillingEndDateAsTime(input time.Time)
func (*LicenseProfileArmProductProfileProperties) SetBillingStartDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) SetBillingStartDateAsTime(input time.Time)
func (*LicenseProfileArmProductProfileProperties) SetDisenrollmentDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) SetDisenrollmentDateAsTime(input time.Time)
func (*LicenseProfileArmProductProfileProperties) SetEnrollmentDateAsTime ¶
func (o *LicenseProfileArmProductProfileProperties) SetEnrollmentDateAsTime(input time.Time)
type LicenseProfileOperationPredicate ¶
type LicenseProfileOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (LicenseProfileOperationPredicate) Matches ¶
func (p LicenseProfileOperationPredicate) Matches(input LicenseProfile) bool
type LicenseProfileProductType ¶
type LicenseProfileProductType string
const ( LicenseProfileProductTypeWindowsIoTEnterprise LicenseProfileProductType = "WindowsIoTEnterprise" LicenseProfileProductTypeWindowsServer LicenseProfileProductType = "WindowsServer" )
func (*LicenseProfileProductType) UnmarshalJSON ¶
func (s *LicenseProfileProductType) UnmarshalJSON(bytes []byte) error
type LicenseProfileProperties ¶
type LicenseProfileProperties struct { EsuProfile *LicenseProfileArmEsuProperties `json:"esuProfile,omitempty"` ProductProfile *LicenseProfileArmProductProfileProperties `json:"productProfile,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SoftwareAssurance *LicenseProfilePropertiesSoftwareAssurance `json:"softwareAssurance,omitempty"` }
type LicenseProfilePropertiesSoftwareAssurance ¶
type LicenseProfilePropertiesSoftwareAssurance struct {
SoftwareAssuranceCustomer *bool `json:"softwareAssuranceCustomer,omitempty"`
}
type LicenseProfileSubscriptionStatus ¶
type LicenseProfileSubscriptionStatus string
const ( LicenseProfileSubscriptionStatusDisabled LicenseProfileSubscriptionStatus = "Disabled" LicenseProfileSubscriptionStatusDisabling LicenseProfileSubscriptionStatus = "Disabling" LicenseProfileSubscriptionStatusEnabled LicenseProfileSubscriptionStatus = "Enabled" LicenseProfileSubscriptionStatusEnabling LicenseProfileSubscriptionStatus = "Enabling" LicenseProfileSubscriptionStatusFailed LicenseProfileSubscriptionStatus = "Failed" LicenseProfileSubscriptionStatusUnknown LicenseProfileSubscriptionStatus = "Unknown" )
func (*LicenseProfileSubscriptionStatus) UnmarshalJSON ¶
func (s *LicenseProfileSubscriptionStatus) UnmarshalJSON(bytes []byte) error
type LicenseProfileSubscriptionStatusUpdate ¶
type LicenseProfileSubscriptionStatusUpdate string
const ( LicenseProfileSubscriptionStatusUpdateDisable LicenseProfileSubscriptionStatusUpdate = "Disable" LicenseProfileSubscriptionStatusUpdateEnable LicenseProfileSubscriptionStatusUpdate = "Enable" )
func (*LicenseProfileSubscriptionStatusUpdate) UnmarshalJSON ¶
func (s *LicenseProfileSubscriptionStatusUpdate) UnmarshalJSON(bytes []byte) error
type LicenseProfileUpdate ¶
type LicenseProfileUpdate struct { Properties *LicenseProfileUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type LicenseProfileUpdateProperties ¶
type LicenseProfileUpdateProperties struct { EsuProfile *EsuProfileUpdateProperties `json:"esuProfile,omitempty"` ProductProfile *ProductProfileUpdateProperties `json:"productProfile,omitempty"` SoftwareAssurance *LicenseProfileUpdatePropertiesSoftwareAssurance `json:"softwareAssurance,omitempty"` }
type LicenseProfileUpdatePropertiesSoftwareAssurance ¶
type LicenseProfileUpdatePropertiesSoftwareAssurance struct {
SoftwareAssuranceCustomer *bool `json:"softwareAssuranceCustomer,omitempty"`
}
type LicenseProfilesClient ¶
type LicenseProfilesClient struct {
Client *resourcemanager.Client
}
func NewLicenseProfilesClientWithBaseURI ¶
func NewLicenseProfilesClientWithBaseURI(sdkApi sdkEnv.Api) (*LicenseProfilesClient, error)
func (LicenseProfilesClient) CreateOrUpdate ¶
func (c LicenseProfilesClient) CreateOrUpdate(ctx context.Context, id MachineId, input LicenseProfile) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LicenseProfilesClient) CreateOrUpdateThenPoll ¶
func (c LicenseProfilesClient) CreateOrUpdateThenPoll(ctx context.Context, id MachineId, input LicenseProfile) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (LicenseProfilesClient) Delete ¶
func (c LicenseProfilesClient) Delete(ctx context.Context, id MachineId) (result DeleteOperationResponse, err error)
Delete ...
func (LicenseProfilesClient) DeleteThenPoll ¶
func (c LicenseProfilesClient) DeleteThenPoll(ctx context.Context, id MachineId) error
DeleteThenPoll performs Delete then polls until it's completed
func (LicenseProfilesClient) Get ¶
func (c LicenseProfilesClient) Get(ctx context.Context, id MachineId) (result GetOperationResponse, err error)
Get ...
func (LicenseProfilesClient) List ¶
func (c LicenseProfilesClient) List(ctx context.Context, id MachineId) (result ListOperationResponse, err error)
List ...
func (LicenseProfilesClient) ListComplete ¶
func (c LicenseProfilesClient) ListComplete(ctx context.Context, id MachineId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (LicenseProfilesClient) ListCompleteMatchingPredicate ¶
func (c LicenseProfilesClient) ListCompleteMatchingPredicate(ctx context.Context, id MachineId, predicate LicenseProfileOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (LicenseProfilesClient) Update ¶
func (c LicenseProfilesClient) Update(ctx context.Context, id MachineId, input LicenseProfileUpdate) (result UpdateOperationResponse, err error)
Update ...
func (LicenseProfilesClient) UpdateThenPoll ¶
func (c LicenseProfilesClient) UpdateThenPoll(ctx context.Context, id MachineId, input LicenseProfileUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []LicenseProfile }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LicenseProfile }
type MachineId ¶
MachineId is a struct representing the Resource ID for a Machine
func NewMachineID ¶
NewMachineID returns a new MachineId struct
func ParseMachineID ¶
ParseMachineID parses 'input' into a MachineId
func ParseMachineIDInsensitively ¶
ParseMachineIDInsensitively parses 'input' case-insensitively into a MachineId note: this method should only be used for API response data and not user input
func (*MachineId) FromParseResult ¶
func (id *MachineId) FromParseResult(input resourceids.ParseResult) error
func (MachineId) Segments ¶
func (id MachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Machine ID
type ProductFeature ¶
type ProductFeature struct { BillingEndDate *string `json:"billingEndDate,omitempty"` BillingStartDate *string `json:"billingStartDate,omitempty"` DisenrollmentDate *string `json:"disenrollmentDate,omitempty"` EnrollmentDate *string `json:"enrollmentDate,omitempty"` Error *ErrorDetail `json:"error,omitempty"` Name *string `json:"name,omitempty"` SubscriptionStatus *LicenseProfileSubscriptionStatus `json:"subscriptionStatus,omitempty"` }
func (*ProductFeature) GetBillingEndDateAsTime ¶
func (o *ProductFeature) GetBillingEndDateAsTime() (*time.Time, error)
func (*ProductFeature) GetBillingStartDateAsTime ¶
func (o *ProductFeature) GetBillingStartDateAsTime() (*time.Time, error)
func (*ProductFeature) GetDisenrollmentDateAsTime ¶
func (o *ProductFeature) GetDisenrollmentDateAsTime() (*time.Time, error)
func (*ProductFeature) GetEnrollmentDateAsTime ¶
func (o *ProductFeature) GetEnrollmentDateAsTime() (*time.Time, error)
func (*ProductFeature) SetBillingEndDateAsTime ¶
func (o *ProductFeature) SetBillingEndDateAsTime(input time.Time)
func (*ProductFeature) SetBillingStartDateAsTime ¶
func (o *ProductFeature) SetBillingStartDateAsTime(input time.Time)
func (*ProductFeature) SetDisenrollmentDateAsTime ¶
func (o *ProductFeature) SetDisenrollmentDateAsTime(input time.Time)
func (*ProductFeature) SetEnrollmentDateAsTime ¶
func (o *ProductFeature) SetEnrollmentDateAsTime(input time.Time)
type ProductFeatureUpdate ¶
type ProductFeatureUpdate struct { Name *string `json:"name,omitempty"` SubscriptionStatus *LicenseProfileSubscriptionStatusUpdate `json:"subscriptionStatus,omitempty"` }
type ProductProfileUpdateProperties ¶
type ProductProfileUpdateProperties struct { ProductFeatures *[]ProductFeatureUpdate `json:"productFeatures,omitempty"` ProductType *LicenseProfileProductType `json:"productType,omitempty"` SubscriptionStatus *LicenseProfileSubscriptionStatusUpdate `json:"subscriptionStatus,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_machine.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_esukey.go
- model_esuprofileupdateproperties.go
- model_licenseprofile.go
- model_licenseprofilearmesuproperties.go
- model_licenseprofilearmproductprofileproperties.go
- model_licenseprofileproperties.go
- model_licenseprofilepropertiessoftwareassurance.go
- model_licenseprofileupdate.go
- model_licenseprofileupdateproperties.go
- model_licenseprofileupdatepropertiessoftwareassurance.go
- model_productfeature.go
- model_productfeatureupdate.go
- model_productprofileupdateproperties.go
- predicates.go
- version.go