common

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceTypeTableFormat

func GetResourceTypeTableFormat() output.FormatterOptions

GetResourceTypeTableFormat returns the fields to output from a resource type object.

Types

type ResourceType

type ResourceType struct {
	// Name is the fully-qualified name of the resource type.
	Name string
	// ResourceProviderNamespace is the namespace of the resource provider.
	ResourceProviderNamespace string
	// APIVersions is the list of API versions supported by the resource type.
	APIVersions []string
}

ResourceType is used by the CLI for display of resource types.

func ResourceTypesForProvider

func ResourceTypesForProvider(provider *v20231001preview.ResourceProviderSummary) []ResourceType

ResourceTypesForProvider returns a list of resource types for a given provider.

Jump to

Keyboard shortcuts

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