provider

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListOpts

type ListOpts struct {
	// Specifies the display language.
	Locale string `q:"locale"`
	// The maximum queries supported. The value 10 is used by default if this parameter is not set.
	// The value range is 1 to 200.
	Limit *int `q:"limit"`
	// Specifies the index position, which starts from the next data record specified by offset.
	// The value must be a number and cannot be negative. The default value is 0.
	Offset *int `q:"offset"`
	// Specifies the cloud service name.
	Provider string `q:"provider"`
}

ListOpts is the structure that used to query tags detail for specified resource.

type Providers

type Providers struct {
	// Specifies the cloud service name.
	Provider string `json:"provider"`
	// Specifies the display name of the resource.
	// You can set the language by setting the **locale** parameter.
	DisplayName string `json:"provider_i18n_display_name"`
	// Specifies the resource type.
	ResourceTypes []ResourceTypes `json:"resource_types"`
}

func List

func List(client *golangsdk.ServiceClient, opts ListOpts) ([]Providers, error)

type ResourceTypes

type ResourceTypes struct {
	// Specifies the resource type.
	ResourceType string `json:"resource_type"`
	// Specifies the display name of the resource type.
	// You can set the language by setting the **locale** parameter.
	DisplayName string `json:"provider_i18n_display_name"`
	// Specifies the supported regions.
	Regions []string `json:"regions"`
	// Specifies whether the resource is a global resource.
	Global bool `json:"global"`
}

Jump to

Keyboard shortcuts

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