zmscli

package
v1.11.60 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

README

zmscli

ZMS Client application library in go to manage your Athenz domain in ZMS Server.

GoDoc

License

Copyright The Athenz Authors

Licensed under the Apache License, Version 2.0

Documentation

Overview

Package zmscli is ZMS Client application library to manage an Athenz domain in ZMS Server.

Index

Constants

View Source
const (
	// JSONOutputFormat is the JSON output format for commands.
	JSONOutputFormat = "json"
	// YAMLOutputFormat is the YAML output format for commands.
	YAMLOutputFormat = "yaml"
	// DefaultOutputFormat is the default (old) YAML output format for commands.
	DefaultOutputFormat = "manualYaml"
	// ErrInvalidOutputFormat is the error message for unsupported output formats.
	ErrInvalidOutputFormat = "unsupported output format \"%s\""
)

Variables

This section is empty.

Functions

func LocalName added in v1.11.56

func LocalName(fullResourceName string, prefix string) string

func ServiceName added in v1.11.56

func ServiceName(fullServiceName string) string

func SetClient added in v1.11.31

func SetClient(cli *Zms, tr *http.Transport, authHeader, ntoken *string)

func SetX509CertClient added in v1.11.31

func SetX509CertClient(cli *Zms, keyFile, certFile, caCertFile, socksProxy string, httpProxy, skipVerify bool) error

Types

type StandardJSONMessage added in v1.10.10

type StandardJSONMessage struct {
	Message string `json:"message,required"`
}

StandardJSONMessage is the standard template for single-line string messages.

type SuccessMessage added in v1.10.24

type SuccessMessage struct {
	Status  int
	Message string
}

type YamlConverter added in v1.10.24

type YamlConverter func(res interface{}) (*string, error)

type Zms

type Zms struct {
	ZmsUrl           string
	Identity         string
	Verbose          bool
	Bulkmode         bool
	Interactive      bool
	Zms              zms.ZMSClient
	Domain           string
	AuditRef         string
	UserDomain       string
	HomeDomain       string
	OutputFormat     string
	Overwrite        bool
	ProductIdSupport bool
	Debug            bool
	AddSelf          bool
	SkipErrors       bool
	ResourceOwner    string
}

func (Zms) AddAssertion

func (cli Zms) AddAssertion(dn string, pn string, assertion []string) (*string, error)

func (Zms) AddAssertionPolicyVersion added in v1.10.36

func (cli Zms) AddAssertionPolicyVersion(dn string, pn string, version string, assertion []string) (*string, error)

func (Zms) AddDelegatedRole

func (cli Zms) AddDelegatedRole(dn string, rn string, trusted string) (*string, error)

func (Zms) AddDomain

func (cli Zms) AddDomain(dn string, productIDNumber *int32, productIDString string, addSelf bool, admins []string) (*string, error)

func (Zms) AddDomainTags added in v1.9.32

func (cli Zms) AddDomainTags(dn string, tagKey string, tagValues []string) (*string, error)

func (Zms) AddDueDateMember added in v1.9.32

func (cli Zms) AddDueDateMember(dn string, rn string, member string, expiration *rdl.Timestamp, reviewDate *rdl.Timestamp) (*string, error)

func (Zms) AddEntity

func (cli Zms) AddEntity(dn string, en string, values []string) (*string, error)

func (Zms) AddGroup added in v1.9.32

func (cli Zms) AddGroup(dn string, gn string, auditEnabled bool, groupMembers []*zms.GroupMember) (*string, error)

func (Zms) AddGroupMembers added in v1.9.32

func (cli Zms) AddGroupMembers(dn string, group string, members []string) (*string, error)

func (Zms) AddGroupTags added in v1.10.39

func (cli Zms) AddGroupTags(dn string, gn, tagKey string, tagValues []string) (*string, error)

func (Zms) AddMembers

func (cli Zms) AddMembers(dn string, rn string, members []string) (*string, error)

func (Zms) AddPolicy

func (cli Zms) AddPolicy(dn string, pn string, assertion []string) (*string, error)

func (Zms) AddPolicyTags added in v1.11.36

func (cli Zms) AddPolicyTags(dn string, pn, tagKey string, tagValues []string) (*string, error)

