Documentation ¶
Overview ¶
Package gsmlicensing implements the Enterprise License Manager API
Index ¶
- func DeleteLicenseAssignment(productID, skuID, userID string) (bool, error)
- func GetLicenseAssignment(productID, skuID, userID, fields string) (*licensing.LicenseAssignment, error)
- func InsertLicenseAssignment(productID, skuID, fields string, ...) (*licensing.LicenseAssignment, error)
- func ListLicenseAssignmentsForProduct(productID, customerID, fields string, cap int) (<-chan *licensing.LicenseAssignment, <-chan error)
- func ListLicenseAssignmentsForProductAndSku(productID, skuID, customerID, fields string, cap int) (<-chan *licensing.LicenseAssignment, <-chan error)
- func PatchLicenseAssignment(productID, skuID, userID, fields string, ...) (*licensing.LicenseAssignment, error)
- func SetClient(c *http.Client)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteLicenseAssignment ¶
DeleteLicenseAssignment revoke a license.
func GetLicenseAssignment ¶
func GetLicenseAssignment(productID, skuID, userID, fields string) (*licensing.LicenseAssignment, error)
GetLicenseAssignment get a specific user's license by product SKU.
func InsertLicenseAssignment ¶
func InsertLicenseAssignment(productID, skuID, fields string, licenseAssignmentInsert *licensing.LicenseAssignmentInsert) (*licensing.LicenseAssignment, error)
InsertLicenseAssignment assign a license.
func ListLicenseAssignmentsForProduct ¶
func ListLicenseAssignmentsForProduct(productID, customerID, fields string, cap int) (<-chan *licensing.LicenseAssignment, <-chan error)
ListLicenseAssignmentsForProduct list all users assigned licenses for a specific product SKU.
func ListLicenseAssignmentsForProductAndSku ¶
func ListLicenseAssignmentsForProductAndSku(productID, skuID, customerID, fields string, cap int) (<-chan *licensing.LicenseAssignment, <-chan error)
ListLicenseAssignmentsForProductAndSku list all users assigned licenses for a specific product SKU.
func PatchLicenseAssignment ¶
func PatchLicenseAssignment(productID, skuID, userID, fields string, licenseAssignment *licensing.LicenseAssignment) (*licensing.LicenseAssignment, error)
PatchLicenseAssignment reassign a user's product SKU with a different SKU in the same product.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.