licensingrule

package
v7.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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