func (Zms) AddPolicyVersion added in v1.10.36

func (cli Zms) AddPolicyVersion(dn string, pn string, source_version string, version string) (*string, error)

func (Zms) AddPolicyWithAssertions

func (cli Zms) AddPolicyWithAssertions(dn string, pn string, assertions []*zms.Assertion) (*string, error)

func (Zms) AddProviderResourceGroupRoles

func (cli Zms) AddProviderResourceGroupRoles(tenantDomain string, providerDomain string, providerService string, resourceGroup string, createAdminRole bool, roleActions []string) (*string, error)

func (Zms) AddProviderRoleMembers

func (cli Zms) AddProviderRoleMembers(dn string, provider string, group string, action string, members []string) (*string, error)

func (Zms) AddProviderService

func (cli Zms) AddProviderService(dn string, sn string, keyID string, pubKey *string) (*string, error)

func (Zms) AddRegularRole added in v1.10.44

func (cli Zms) AddRegularRole(dn string, rn string, auditEnabled bool, roleMembers []*zms.RoleMember) (*string, error)

func (Zms) AddRoleMembers added in v1.1.5

func (cli Zms) AddRoleMembers(dn string, rn string, members []*zms.RoleMember) (*string, error)

func (Zms) AddRoleTags added in v1.9.32

func (cli Zms) AddRoleTags(dn string, rn, tagKey string, tagValues []string) (*string, error)

func (Zms) AddService

func (cli Zms) AddService(dn string, sn string, keyID string, pubKey *string) (*string, error)

func (Zms) AddServiceHost

func (cli Zms) AddServiceHost(dn string, sn string, hosts []string) (*string, error)

func (Zms) AddServicePublicKey

func (cli Zms) AddServicePublicKey(dn string, sn string, keyID string, pubKey *string) (*string, error)

func (Zms) AddServiceTags added in v1.11.36

func (cli Zms) AddServiceTags(dn string, sn, tagKey string, tagValues []string) (*string, error)

func (Zms) AddServiceWithKeys

func (cli Zms) AddServiceWithKeys(dn string, sn string, publicKeys []*zms.PublicKeyEntry) (*string, error)

func (Zms) AddTenancy

func (cli Zms) AddTenancy(dn string, provider string, createAdminRole bool) (*string, error)

func (Zms) AddTenant added in v1.9.32

func (cli Zms) AddTenant(provDomain string, provService string, tenantDomain string) (*string, error)

func (Zms) AddTenantResourceGroupRoles

func (cli Zms) AddTenantResourceGroupRoles(provDomain string, provService string, tenantDomain string, resourceGroup string, roleActions []string) (*string, error)

func (Zms) CheckActiveGroupMember added in v1.9.32

func (cli Zms) CheckActiveGroupMember(dn string, group string, mbr string) (*string, error)

func (Zms) CheckActiveMember added in v1.9.32

func (cli Zms) CheckActiveMember(dn string, rn string, mbr string) (*string, error)

func (Zms) CheckDomain

func (cli Zms) CheckDomain(dn string) (*string, error)

func (Zms) CheckGroupMembers added in v1.9.32

func (cli Zms) CheckGroupMembers(dn string, group string, members []string) (*string, error)

func (Zms) CheckMembers

func (cli Zms) CheckMembers(dn string, rn string, members []string) (*string, error)

func (Zms) DeleteAssertion

func (cli Zms) DeleteAssertion(dn string, pn string, assertion []string) (*string, error)

func (Zms) DeleteAssertionPolicyVersion added in v1.10.36

func (cli Zms) DeleteAssertionPolicyVersion(dn string, pn string, version string, assertion []string) (*string, error)

func (Zms) DeleteDomain

func (cli Zms) DeleteDomain(dn string) (*string, error)

DeleteDomain deletes the given ZMS domain.

func (Zms) DeleteDomainDependency added in v1.10.47

func (cli Zms) DeleteDomainDependency(dn string, service string) (*string, error)

func (Zms) DeleteDomainRoleMember added in v1.9.32

func (cli Zms) DeleteDomainRoleMember(dn, member string) (*string, error)

func (Zms) DeleteDomainTags added in v1.9.32

func (cli Zms) DeleteDomainTags(dn string, tagKey string, tagValue string) (*string, error)

func (Zms) DeleteDomainTemplate

func (cli Zms) DeleteDomainTemplate(dn string, template string) (*string, error)

func (Zms) DeleteEntity

func (cli Zms) DeleteEntity(dn string, en string) (*string, error)

func (Zms) DeleteGroup added in v1.9.32

func (cli Zms) DeleteGroup(dn string, gn string) (*string, error)

func (Zms) DeleteGroupMembers added in v1.9.32

func (cli Zms) DeleteGroupMembers(dn string, group string, members []string) (*string, error)

func (Zms) DeleteGroupTags added in v1.10.39

func (cli Zms) DeleteGroupTags(dn string, gn, tagKey string, tagValue string) (*string, error)

func (Zms) DeleteMembers

func (cli Zms) DeleteMembers(dn string, rn string, members []string) (*string, error)

func (Zms) DeletePolicy

func (cli Zms) DeletePolicy(dn string, pn string) (*string, error)

func (Zms) DeletePolicyTags added in v1.11.36

func (cli Zms) DeletePolicyTags(dn string, pn, tagKey string, tagValues []string) (*string, error)

func (Zms) DeletePolicyVersion added in v1.10.36

func (cli Zms) DeletePolicyVersion(dn string, pn string, version string) (*string, error)

func (Zms) DeleteProviderResourceGroupRoles

func (cli Zms) DeleteProviderResourceGroupRoles(tenantDomain string, providerDomain string, providerService string, resourceGroup string) (*string, error)

func (Zms) DeleteProviderRoleMembers

func (cli Zms) DeleteProviderRoleMembers(dn string, provider string, group string, action string, members []string) (*string, error)

func (Zms) DeleteQuota added in v1.7.19

func (cli Zms) DeleteQuota(dn string) (*string, error)

func (Zms) DeleteRole

func (cli Zms) DeleteRole(dn string, rn string) (*string, error)

func (Zms) DeleteRoleTags added in v1.9.32

func (cli Zms) DeleteRoleTags(dn string, rn, tagKey string, tagValue string) (*string, error)

func (Zms) DeleteService

func (cli Zms) DeleteService(dn string, sn string) (*string, error)

func (Zms) DeleteServiceHost

func (cli Zms) DeleteServiceHost(dn string, sn string, hosts []string) (*string, error)

func (Zms) DeleteServicePublicKey

func (cli Zms) DeleteServicePublicKey(dn string, sn string, keyID string) (*string, error)

func (Zms) DeleteServiceTags added in v1.11.36

func (cli Zms) DeleteServiceTags(dn string, sn, tagKey string, tagValues []string) (*string, error)

func (Zms) DeleteTenancy

func (cli Zms) DeleteTenancy(dn string, provider string) (*string, error)

func (Zms) DeleteTenant added in v1.9.32

func (cli Zms) DeleteTenant(provDomain string, provService string, tenantDomain string) (*string, error)

func (Zms) DeleteTenantResourceGroupRoles

func (cli Zms) DeleteTenantResourceGroupRoles(provDomain string, provService string, tenantDomain string, resourceGroup string) (*string, error)

func (Zms) DeleteUser added in v1.7.11

func (cli Zms) DeleteUser(user string) (*string, error)

func (Zms) DisablePrincipal added in v1.11.59

func (cli Zms) DisablePrincipal(principal string) (*string, error)

func (Zms) EnablePrincipal added in v1.11.59

func (cli Zms) EnablePrincipal(principal string) (*string, error)

func (Zms) EvalCommand

func (cli Zms) EvalCommand(params []string) (*string, error)

func (Zms) ExportDomain

func (cli Zms) ExportDomain(dn string, filename string) (*string, error)

func (Zms) GetAuthHistoryDependencies added in v1.11.2

func (cli Zms) GetAuthHistoryDependencies(dn string) (*string, error)

func (Zms) GetDependentDomainList added in v1.10.47

func (cli Zms) GetDependentDomainList(service string) (*string, error)

func (Zms) GetDependentServiceList added in v1.10.47

func (cli Zms) GetDependentServiceList(dn string) (*string, error)

func (Zms) GetGroupsForReview added in v1.11.44

func (cli Zms) GetGroupsForReview(principal string) (*string, error)

func (Zms) GetQuota added in v1.7.19

func (cli Zms) GetQuota(dn string) (*string, error)

func (Zms) GetRolesForReview added in v1.11.44

func (cli Zms) GetRolesForReview(principal string) (*string, error)

func (Zms) GetSignedDomains

func (cli Zms) GetSignedDomains(dn string, matchingTag string) (*string, error)

func (Zms) GetStats added in v1.10.46

func (cli Zms) GetStats(dn string) (*string, error)

func (Zms) GetTagsAfterDeletion added in v1.11.36

func (cli Zms) GetTagsAfterDeletion(resourceTags *zms.TagValueList, valuesToDelete []string) []zms.TagCompoundValue

func (Zms) HelpListCommand

func (cli Zms) HelpListCommand() string

HelpListCommand builds and returns the overall help text for all commands.

func (Zms) HelpSpecificCommand

func (cli Zms) HelpSpecificCommand(interactive bool, cmd string) string

HelpSpecificCommand returns the help string for the given command.

func (Zms) ImportDomain

func (cli Zms) ImportDomain(dn string, filename string, admins []string) (*string, error)

func (Zms) ImportDomainNew added in v1.10.24

func (cli Zms) ImportDomainNew(dn string, filename string, admins []string, newDomain bool) (*string, error)

func (Zms) ImportDomainOld added in v1.10.24

func (cli Zms) ImportDomainOld(dn string, filename string, admins []string) (*string, error)

func (Zms) ListDomainRoleMembers added in v1.9.32

func (cli Zms) ListDomainRoleMembers(dn string) (*string, error)

func (Zms) ListDomainTemplates

func (cli Zms) ListDomainTemplates(dn string) (*string, error)

func (Zms) ListDomains

func (cli Zms) ListDomains(limit *int32, skip string, prefix string, depth *int32) (*string, error)

func (Zms) ListEntities

func (cli Zms) ListEntities(dn string) (*string, error)

func (Zms) ListGroups added in v1.9.32

func (cli Zms) ListGroups(dn string) (*string, error)

func (Zms) ListPendingDomainGroupMembers added in v1.9.32

func (cli Zms) ListPendingDomainGroupMembers(principal, domainName string) (*string, error)

func (Zms) ListPendingDomainRoleMembers added in v1.9.32

func (cli Zms) ListPendingDomainRoleMembers(principal, domainName string) (*string, error)

func (Zms) ListPolicies

func (cli Zms) ListPolicies(dn string) (*string, error)

func (Zms) ListPolicyVersions added in v1.10.36

func (cli Zms) ListPolicyVersions(dn string, policy string) (*string, error)

func (Zms) ListRoles

func (cli Zms) ListRoles(dn string) (*string, error)

func (Zms) ListServerTemplates

func (cli Zms) ListServerTemplates() (*string, error)

func (Zms) ListServices

func (cli Zms) ListServices(dn string) (*string, error)

func (Zms) ListUsers added in v1.7.11

func (cli Zms) ListUsers(domainName string) (*string, error)

func (Zms) LookupDomainByBusinessService added in v1.10.9

func (cli Zms) LookupDomainByBusinessService(businessService string) (*string, error)

func (Zms) LookupDomainById

func (cli Zms) LookupDomainById(account, subscription, project, productID string) (*string, error)

func (Zms) LookupDomainByNumber added in v1.11.31

func (cli Zms) LookupDomainByNumber(account, subscription, project string, productNumber *int32) (*string, error)

func (Zms) LookupDomainByRole

func (cli Zms) LookupDomainByRole(roleMember string, roleName string) (*string, error)

func (Zms) LookupDomainByTag added in v1.9.32

func (cli Zms) LookupDomainByTag(tagKey string, tagValue string) (*string, error)

func (Zms) PutDomainDependency added in v1.10.47

func (cli Zms) PutDomainDependency(dn string, service string) (*string, error)

func (Zms) PutGroupMembershipDecision added in v1.9.32

func (cli Zms) PutGroupMembershipDecision(dn string, group string, mbr string, approval bool) (*string, error)

func (Zms) PutMembershipDecision added in v1.9.32

func (cli Zms) PutMembershipDecision(dn string, rn string, mbr string, approval bool) (*string, error)

func (Zms) PutTempMembershipDecision added in v1.9.32

func (cli Zms) PutTempMembershipDecision(dn string, rn string, mbr string, expiration rdl.Timestamp, approval bool) (*string, error)

func (Zms) RemoveAll

func (cli Zms) RemoveAll(fullList []string, removeList []string) []string

func (Zms) ResetDomainResourceOwnership added in v1.11.56

func (cli Zms) ResetDomainResourceOwnership(dn, resourceTypes string) (*string, error)

func (Zms) SetActivePolicyVersion added in v1.10.36

func (cli Zms) SetActivePolicyVersion(dn string, pn string, version string) (*string, error)

func (Zms) SetCompleteDomainMeta

func (cli Zms) SetCompleteDomainMeta(dn, descr, org string, auditEnabled bool, applicationID, businessService string) error

func (Zms) SetDefaultAdmins

func (cli Zms) SetDefaultAdmins(dn string, admins []string) (*string, error)

func (Zms) SetDomainAccount

func (cli Zms) SetDomainAccount(dn string, account string) (*string, error)

func (Zms) SetDomainApplicationId added in v1.7.25

func (cli Zms) SetDomainApplicationId(dn string, applicationID string) (*string, error)

func (Zms) SetDomainAuditEnabled added in v1.9.32

func (cli Zms) SetDomainAuditEnabled(dn string, auditEnabled bool) (*string, error)

func (Zms) SetDomainBusinessService added in v1.10.9

func (cli Zms) SetDomainBusinessService(dn string, businessService string) (*string, error)

func (Zms) SetDomainCertDnsDomain added in v1.9.32

func (cli Zms) SetDomainCertDnsDomain(dn string, dnsDomain string) (*string, error)

func (Zms) SetDomainContact added in v1.11.48

func (cli Zms) SetDomainContact(dn, contactType, contactUser string) (*string, error)

func (Zms) SetDomainEnvironment added in v1.11.51

func (cli Zms) SetDomainEnvironment(dn, environment string) (*string, error)

func (Zms) SetDomainFeatureFlags added in v1.11.37

func (cli Zms) SetDomainFeatureFlags(dn string, flags int32) (*string, error)

func (Zms) SetDomainGroupExpiryDays added in v1.9.32

func (cli Zms) SetDomainGroupExpiryDays(dn string, days int32) (*string, error)

func (Zms) SetDomainMemberExpiryDays added in v1.9.32

func (cli Zms) SetDomainMemberExpiryDays(dn string, days int32) (*string, error)

func (Zms) SetDomainMemberPurgeExpiryDays added in v1.11.6

func (cli Zms) SetDomainMemberPurgeExpiryDays(dn string, days int32) (*string, error)

func (Zms) SetDomainMeta

func (cli Zms) SetDomainMeta(dn string, descr string) (*string, error)

func (Zms) SetDomainOrgName added in v1.9.32

func (cli Zms) SetDomainOrgName(dn string, org string) (*string, error)

func (Zms) SetDomainProductId

func (cli Zms) SetDomainProductId(dn string, productIDNumber int32, productIDString string) (*string, error)

func (Zms) SetDomainProject added in v1.11.15

func (cli Zms) SetDomainProject(dn, projectId, projectNumber string) (*string, error)

func (Zms) SetDomainResourceOwnership added in v1.11.56

func (cli Zms) SetDomainResourceOwnership(dn, resourceOwner string) (*string, error)

func (Zms) SetDomainRoleCertExpiryMins added in v1.9.32

func (cli Zms) SetDomainRoleCertExpiryMins(dn string, mins int32) (*string, error)

func (Zms) SetDomainServiceCertExpiryMins added in v1.9.32

func (cli Zms) SetDomainServiceCertExpiryMins(dn string, mins int32) (*string, error)

func (Zms) SetDomainServiceExpiryDays added in v1.9.32

func (cli Zms) SetDomainServiceExpiryDays(dn string, days int32) (*string, error)

func (Zms) SetDomainState added in v1.10.24

func (cli Zms) SetDomainState(dn string, enabled bool) (*string, error)

func (Zms) SetDomainSubscription added in v1.9.32

