Help us shape the future of Go! Take the 2026 Go Developer Survey

licensingrule

package
v6.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 LicensingApplicationStatus

type LicensingApplicationStatus struct {
	Assigned              *int `json:"assigned,omitempty"`
	Failed                *int `json:"failed,omitempty"`
	InsufficientResources *int `json:"insufficientResources,omitempty"`
}

type RuleOption

type RuleOption string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL