Documentation ¶
Index ¶
- Variables
- type ApplicationStatus
- type ExtensionApplicationStatus
- type ExtensionRule
- type GraphSubjectLookup
- type GraphSubjectLookupKey
- type GroupLicensingRule
- type GroupLicensingRuleStatus
- type GroupLicensingRuleUpdate
- type LicenseApplicationStatus
- type LicenseRule
- type LicensingApplicationStatus
- type RuleOption
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupLicensingRuleStatusValues = groupLicensingRuleStatusValuesType{
ApplyPending: "applyPending",
Applied: "applied",
Incompatible: "incompatible",
UnableToApply: "unableToApply",
}
View Source
var RuleOptionValues = ruleOptionValuesType{
ApplyGroupRule: "applyGroupRule",
TestApplyGroupRule: "testApplyGroupRule",
}
Functions ¶
This section is empty.
Types ¶
type ApplicationStatus ¶
type ApplicationStatus struct { Extensions *[]ExtensionApplicationStatus `json:"extensions,omitempty"` IsTruncated *bool `json:"isTruncated,omitempty"` Licenses *[]LicenseApplicationStatus `json:"licenses,omitempty"` Option *RuleOption `json:"option,omitempty"` Status *operations.OperationStatus `json:"status,omitempty"` }
type ExtensionApplicationStatus ¶
type ExtensionApplicationStatus struct { Assigned *int `json:"assigned,omitempty"` Failed *int `json:"failed,omitempty"` InsufficientResources *int `json:"insufficientResources,omitempty"` ExtensionId *string `json:"extensionId,omitempty"` Incompatible *int `json:"incompatible,omitempty"` Unassigned *int `json:"unassigned,omitempty"` }
type ExtensionRule ¶
type ExtensionRule struct { // Extension Id ExtensionId *string `json:"extensionId,omitempty"` // Status of the group rule (applied, missing licenses, etc) Status *GroupLicensingRuleStatus `json:"status,omitempty"` }
Represents an Extension Rule
type GraphSubjectLookup ¶
type GraphSubjectLookup struct {
LookupKeys *[]GraphSubjectLookupKey `json:"lookupKeys,omitempty"`
}
Batching of subjects to lookup using the Graph API
type GraphSubjectLookupKey ¶
type GraphSubjectLookupKey struct {
Descriptor *string `json:"descriptor,omitempty"`
}
type GroupLicensingRule ¶
type GroupLicensingRule struct { // Extension Rules ExtensionRules *[]ExtensionRule `json:"extensionRules,omitempty"` // License Rule LicenseRule *LicenseRule `json:"licenseRule,omitempty"` // SubjectDescriptor for the rule SubjectDescriptor *string `json:"subjectDescriptor,omitempty"` }
Represents a GroupLicensingRule
type GroupLicensingRuleStatus ¶
type GroupLicensingRuleStatus string
type GroupLicensingRuleUpdate ¶
type GroupLicensingRuleUpdate struct { // Extensions to Add ExtensionsToAdd *[]string `json:"extensionsToAdd,omitempty"` // Extensions to Remove ExtensionsToRemove *[]string `json:"extensionsToRemove,omitempty"` // New License License *licensing.License `json:"license,omitempty"` // SubjectDescriptor for the rule SubjectDescriptor *string `json:"subjectDescriptor,omitempty"` }
Represents an GroupLicensingRuleUpdate Model
type LicenseApplicationStatus ¶
type LicenseApplicationStatus struct { Assigned *int `json:"assigned,omitempty"` Failed *int `json:"failed,omitempty"` InsufficientResources *int `json:"insufficientResources,omitempty"` AccountUserLicense *licensing.AccountUserLicense `json:"accountUserLicense,omitempty"` License *licensing.License `json:"license,omitempty"` }
type LicenseRule ¶
type LicenseRule struct { // The last time the rule was executed (regardless of whether any changes were made) LastExecuted *azuredevops.Time `json:"lastExecuted,omitempty"` // Lasted updated timestamp of the licensing rule LastUpdated *azuredevops.Time `json:"lastUpdated,omitempty"` // License License *licensing.License `json:"license,omitempty"` // Status of the group rule (applied, missing licenses, etc) Status *GroupLicensingRuleStatus `json:"status,omitempty"` }
Represents a License Rule
type RuleOption ¶
type RuleOption string
Click to show internal directories.
Click to hide internal directories.