func (cli Zms) SetDomainSubscription(dn string, subscription string) (*string, error)

func (Zms) SetDomainTemplate

func (cli Zms) SetDomainTemplate(dn string, templateArgs []string) (*string, error)

func (Zms) SetDomainTokenExpiryMins added in v1.9.32

func (cli Zms) SetDomainTokenExpiryMins(dn string, mins int32) (*string, error)

func (Zms) SetDomainTokenSignAlgorithm added in v1.9.32

func (cli Zms) SetDomainTokenSignAlgorithm(dn string, alg string) (*string, error)

func (Zms) SetDomainUserAuthorityFilter added in v1.9.32

func (cli Zms) SetDomainUserAuthorityFilter(dn, filter string) (*string, error)

func (Zms) SetGroupAuditEnabled added in v1.9.32

func (cli Zms) SetGroupAuditEnabled(dn string, gn string, auditEnabled bool) (*string, error)

func (Zms) SetGroupDeleteProtection added in v1.11.21

func (cli Zms) SetGroupDeleteProtection(dn string, gn string, deleteProtection bool) (*string, error)

func (Zms) SetGroupMaxMembers added in v1.11.48

func (cli Zms) SetGroupMaxMembers(dn string, rn string, maxMembers int32) (*string, error)

func (Zms) SetGroupMemberExpiryDays added in v1.10.10

func (cli Zms) SetGroupMemberExpiryDays(dn string, rn string, days int32) (*string, error)

func (Zms) SetGroupNotifyRoles added in v1.9.32

func (cli Zms) SetGroupNotifyRoles(dn string, gn string, notifyRoles string) (*string, error)

func (Zms) SetGroupPrincipalDomainFilter added in v1.11.60

func (cli Zms) SetGroupPrincipalDomainFilter(dn, gn, domainFilter string) (*string, error)

func (Zms) SetGroupResourceOwnership added in v1.11.56

func (cli Zms) SetGroupResourceOwnership(dn, gn, resourceOwner string) (*string, error)

func (Zms) SetGroupReviewEnabled added in v1.9.32

func (cli Zms) SetGroupReviewEnabled(dn string, gn string, reviewEnabled bool) (*string, error)

func (Zms) SetGroupSelfRenew added in v1.11.48

func (cli Zms) SetGroupSelfRenew(dn string, gn string, selfRenew bool) (*string, error)

func (Zms) SetGroupSelfRenewMins added in v1.11.48

func (cli Zms) SetGroupSelfRenewMins(dn string, gn string, selfRenewMins int32) (*string, error)

func (Zms) SetGroupSelfServe added in v1.9.32

func (cli Zms) SetGroupSelfServe(dn string, gn string, selfServe bool) (*string, error)

func (Zms) SetGroupServiceExpiryDays added in v1.10.10

func (cli Zms) SetGroupServiceExpiryDays(dn string, rn string, days int32) (*string, error)

func (Zms) SetGroupUserAuthorityExpiration added in v1.9.32

func (cli Zms) SetGroupUserAuthorityExpiration(dn string, gn, filter string) (*string, error)

func (Zms) SetGroupUserAuthorityFilter added in v1.9.32

func (cli Zms) SetGroupUserAuthorityFilter(dn string, gn, filter string) (*string, error)

func (Zms) SetPolicyResourceOwnership added in v1.11.56

func (cli Zms) SetPolicyResourceOwnership(dn, pn, resourceOwner string) (*string, error)

func (Zms) SetPrincipalState added in v1.11.59

func (cli Zms) SetPrincipalState(principal string, suspended bool) (*string, error)

func (Zms) SetQuota added in v1.7.19

func (cli Zms) SetQuota(dn string, attrs []string) (*string, error)

func (Zms) SetRoleAuditEnabled added in v1.9.32

func (cli Zms) SetRoleAuditEnabled(dn string, rn string, auditEnabled bool) (*string, error)

func (Zms) SetRoleCertExpiryMins added in v1.9.32

func (cli Zms) SetRoleCertExpiryMins(dn string, rn string, mins int32) (*string, error)

func (Zms) SetRoleDeleteProtection added in v1.11.21

func (cli Zms) SetRoleDeleteProtection(dn string, rn string, deleteProtection bool) (*string, error)

