Documentation ¶
Index ¶
- type CloudgroupCreateOptions
- type CloudgroupIdOptions
- type CloudgroupListOptions
- type CloudgroupPoliciesOptions
- type CloudgroupPolicyListOptions
- type CloudgroupPolicyOptions
- type CloudgroupPublicOptions
- type CloudgroupUserListOptions
- type CloudgroupUserOptions
- type CloudgroupUsersOptions
- type CloudpolicyCacheOption
- type CloudpolicyCreateOption
- type CloudpolicyGroupOptions
- type CloudpolicyIdOptions
- type CloudpolicyListOptions
- type CloudpolicyUpdateOption
- type CloudroleIdOptions
- type CloudroleListOptions
- type ClouduserChangeOwnerOptions
- type ClouduserCreateAccessKeyInput
- type ClouduserCreateOptions
- type ClouduserDeleteAccessKeyInput
- type ClouduserGroupOptions
- type ClouduserIdOption
- type ClouduserListAccessKeyInput
- type ClouduserListOptions
- type ClouduserPasswordOptions
- type ClouduserPolicyListOptions
- type ClouduserPolicyOptions
- type ClouduserResetPasswordOptions
- type ClouduserSyncOptions
- type SAMLProviderCreateOptions
- type SAMLProviderIdOptions
- type SAMLProviderListOptions
- type SamluserCreateOptions
- type SamluserIdOptions
- type SamluserListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudgroupCreateOptions ¶
type CloudgroupCreateOptions struct { NAME string `json:"name"` MANAGER_ID string CloudpolicyIds []string `json:"cloudpolicy_ids"` Desc string `json:"description"` }
func (*CloudgroupCreateOptions) Params ¶
func (opts *CloudgroupCreateOptions) Params() (jsonutils.JSONObject, error)
type CloudgroupIdOptions ¶
type CloudgroupIdOptions struct {
ID string `help:"Cloudgroup Id"`
}
func (*CloudgroupIdOptions) GetId ¶
func (opts *CloudgroupIdOptions) GetId() string
func (*CloudgroupIdOptions) Params ¶
func (opts *CloudgroupIdOptions) Params() (jsonutils.JSONObject, error)
type CloudgroupListOptions ¶
type CloudgroupListOptions struct { options.BaseListOptions ClouduserId string `json:"clouduser_id"` CloudpolicyId string `json:"cloudpolicy_id"` Usable bool `json:"usable"` }
func (*CloudgroupListOptions) Params ¶
func (opts *CloudgroupListOptions) Params() (jsonutils.JSONObject, error)
type CloudgroupPoliciesOptions ¶
type CloudgroupPoliciesOptions struct { CloudgroupIdOptions CloudpolicyIds []string `json:"cloudpolicy_ids"` }
func (*CloudgroupPoliciesOptions) Params ¶
func (opts *CloudgroupPoliciesOptions) Params() (jsonutils.JSONObject, error)
type CloudgroupPolicyListOptions ¶
type CloudgroupPolicyListOptions struct { options.BaseListOptions Cloudgroup string `help:"ID or Name of Cloudgroup"` Cloudpolicy string `help:"Policy ID or name"` }
func (*CloudgroupPolicyListOptions) GetContextId ¶
func (opts *CloudgroupPolicyListOptions) GetContextId() string
func (*CloudgroupPolicyListOptions) Params ¶
func (opts *CloudgroupPolicyListOptions) Params() (jsonutils.JSONObject, error)
type CloudgroupPolicyOptions ¶
type CloudgroupPolicyOptions struct { CloudgroupIdOptions CLOUDPOLICY_ID string `help:"Cloudpolicy Id"` }
func (*CloudgroupPolicyOptions) Params ¶
func (opts *CloudgroupPolicyOptions) Params() (jsonutils.JSONObject, error)
type CloudgroupPublicOptions ¶
type CloudgroupPublicOptions struct { CloudgroupIdOptions Scope string `help:"sharing scope" choices:"system|domain"` }
func (*CloudgroupPublicOptions) Params ¶
func (opts *CloudgroupPublicOptions) Params() (jsonutils.JSONObject, error)
type CloudgroupUserListOptions ¶
type CloudgroupUserListOptions struct { options.BaseListOptions Cloudgroup string `help:"ID or Name of Cloudgroup"` Clouduser string `help:"User ID or name"` }
func (*CloudgroupUserListOptions) GetContextId ¶
func (opts *CloudgroupUserListOptions) GetContextId() string
func (*CloudgroupUserListOptions) Params ¶
func (opts *CloudgroupUserListOptions) Params() (jsonutils.JSONObject, error)
type CloudgroupUserOptions ¶
type CloudgroupUserOptions struct { CloudgroupIdOptions CLOUDUSER_ID string `help:"Clouduser Id"` }
func (*CloudgroupUserOptions) Params ¶
func (opts *CloudgroupUserOptions) Params() (jsonutils.JSONObject, error)
type CloudgroupUsersOptions ¶
type CloudgroupUsersOptions struct { CloudgroupIdOptions ClouduserIds []string `json:"clouduser_ids"` }
func (*CloudgroupUsersOptions) Params ¶
func (opts *CloudgroupUsersOptions) Params() (jsonutils.JSONObject, error)
type CloudpolicyCacheOption ¶
type CloudpolicyCacheOption struct { CloudpolicyIdOptions ManagerId string `positional:"true"` }
func (*CloudpolicyCacheOption) Params ¶
func (opts *CloudpolicyCacheOption) Params() (jsonutils.JSONObject, error)
type CloudpolicyCreateOption ¶
type CloudpolicyCreateOption struct { NAME string PROVIDER string `choices:"Aliyun|Google|Aws|Azure|Huawei"` Descritpion string CloudEnv string POLICY_FILE string }
func (*CloudpolicyCreateOption) Params ¶
func (opts *CloudpolicyCreateOption) Params() (jsonutils.JSONObject, error)
type CloudpolicyGroupOptions ¶
type CloudpolicyGroupOptions struct { CloudpolicyIdOptions CLOUDGROUP_ID string `help:"Cloudgroup Id" json:"cloudgroup_id"` }
func (*CloudpolicyGroupOptions) Params ¶
func (opts *CloudpolicyGroupOptions) Params() (jsonutils.JSONObject, error)
type CloudpolicyIdOptions ¶
type CloudpolicyIdOptions struct {
ID string `help:"Cloudpolicy Id"`
}
func (*CloudpolicyIdOptions) GetId ¶
func (opts *CloudpolicyIdOptions) GetId() string
func (*CloudpolicyIdOptions) Params ¶
func (opts *CloudpolicyIdOptions) Params() (jsonutils.JSONObject, error)
type CloudpolicyListOptions ¶
type CloudpolicyListOptions struct { options.BaseListOptions ManagerId string `json:"manager_id"` ClouduserId string `json:"clouduser_id"` CloudgroupId string `json:"cloudgroup_id"` PolicyType string `help:"Filter cloudpolicy by policy type" choices:"system|custom"` }
func (*CloudpolicyListOptions) Params ¶
func (opts *CloudpolicyListOptions) Params() (jsonutils.JSONObject, error)
type CloudpolicyUpdateOption ¶
type CloudpolicyUpdateOption struct { CloudpolicyIdOptions Name string Description string PolicyDocument string }
func (*CloudpolicyUpdateOption) Params ¶
func (opts *CloudpolicyUpdateOption) Params() (jsonutils.JSONObject, error)
type CloudroleIdOptions ¶
type CloudroleIdOptions struct {
ID string `help:"Cloudrole Id"`
}
func (*CloudroleIdOptions) GetId ¶
func (opts *CloudroleIdOptions) GetId() string
func (*CloudroleIdOptions) Params ¶
func (opts *CloudroleIdOptions) Params() (jsonutils.JSONObject, error)
type CloudroleListOptions ¶
type CloudroleListOptions struct {
options.BaseListOptions
}
func (*CloudroleListOptions) Params ¶
func (opts *CloudroleListOptions) Params() (jsonutils.JSONObject, error)
type ClouduserChangeOwnerOptions ¶
type ClouduserChangeOwnerOptions struct { ClouduserIdOption UserId string `help:"local user id"` }
func (*ClouduserChangeOwnerOptions) Params ¶
func (opts *ClouduserChangeOwnerOptions) Params() (jsonutils.JSONObject, error)
type ClouduserCreateAccessKeyInput ¶
type ClouduserCreateAccessKeyInput struct { ClouduserIdOption Name string `json:"Name"` }
func (*ClouduserCreateAccessKeyInput) Params ¶
func (opts *ClouduserCreateAccessKeyInput) Params() (jsonutils.JSONObject, error)
type ClouduserCreateOptions ¶
type ClouduserCreateOptions struct { NAME string `help:"Clouduser name"` MANAGER_ID string `help:"Cloudprovider Id"` OwnerId string `help:"Owner Id"` CloudpolicyIds []string `help:"cloudpolicy ids"` CloudgroupIds []string `help:"cloudgroup ids"` Email string `help:"email address"` MobilePhone string `help:"phone number"` IsConsoleLogin *bool `help:"is console login"` Password string `help:"clouduser password"` Notify *bool `help:"Notify user which set email when clouduser created"` }
func (*ClouduserCreateOptions) Params ¶
func (opts *ClouduserCreateOptions) Params() (jsonutils.JSONObject, error)
type ClouduserDeleteAccessKeyInput ¶
type ClouduserDeleteAccessKeyInput struct { ClouduserIdOption AccessKey string `json:"access_key"` }
func (*ClouduserDeleteAccessKeyInput) Params ¶
func (opts *ClouduserDeleteAccessKeyInput) Params() (jsonutils.JSONObject, error)
type ClouduserGroupOptions ¶
type ClouduserGroupOptions struct { ClouduserIdOption CLOUDGROUP_ID string `help:"cloudgroup id" json:"cloudgroup_id"` }
func (*ClouduserGroupOptions) Params ¶
func (opts *ClouduserGroupOptions) Params() (jsonutils.JSONObject, error)
type ClouduserIdOption ¶
type ClouduserIdOption struct {
ID string `help:"Clouduser Id or name"`
}
func (*ClouduserIdOption) GetId ¶
func (opts *ClouduserIdOption) GetId() string
func (*ClouduserIdOption) Params ¶
func (opts *ClouduserIdOption) Params() (jsonutils.JSONObject, error)
type ClouduserListAccessKeyInput ¶
type ClouduserListAccessKeyInput struct {
ClouduserIdOption
}
func (*ClouduserListAccessKeyInput) Params ¶
func (opts *ClouduserListAccessKeyInput) Params() (jsonutils.JSONObject, error)
type ClouduserListOptions ¶
type ClouduserListOptions struct { options.BaseListOptions CloudaccountId string `help:"Cloudaccount Id"` CloudproviderId string `help:"Cloudprovider Id"` CloudpolicyId string `help:"filter cloudusers by cloudpolicy"` CloudgroupId string `help:"filter cloudusers by cloudgroup"` }
func (*ClouduserListOptions) Params ¶
func (opts *ClouduserListOptions) Params() (jsonutils.JSONObject, error)
type ClouduserPasswordOptions ¶
type ClouduserPasswordOptions struct { ClouduserIdOption Password string `help:"clouduser password"` }
func (*ClouduserPasswordOptions) Params ¶
func (opts *ClouduserPasswordOptions) Params() (jsonutils.JSONObject, error)
type ClouduserPolicyListOptions ¶
type ClouduserPolicyListOptions struct { options.BaseListOptions Clouduser string `help:"ID or Name of Clouduser"` Cloudpolicy string `help:"Policy ID or name"` }
func (*ClouduserPolicyListOptions) GetContextId ¶
func (opts *ClouduserPolicyListOptions) GetContextId() string
func (*ClouduserPolicyListOptions) Params ¶
func (opts *ClouduserPolicyListOptions) Params() (jsonutils.JSONObject, error)
type ClouduserPolicyOptions ¶
type ClouduserPolicyOptions struct { ClouduserIdOption CLOUDPOLICY_ID string `help:"cloudpolicy Id"` }
func (*ClouduserPolicyOptions) Params ¶
func (opts *ClouduserPolicyOptions) Params() (jsonutils.JSONObject, error)
type ClouduserResetPasswordOptions ¶
type ClouduserResetPasswordOptions struct { ClouduserIdOption Password string `help:"password"` }
func (*ClouduserResetPasswordOptions) Params ¶
func (opts *ClouduserResetPasswordOptions) Params() (jsonutils.JSONObject, error)
type ClouduserSyncOptions ¶
type ClouduserSyncOptions struct { ClouduserIdOption PolicyOnly bool `help:"Ony sync clouduser policies for cloud"` }
func (*ClouduserSyncOptions) Params ¶
func (opts *ClouduserSyncOptions) Params() (jsonutils.JSONObject, error)
type SAMLProviderCreateOptions ¶
type SAMLProviderCreateOptions struct {
CLOUDACCOUNT_ID string
}
func (*SAMLProviderCreateOptions) Params ¶
func (opts *SAMLProviderCreateOptions) Params() (jsonutils.JSONObject, error)
type SAMLProviderIdOptions ¶
type SAMLProviderIdOptions struct {
ID string `help:"SAML Provider Id"`
}
func (*SAMLProviderIdOptions) GetId ¶
func (opts *SAMLProviderIdOptions) GetId() string
func (*SAMLProviderIdOptions) Params ¶
func (opts *SAMLProviderIdOptions) Params() (jsonutils.JSONObject, error)
type SAMLProviderListOptions ¶
type SAMLProviderListOptions struct {
options.BaseListOptions
}
func (*SAMLProviderListOptions) Params ¶
func (opts *SAMLProviderListOptions) Params() (jsonutils.JSONObject, error)
type SamluserCreateOptions ¶
type SamluserCreateOptions struct { OwnerId string CLOUDGROUP_ID string `help:"CloudgroupId"` CLOUDACCOUNT_ID string `help:"CloudaccountId"` }
func (*SamluserCreateOptions) Params ¶
func (opts *SamluserCreateOptions) Params() (jsonutils.JSONObject, error)
type SamluserIdOptions ¶
type SamluserIdOptions struct {
ID string `help:"SAML user Id"`
}
func (*SamluserIdOptions) GetId ¶
func (opts *SamluserIdOptions) GetId() string
func (*SamluserIdOptions) Params ¶
func (opts *SamluserIdOptions) Params() (jsonutils.JSONObject, error)
type SamluserListOptions ¶
type SamluserListOptions struct { options.BaseListOptions CloudgroupId string `help:"Filter by cloudgroup"` CloudaccountId string `help:"Filter by cloudaccount"` }
func (*SamluserListOptions) Params ¶
func (opts *SamluserListOptions) Params() (jsonutils.JSONObject, error)
Click to show internal directories.
Click to hide internal directories.