common

package
v0.43.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 6 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 GetResourceTypeDetails added in v0.43.0

func GetResourceTypeDetails(ctx context.Context, resourceProviderName string, resourceTypeName string, client clients.ApplicationsManagementClient) (ResourceType, error)

GetResourceTypeDetails fetches the details of a resource type from the resource provider.

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