func (Zms) SetRoleDescription added in v1.11.37

func (cli Zms) SetRoleDescription(dn string, rn string, description string) (*string, error)

func (Zms) SetRoleGroupExpiryDays added in v1.9.32

func (cli Zms) SetRoleGroupExpiryDays(dn string, rn string, days int32) (*string, error)

func (Zms) SetRoleGroupReviewDays added in v1.10.11

func (cli Zms) SetRoleGroupReviewDays(dn string, rn string, days int32) (*string, error)

func (Zms) SetRoleMaxMembers added in v1.11.48

func (cli Zms) SetRoleMaxMembers(dn string, rn string, maxMembers int32) (*string, error)

func (Zms) SetRoleMemberExpiryDays added in v1.9.32

func (cli Zms) SetRoleMemberExpiryDays(dn string, rn string, days int32) (*string, error)

func (Zms) SetRoleMemberReviewDays added in v1.9.32

func (cli Zms) SetRoleMemberReviewDays(dn string, rn string, days int32) (*string, error)

func (Zms) SetRoleNotifyRoles added in v1.9.32

func (cli Zms) SetRoleNotifyRoles(dn string, rn string, notifyRoles string) (*string, error)

func (Zms) SetRolePrincipalDomainFilter added in v1.11.60

func (cli Zms) SetRolePrincipalDomainFilter(dn string, rn string, domainFilter string) (*string, error)

func (Zms) SetRoleResourceOwnership added in v1.11.56

func (cli Zms) SetRoleResourceOwnership(dn, rn, resourceOwner string) (*string, error)

func (Zms) SetRoleReviewEnabled added in v1.9.32

func (cli Zms) SetRoleReviewEnabled(dn string, rn string, reviewEnabled bool) (*string, error)

func (Zms) SetRoleSelfRenew added in v1.11.48

func (cli Zms) SetRoleSelfRenew(dn string, rn string, selfRenew bool) (*string, error)

func (Zms) SetRoleSelfRenewMins added in v1.11.48

func (cli Zms) SetRoleSelfRenewMins(dn string, rn string, selfRenewMins int32) (*string, error)

func (Zms) SetRoleSelfServe added in v1.9.32

func (cli Zms) SetRoleSelfServe(dn string, rn string, selfServe bool) (*string, error)

func (Zms) SetRoleServiceExpiryDays added in v1.9.32

func (cli Zms) SetRoleServiceExpiryDays(dn string, rn string, days int32) (*string, error)

func (Zms) SetRoleServiceReviewDays added in v1.9.32

func (cli Zms) SetRoleServiceReviewDays(dn string, rn string, days int32) (*string, error)

func (Zms) SetRoleTokenExpiryMins added in v1.9.32

func (cli Zms) SetRoleTokenExpiryMins(dn string, rn string, mins int32) (*string, error)

func (Zms) SetRoleTokenSignAlgorithm added in v1.9.32

func (cli Zms) SetRoleTokenSignAlgorithm(dn string, rn string, alg string) (*string, error)

func (Zms) SetRoleUserAuthorityExpiration added in v1.9.32

func (cli Zms) SetRoleUserAuthorityExpiration(dn string, rn, filter string) (*string, error)

func (Zms) SetRoleUserAuthorityFilter added in v1.9.32

func (cli Zms) SetRoleUserAuthorityFilter(dn string, rn, filter string) (*string, error)

func (Zms) SetServiceEndpoint

func (cli Zms) SetServiceEndpoint(dn string, sn string, endpoint string) (*string, error)

func (Zms) SetServiceExe

func (cli Zms) SetServiceExe(dn string, sn string, exe string, user string, group string) (*string, error)

func (Zms) SetServiceResourceOwnership added in v1.11.56

func (cli Zms) SetServiceResourceOwnership(dn, sn, resourceOwner string) (*string, error)

func (Zms) ShowAccess

func (cli Zms) ShowAccess(dn string, action string, resource string, altIdent *string, altDomain *string) (*string, error)

ShowAccess returns access indicator as string: 'access: granted' or 'access: denied'.

func (Zms) ShowAccessExt added in v1.1.6

