Documentation ¶
Overview ¶
Package configurationaggregatorv1 : Operations and models for the ConfigurationAggregatorV1 service
Index ¶
- Constants
- func ConstructServiceURL(providedUrlVariables map[string]string) (string, error)
- func GetServiceURLForRegion(region string) (string, error)
- func UnmarshalAbout(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalAdditionalScope(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfig(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalConfiguration(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalListConfigsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginatedFirst(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginatedNext(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPaginatedPrevious(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProfileTemplate(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalSettingsResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalStatusResponse(m map[string]json.RawMessage, result interface{}) (err error)
- type About
- type AdditionalScope
- type Config
- type ConfigsPager
- func (pager *ConfigsPager) GetAll() (allItems []Config, err error)
- func (pager *ConfigsPager) GetAllWithContext(ctx context.Context) (allItems []Config, err error)
- func (pager *ConfigsPager) GetNext() (page []Config, err error)
- func (pager *ConfigsPager) GetNextWithContext(ctx context.Context) (page []Config, err error)
- func (pager *ConfigsPager) HasNext() bool
- type Configuration
- func (o *Configuration) GetProperties() map[string]interface{}
- func (o *Configuration) GetProperty(key string) interface{}
- func (o *Configuration) MarshalJSON() (buffer []byte, err error)
- func (o *Configuration) SetProperties(m map[string]interface{})
- func (o *Configuration) SetProperty(key string, value interface{})
- type ConfigurationAggregatorV1
- func (configurationAggregator *ConfigurationAggregatorV1) Clone() *ConfigurationAggregatorV1
- func (configurationAggregator *ConfigurationAggregatorV1) DisableRetries()
- func (configurationAggregator *ConfigurationAggregatorV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
- func (configurationAggregator *ConfigurationAggregatorV1) GetEnableGzipCompression() bool
- func (configurationAggregator *ConfigurationAggregatorV1) GetResourceCollectionStatus(getResourceCollectionStatusOptions *GetResourceCollectionStatusOptions) (result *StatusResponse, response *core.DetailedResponse, err error)
- func (configurationAggregator *ConfigurationAggregatorV1) GetResourceCollectionStatusWithContext(ctx context.Context, ...) (result *StatusResponse, response *core.DetailedResponse, err error)
- func (configurationAggregator *ConfigurationAggregatorV1) GetServiceURL() string
- func (configurationAggregator *ConfigurationAggregatorV1) GetSettings(getSettingsOptions *GetSettingsOptions) (result *SettingsResponse, response *core.DetailedResponse, err error)
- func (configurationAggregator *ConfigurationAggregatorV1) GetSettingsWithContext(ctx context.Context, getSettingsOptions *GetSettingsOptions) (result *SettingsResponse, response *core.DetailedResponse, err error)
- func (configurationAggregator *ConfigurationAggregatorV1) ListConfigs(listConfigsOptions *ListConfigsOptions) (result *ListConfigsResponse, response *core.DetailedResponse, err error)
- func (configurationAggregator *ConfigurationAggregatorV1) ListConfigsWithContext(ctx context.Context, listConfigsOptions *ListConfigsOptions) (result *ListConfigsResponse, response *core.DetailedResponse, err error)
- func (configurationAggregator *ConfigurationAggregatorV1) NewConfigsPager(options *ListConfigsOptions) (pager *ConfigsPager, err error)
- func (*ConfigurationAggregatorV1) NewGetResourceCollectionStatusOptions() *GetResourceCollectionStatusOptions
- func (*ConfigurationAggregatorV1) NewGetSettingsOptions() *GetSettingsOptions
- func (*ConfigurationAggregatorV1) NewListConfigsOptions() *ListConfigsOptions
- func (*ConfigurationAggregatorV1) NewReplaceSettingsOptions() *ReplaceSettingsOptions
- func (configurationAggregator *ConfigurationAggregatorV1) ReplaceSettings(replaceSettingsOptions *ReplaceSettingsOptions) (result *SettingsResponse, response *core.DetailedResponse, err error)
- func (configurationAggregator *ConfigurationAggregatorV1) ReplaceSettingsWithContext(ctx context.Context, replaceSettingsOptions *ReplaceSettingsOptions) (result *SettingsResponse, response *core.DetailedResponse, err error)
- func (configurationAggregator *ConfigurationAggregatorV1) SetDefaultHeaders(headers http.Header)
- func (configurationAggregator *ConfigurationAggregatorV1) SetEnableGzipCompression(enableGzip bool)
- func (configurationAggregator *ConfigurationAggregatorV1) SetServiceURL(url string) error
- type ConfigurationAggregatorV1Options
- type GetResourceCollectionStatusOptions
- type GetSettingsOptions
- type ListConfigsOptions
- func (_options *ListConfigsOptions) SetAccessTags(accessTags string) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetConfigType(configType string) *ListConfigsOptions
- func (options *ListConfigsOptions) SetHeaders(param map[string]string) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetLimit(limit int64) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetLocation(location string) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetResourceCrn(resourceCrn string) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetResourceGroupID(resourceGroupID string) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetServiceName(serviceName string) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetServiceTags(serviceTags string) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetStart(start string) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetSubAccount(subAccount string) *ListConfigsOptions
- func (_options *ListConfigsOptions) SetUserTags(userTags string) *ListConfigsOptions
- type ListConfigsResponse
- type PaginatedFirst
- type PaginatedNext
- type PaginatedPrevious
- type ProfileTemplate
- type ReplaceSettingsOptions
- func (_options *ReplaceSettingsOptions) SetAdditionalScope(additionalScope []AdditionalScope) *ReplaceSettingsOptions
- func (options *ReplaceSettingsOptions) SetHeaders(param map[string]string) *ReplaceSettingsOptions
- func (_options *ReplaceSettingsOptions) SetRegions(regions []string) *ReplaceSettingsOptions
- func (_options *ReplaceSettingsOptions) SetResourceCollectionEnabled(resourceCollectionEnabled bool) *ReplaceSettingsOptions
- func (_options *ReplaceSettingsOptions) SetTrustedProfileID(trustedProfileID string) *ReplaceSettingsOptions
- type SettingsResponse
- type StatusResponse
Constants ¶
const ( StatusResponse_Status_Complete = "complete" StatusResponse_Status_Initiated = "initiated" StatusResponse_Status_Inprogress = "inprogress" )
Constants associated with the StatusResponse.Status property. Status of the resource collection.
const DefaultServiceName = "configuration_aggregator"
DefaultServiceName is the default key used to find external configuration information.
const DefaultServiceURL = "https://us-south.apprapp.cloud.ibm.com/apprapp/config_aggregator/v1/instances/provide-here-your-appconfig-instance-uuid"
DefaultServiceURL is the default URL to make service requests to.
const ParameterizedServiceURL = "https://{region}.apprapp.cloud.ibm.com/apprapp/config_aggregator/v1/instances/{instance_id}"
Variables ¶
This section is empty.
Functions ¶
func ConstructServiceURL ¶
ConstructServiceURL constructs a service URL from the parameterized URL.
func GetServiceURLForRegion ¶
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalAbout ¶
func UnmarshalAbout(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAbout unmarshals an instance of About from the specified map of raw messages.
func UnmarshalAdditionalScope ¶
func UnmarshalAdditionalScope(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalAdditionalScope unmarshals an instance of AdditionalScope from the specified map of raw messages.
func UnmarshalConfig ¶
func UnmarshalConfig(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfig unmarshals an instance of Config from the specified map of raw messages.
func UnmarshalConfiguration ¶
func UnmarshalConfiguration(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalConfiguration unmarshals an instance of Configuration from the specified map of raw messages.
func UnmarshalListConfigsResponse ¶
func UnmarshalListConfigsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalListConfigsResponse unmarshals an instance of ListConfigsResponse from the specified map of raw messages.
func UnmarshalPaginatedFirst ¶
func UnmarshalPaginatedFirst(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPaginatedFirst unmarshals an instance of PaginatedFirst from the specified map of raw messages.
func UnmarshalPaginatedNext ¶
func UnmarshalPaginatedNext(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPaginatedNext unmarshals an instance of PaginatedNext from the specified map of raw messages.
func UnmarshalPaginatedPrevious ¶
func UnmarshalPaginatedPrevious(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPaginatedPrevious unmarshals an instance of PaginatedPrevious from the specified map of raw messages.
func UnmarshalProfileTemplate ¶
func UnmarshalProfileTemplate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProfileTemplate unmarshals an instance of ProfileTemplate from the specified map of raw messages.
func UnmarshalSettingsResponse ¶
func UnmarshalSettingsResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalSettingsResponse unmarshals an instance of SettingsResponse from the specified map of raw messages.
func UnmarshalStatusResponse ¶
func UnmarshalStatusResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalStatusResponse unmarshals an instance of StatusResponse from the specified map of raw messages.
Types ¶
type About ¶
type About struct { // The account ID in which the resource exists. AccountID *string `json:"account_id" validate:"required"` // The type of configuration of the retrieved resource. ConfigType *string `json:"config_type" validate:"required"` // The unique CRN of the IBM Cloud resource. ResourceCrn *string `json:"resource_crn" validate:"required"` // The account ID. ResourceGroupID *string `json:"resource_group_id" validate:"required"` // The name of the service to which the resources belongs. ServiceName *string `json:"service_name" validate:"required"` // User defined name of the resource. ResourceName *string `json:"resource_name" validate:"required"` // Date/time stamp identifying when the information was last collected. Must be in the RFC 3339 format. LastConfigRefreshTime *strfmt.DateTime `json:"last_config_refresh_time" validate:"required"` // Location of the resource specified. Location *string `json:"location" validate:"required"` // Access tags specified by the user for the resource. For more information, see // https://cloud.ibm.com/docs/account?topic=account-tag&interface=ui#tag-types. AccessTags []string `json:"access_tags,omitempty"` // User tags specified by the user for the resource. For more information, see // https://cloud.ibm.com/docs/account?topic=account-tag&interface=ui#tag-types. UserTags []string `json:"user_tags,omitempty"` // Tags attached to resources or service IDs by an authorized user in the account. For more information, see // https://cloud.ibm.com/docs/account?topic=account-tag&interface=ui#tag-types. ServiceTags []string `json:"service_tags,omitempty"` }
About : The basic metadata fetched from the query API.
type AdditionalScope ¶
type AdditionalScope struct { // The type of scope. Currently allowed value is Enterprise. Type *string `json:"type,omitempty"` // The Enterprise ID. EnterpriseID *string `json:"enterprise_id,omitempty"` // The Profile Template details applied on the enterprise account. ProfileTemplate *ProfileTemplate `json:"profile_template,omitempty"` }
AdditionalScope : The additional scope that enables resource collection for Enterprise acccounts.
type Config ¶
type Config struct { // The basic metadata fetched from the query API. About *About `json:"about" validate:"required"` // The configuration of the resource. Config *Configuration `json:"config" validate:"required"` }
Config : Configuration of each individual resource.
type ConfigsPager ¶
type ConfigsPager struct {
// contains filtered or unexported fields
}
ConfigsPager can be used to simplify the use of the "ListConfigs" method.
func (*ConfigsPager) GetAll ¶
func (pager *ConfigsPager) GetAll() (allItems []Config, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*ConfigsPager) GetAllWithContext ¶
func (pager *ConfigsPager) GetAllWithContext(ctx context.Context) (allItems []Config, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*ConfigsPager) GetNext ¶
func (pager *ConfigsPager) GetNext() (page []Config, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*ConfigsPager) GetNextWithContext ¶
func (pager *ConfigsPager) GetNextWithContext(ctx context.Context) (page []Config, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*ConfigsPager) HasNext ¶
func (pager *ConfigsPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type Configuration ¶
type Configuration struct {
// contains filtered or unexported fields
}
Configuration : The configuration of the resource.
func (*Configuration) GetProperties ¶
func (o *Configuration) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of Configuration
func (*Configuration) GetProperty ¶
func (o *Configuration) GetProperty(key string) interface{}
GetProperty allows the user to retrieve an arbitrary property from an instance of Configuration
func (*Configuration) MarshalJSON ¶
func (o *Configuration) MarshalJSON() (buffer []byte, err error)
MarshalJSON performs custom serialization for instances of Configuration
func (*Configuration) SetProperties ¶
func (o *Configuration) SetProperties(m map[string]interface{})
SetProperties allows the user to set a map of arbitrary properties on an instance of Configuration
func (*Configuration) SetProperty ¶
func (o *Configuration) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of Configuration
type ConfigurationAggregatorV1 ¶
type ConfigurationAggregatorV1 struct {
Service *core.BaseService
}
ConfigurationAggregatorV1 : Configuration Aggregator
API Version: 1.0.0 See: https://cloud.ibm.com/docs/app-configuration
func NewConfigurationAggregatorV1 ¶
func NewConfigurationAggregatorV1(options *ConfigurationAggregatorV1Options) (service *ConfigurationAggregatorV1, err error)
NewConfigurationAggregatorV1 : constructs an instance of ConfigurationAggregatorV1 with passed in options.
func NewConfigurationAggregatorV1UsingExternalConfig ¶
func NewConfigurationAggregatorV1UsingExternalConfig(options *ConfigurationAggregatorV1Options) (configurationAggregator *ConfigurationAggregatorV1, err error)
NewConfigurationAggregatorV1UsingExternalConfig : constructs an instance of ConfigurationAggregatorV1 with passed in options and external configuration.
func (*ConfigurationAggregatorV1) Clone ¶
func (configurationAggregator *ConfigurationAggregatorV1) Clone() *ConfigurationAggregatorV1
Clone makes a copy of "configurationAggregator" suitable for processing requests.
func (*ConfigurationAggregatorV1) DisableRetries ¶
func (configurationAggregator *ConfigurationAggregatorV1) DisableRetries()
DisableRetries disables automatic retries for requests invoked for this service instance.
func (*ConfigurationAggregatorV1) EnableRetries ¶
func (configurationAggregator *ConfigurationAggregatorV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.
func (*ConfigurationAggregatorV1) GetEnableGzipCompression ¶
func (configurationAggregator *ConfigurationAggregatorV1) GetEnableGzipCompression() bool
GetEnableGzipCompression returns the service's EnableGzipCompression field
func (*ConfigurationAggregatorV1) GetResourceCollectionStatus ¶
func (configurationAggregator *ConfigurationAggregatorV1) GetResourceCollectionStatus(getResourceCollectionStatusOptions *GetResourceCollectionStatusOptions) (result *StatusResponse, response *core.DetailedResponse, err error)
GetResourceCollectionStatus : Retrieve status for resource collection in Configuration Aggregator Retrieve the status of the resource collection as part of Configuration Aggregator.
func (*ConfigurationAggregatorV1) GetResourceCollectionStatusWithContext ¶
func (configurationAggregator *ConfigurationAggregatorV1) GetResourceCollectionStatusWithContext(ctx context.Context, getResourceCollectionStatusOptions *GetResourceCollectionStatusOptions) (result *StatusResponse, response *core.DetailedResponse, err error)
GetResourceCollectionStatusWithContext is an alternate form of the GetResourceCollectionStatus method which supports a Context parameter
func (*ConfigurationAggregatorV1) GetServiceURL ¶
func (configurationAggregator *ConfigurationAggregatorV1) GetServiceURL() string
GetServiceURL returns the service URL
func (*ConfigurationAggregatorV1) GetSettings ¶
func (configurationAggregator *ConfigurationAggregatorV1) GetSettings(getSettingsOptions *GetSettingsOptions) (result *SettingsResponse, response *core.DetailedResponse, err error)
GetSettings : Retrieve the settings for Configuration Aggregator feature Retrieve settings for resource collection in Configuration Aggregator.
func (*ConfigurationAggregatorV1) GetSettingsWithContext ¶
func (configurationAggregator *ConfigurationAggregatorV1) GetSettingsWithContext(ctx context.Context, getSettingsOptions *GetSettingsOptions) (result *SettingsResponse, response *core.DetailedResponse, err error)
GetSettingsWithContext is an alternate form of the GetSettings method which supports a Context parameter
func (*ConfigurationAggregatorV1) ListConfigs ¶
func (configurationAggregator *ConfigurationAggregatorV1) ListConfigs(listConfigsOptions *ListConfigsOptions) (result *ListConfigsResponse, response *core.DetailedResponse, err error)
ListConfigs : Get the list of configurations of the resources Retrieve the list of resource configurations collected as part of Configuration Aggregator.
func (*ConfigurationAggregatorV1) ListConfigsWithContext ¶
func (configurationAggregator *ConfigurationAggregatorV1) ListConfigsWithContext(ctx context.Context, listConfigsOptions *ListConfigsOptions) (result *ListConfigsResponse, response *core.DetailedResponse, err error)
ListConfigsWithContext is an alternate form of the ListConfigs method which supports a Context parameter
func (*ConfigurationAggregatorV1) NewConfigsPager ¶
func (configurationAggregator *ConfigurationAggregatorV1) NewConfigsPager(options *ListConfigsOptions) (pager *ConfigsPager, err error)
NewConfigsPager returns a new ConfigsPager instance.
func (*ConfigurationAggregatorV1) NewGetResourceCollectionStatusOptions ¶
func (*ConfigurationAggregatorV1) NewGetResourceCollectionStatusOptions() *GetResourceCollectionStatusOptions
NewGetResourceCollectionStatusOptions : Instantiate GetResourceCollectionStatusOptions
func (*ConfigurationAggregatorV1) NewGetSettingsOptions ¶
func (*ConfigurationAggregatorV1) NewGetSettingsOptions() *GetSettingsOptions
NewGetSettingsOptions : Instantiate GetSettingsOptions
func (*ConfigurationAggregatorV1) NewListConfigsOptions ¶
func (*ConfigurationAggregatorV1) NewListConfigsOptions() *ListConfigsOptions
NewListConfigsOptions : Instantiate ListConfigsOptions
func (*ConfigurationAggregatorV1) NewReplaceSettingsOptions ¶
func (*ConfigurationAggregatorV1) NewReplaceSettingsOptions() *ReplaceSettingsOptions
NewReplaceSettingsOptions : Instantiate ReplaceSettingsOptions
func (*ConfigurationAggregatorV1) ReplaceSettings ¶
func (configurationAggregator *ConfigurationAggregatorV1) ReplaceSettings(replaceSettingsOptions *ReplaceSettingsOptions) (result *SettingsResponse, response *core.DetailedResponse, err error)
ReplaceSettings : Replace the settings for Configuration Aggregator Replace the settings for resource collection as part of the Configuration Aggregator feature.
func (*ConfigurationAggregatorV1) ReplaceSettingsWithContext ¶
func (configurationAggregator *ConfigurationAggregatorV1) ReplaceSettingsWithContext(ctx context.Context, replaceSettingsOptions *ReplaceSettingsOptions) (result *SettingsResponse, response *core.DetailedResponse, err error)
ReplaceSettingsWithContext is an alternate form of the ReplaceSettings method which supports a Context parameter
func (*ConfigurationAggregatorV1) SetDefaultHeaders ¶
func (configurationAggregator *ConfigurationAggregatorV1) SetDefaultHeaders(headers http.Header)
SetDefaultHeaders sets HTTP headers to be sent in every request
func (*ConfigurationAggregatorV1) SetEnableGzipCompression ¶
func (configurationAggregator *ConfigurationAggregatorV1) SetEnableGzipCompression(enableGzip bool)
SetEnableGzipCompression sets the service's EnableGzipCompression field
func (*ConfigurationAggregatorV1) SetServiceURL ¶
func (configurationAggregator *ConfigurationAggregatorV1) SetServiceURL(url string) error
SetServiceURL sets the service URL
type ConfigurationAggregatorV1Options ¶
type ConfigurationAggregatorV1Options struct { ServiceName string URL string Authenticator core.Authenticator }
ConfigurationAggregatorV1Options : Service options
type GetResourceCollectionStatusOptions ¶
type GetResourceCollectionStatusOptions struct { // Allows users to set headers on API requests Headers map[string]string }
GetResourceCollectionStatusOptions : The GetResourceCollectionStatus options.
func (*GetResourceCollectionStatusOptions) SetHeaders ¶
func (options *GetResourceCollectionStatusOptions) SetHeaders(param map[string]string) *GetResourceCollectionStatusOptions
SetHeaders : Allow user to set Headers
type GetSettingsOptions ¶
type GetSettingsOptions struct { // Allows users to set headers on API requests Headers map[string]string }
GetSettingsOptions : The GetSettings options.
func (*GetSettingsOptions) SetHeaders ¶
func (options *GetSettingsOptions) SetHeaders(param map[string]string) *GetSettingsOptions
SetHeaders : Allow user to set Headers
type ListConfigsOptions ¶
type ListConfigsOptions struct { // The type of resource configuration that are to be retrieved. ConfigType *string `json:"config_type,omitempty"` // The name of the IBM Cloud service for which resources are to be retrieved. ServiceName *string `json:"service_name,omitempty"` // The resource group id of the resources. ResourceGroupID *string `json:"resource_group_id,omitempty"` // The location or region in which the resources are created. Location *string `json:"location,omitempty"` // The crn of the resource. ResourceCrn *string `json:"resource_crn,omitempty"` // The number of resources for which the configuration can be fetched. Limit *int64 `json:"limit,omitempty"` // The start string to fetch the resource. Start *string `json:"start,omitempty"` // Filter the resource configurations from the specified sub-account in an enterprise hierarchy. SubAccount *string `json:"sub_account,omitempty"` // Filter the resource configurations attached with the specified access tags. AccessTags *string `json:"access_tags,omitempty"` // Filter the resource configurations attached with the specified user tags. UserTags *string `json:"user_tags,omitempty"` // Filter the resource configurations attached with the specified service tags. ServiceTags *string `json:"service_tags,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ListConfigsOptions : The ListConfigs options.
func (*ListConfigsOptions) SetAccessTags ¶ added in v0.0.2
func (_options *ListConfigsOptions) SetAccessTags(accessTags string) *ListConfigsOptions
SetAccessTags : Allow user to set AccessTags
func (*ListConfigsOptions) SetConfigType ¶
func (_options *ListConfigsOptions) SetConfigType(configType string) *ListConfigsOptions
SetConfigType : Allow user to set ConfigType
func (*ListConfigsOptions) SetHeaders ¶
func (options *ListConfigsOptions) SetHeaders(param map[string]string) *ListConfigsOptions
SetHeaders : Allow user to set Headers
func (*ListConfigsOptions) SetLimit ¶
func (_options *ListConfigsOptions) SetLimit(limit int64) *ListConfigsOptions
SetLimit : Allow user to set Limit
func (*ListConfigsOptions) SetLocation ¶
func (_options *ListConfigsOptions) SetLocation(location string) *ListConfigsOptions
SetLocation : Allow user to set Location
func (*ListConfigsOptions) SetResourceCrn ¶
func (_options *ListConfigsOptions) SetResourceCrn(resourceCrn string) *ListConfigsOptions
SetResourceCrn : Allow user to set ResourceCrn
func (*ListConfigsOptions) SetResourceGroupID ¶
func (_options *ListConfigsOptions) SetResourceGroupID(resourceGroupID string) *ListConfigsOptions
SetResourceGroupID : Allow user to set ResourceGroupID
func (*ListConfigsOptions) SetServiceName ¶
func (_options *ListConfigsOptions) SetServiceName(serviceName string) *ListConfigsOptions
SetServiceName : Allow user to set ServiceName
func (*ListConfigsOptions) SetServiceTags ¶ added in v0.0.2
func (_options *ListConfigsOptions) SetServiceTags(serviceTags string) *ListConfigsOptions
SetServiceTags : Allow user to set ServiceTags
func (*ListConfigsOptions) SetStart ¶
func (_options *ListConfigsOptions) SetStart(start string) *ListConfigsOptions
SetStart : Allow user to set Start
func (*ListConfigsOptions) SetSubAccount ¶ added in v0.0.2
func (_options *ListConfigsOptions) SetSubAccount(subAccount string) *ListConfigsOptions
SetSubAccount : Allow user to set SubAccount
func (*ListConfigsOptions) SetUserTags ¶ added in v0.0.2
func (_options *ListConfigsOptions) SetUserTags(userTags string) *ListConfigsOptions
SetUserTags : Allow user to set UserTags
type ListConfigsResponse ¶
type ListConfigsResponse struct { // The total number of resources present. TotalCount *int64 `json:"total_count,omitempty"` // The maximum number of resources retrieved per page. Limit *int64 `json:"limit,omitempty"` // The reference to the first page of entries. First *PaginatedFirst `json:"first,omitempty"` // The reference to the previous page of entries. Prev *PaginatedPrevious `json:"prev,omitempty"` // The reference to the next page of entries. Next *PaginatedNext `json:"next,omitempty"` // Array of resource configurations. Configs []Config `json:"configs,omitempty"` }
ListConfigsResponse : List configs api response.
func (*ListConfigsResponse) GetNextStart ¶
func (resp *ListConfigsResponse) GetNextStart() (*string, error)
Retrieve the value to be passed to a request to access the next page of results
type PaginatedFirst ¶
type PaginatedFirst struct { // The reference to the first page of entries. Href *string `json:"href,omitempty"` }
PaginatedFirst : The reference to the first page of entries.
type PaginatedNext ¶
type PaginatedNext struct { // The reference to the next page of entries. Href *string `json:"href,omitempty"` // the start string for the query to view the page. Start *string `json:"start,omitempty"` }
PaginatedNext : The reference to the next page of entries.
type PaginatedPrevious ¶
type PaginatedPrevious struct { // The reference to the previous page of entries. Href *string `json:"href,omitempty"` // the start string for the query to view the page. Start *string `json:"start,omitempty"` }
PaginatedPrevious : The reference to the previous page of entries.
type ProfileTemplate ¶
type ProfileTemplate struct { // The Profile Template ID created in the enterprise account that provides access to App Configuration instance for // resource collection. ID *string `json:"id,omitempty"` // The trusted profile ID that provides access to App Configuration instance to retrieve template information. TrustedProfileID *string `json:"trusted_profile_id,omitempty"` }
ProfileTemplate : The Profile Template details applied on the enterprise account.
type ReplaceSettingsOptions ¶
type ReplaceSettingsOptions struct { // The field denoting if the resource collection is enabled. ResourceCollectionEnabled *bool `json:"resource_collection_enabled,omitempty"` // The trusted profile id that provides Reader access to the App Configuration instance to collect resource metadata. TrustedProfileID *string `json:"trusted_profile_id,omitempty"` // The list of regions across which the resource collection is enabled. Regions []string `json:"regions,omitempty"` // The additional scope that enables resource collection for Enterprise acccounts. AdditionalScope []AdditionalScope `json:"additional_scope,omitempty"` // Allows users to set headers on API requests Headers map[string]string }
ReplaceSettingsOptions : The ReplaceSettings options.
func (*ReplaceSettingsOptions) SetAdditionalScope ¶
func (_options *ReplaceSettingsOptions) SetAdditionalScope(additionalScope []AdditionalScope) *ReplaceSettingsOptions
SetAdditionalScope : Allow user to set AdditionalScope
func (*ReplaceSettingsOptions) SetHeaders ¶
func (options *ReplaceSettingsOptions) SetHeaders(param map[string]string) *ReplaceSettingsOptions
SetHeaders : Allow user to set Headers
func (*ReplaceSettingsOptions) SetRegions ¶
func (_options *ReplaceSettingsOptions) SetRegions(regions []string) *ReplaceSettingsOptions
SetRegions : Allow user to set Regions
func (*ReplaceSettingsOptions) SetResourceCollectionEnabled ¶
func (_options *ReplaceSettingsOptions) SetResourceCollectionEnabled(resourceCollectionEnabled bool) *ReplaceSettingsOptions
SetResourceCollectionEnabled : Allow user to set ResourceCollectionEnabled
func (*ReplaceSettingsOptions) SetTrustedProfileID ¶
func (_options *ReplaceSettingsOptions) SetTrustedProfileID(trustedProfileID string) *ReplaceSettingsOptions
SetTrustedProfileID : Allow user to set TrustedProfileID
type SettingsResponse ¶
type SettingsResponse struct { // The field to check if the resource collection is enabled. ResourceCollectionEnabled *bool `json:"resource_collection_enabled,omitempty"` // The trusted profile ID that provides access to App Configuration instance to retrieve resource metadata. TrustedProfileID *string `json:"trusted_profile_id,omitempty"` // The last time the settings was last updated. LastUpdated *strfmt.DateTime `json:"last_updated,omitempty"` // Regions for which the resource collection is enabled. Regions []string `json:"regions,omitempty"` // The additional scope that enables resource collection for Enterprise acccounts. AdditionalScope []AdditionalScope `json:"additional_scope,omitempty"` }
SettingsResponse : Settings API response.
type StatusResponse ¶
type StatusResponse struct { // The timestamp at which the configuration was last refreshed. LastConfigRefreshTime *strfmt.DateTime `json:"last_config_refresh_time,omitempty"` // Status of the resource collection. Status *string `json:"status,omitempty"` }
StatusResponse : The Status response.