func (cli Zms) ShowAccessExt(dn string, action string, resource string, altIdent *string, altDomain *string) (*string, error)

ShowAccessExt returns access indicator as string: 'access: granted' or 'access: denied'.

func (Zms) ShowDomain

func (cli Zms) ShowDomain(dn string) (*string, error)

func (Zms) ShowDomainAttrs added in v1.11.45

func (cli Zms) ShowDomainAttrs(dn string) (*string, error)

func (Zms) ShowEntity

func (cli Zms) ShowEntity(dn string, en string) (*string, error)

func (Zms) ShowGroup added in v1.9.32

func (cli Zms) ShowGroup(dn string, gn string, auditLog, pending bool) (*zms.Group, *string, error)

func (Zms) ShowGroups added in v1.10.39

func (cli Zms) ShowGroups(dn, tagKey, tagValue string) (*string, error)

func (Zms) ShowGroupsPrincipal added in v1.9.32

func (cli Zms) ShowGroupsPrincipal(principal string, dn string) (*string, error)

func (Zms) ShowOverdueReview added in v1.9.32

func (cli Zms) ShowOverdueReview(dn string) (*string, error)

func (Zms) ShowPolicies added in v1.11.36

func (cli Zms) ShowPolicies(dn string, tagKey string, tagValue string) (*string, error)

func (Zms) ShowPolicy

func (cli Zms) ShowPolicy(dn string, name string) (*string, error)

func (Zms) ShowPolicyVersion added in v1.10.36

func (cli Zms) ShowPolicyVersion(dn string, policy string, version string) (*string, error)

func (Zms) ShowProviderResourceGroupRoles

func (cli Zms) ShowProviderResourceGroupRoles(tenantDomain string, providerDomain string, providerService string, resourceGroup string) (*string, error)

func (Zms) ShowProviderRoleMembers

func (cli Zms) ShowProviderRoleMembers(dn string, provider string, group string, action string) (*string, error)

func (Zms) ShowResourceAccess

func (cli Zms) ShowResourceAccess(principal string, action string) (*string, error)

func (Zms) ShowRole

func (cli Zms) ShowRole(dn string, rn string, auditLog, expand bool, pending bool) (*string, error)

func (Zms) ShowRoles added in v1.9.32

func (cli Zms) ShowRoles(dn string, tagKey string, tagValue string) (*string, error)

func (Zms) ShowRolesPrincipal added in v1.9.32

func (cli Zms) ShowRolesPrincipal(principal string, dn string, expand *bool) (*string, error)

func (Zms) ShowServerTemplate

func (cli Zms) ShowServerTemplate(templateName string) (*string, error)

func (Zms) ShowService

func (cli Zms) ShowService(dn string, sn string) (*string, error)

func (Zms) ShowServicePublicKey

func (cli Zms) ShowServicePublicKey(dn string, sn string, keyID string) (*string, error)

func (Zms) ShowServices added in v1.11.36

func (cli Zms) ShowServices(dn string, tagKey string, tagValue string) (*string, error)

func (Zms) ShowTenantResourceGroupRoles

func (cli Zms) ShowTenantResourceGroupRoles(provDomain string, provService string, tenantDomain string, resourceGroup string) (*string, error)

func (Zms) ShowUpdatedGroup added in v1.11.6

func (cli Zms) ShowUpdatedGroup(group *zms.Group, auditLog bool) (*string, error)

func (Zms) ShowUpdatedPolicy added in v1.11.6

func (cli Zms) ShowUpdatedPolicy(policy *zms.Policy) (*string, error)

func (Zms) ShowUpdatedRole added in v1.11.6

func (cli Zms) ShowUpdatedRole(role *zms.Role, auditLog bool) (*string, error)

func (Zms) ShowUpdatedService added in v1.11.6

func (cli Zms) ShowUpdatedService(service *zms.ServiceIdentity) (*string, error)

func (Zms) SystemBackup

func (cli Zms) SystemBackup(dir string) (*string, error)

func (Zms) UpdateDomain

func (cli Zms) UpdateDomain(dn string, filename string) (*string, error)

func (Zms) UpdateDomainOld added in v1.10.24

func (cli Zms) UpdateDomainOld(dn string, filename string) (*string, error)

Jump to

Keyboard shortcuts

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