resourcemanager

package
v0.20241203.1090052 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MPL-2.0 Imports: 18 Imported by: 6,731

Documentation

Index

Constants

View Source
const DefaultPollingInterval = 10 * time.Second

Variables

This section is empty.

Functions

func AuthorizeResourceManagerRequest

func AuthorizeResourceManagerRequest(ctx context.Context, req *http.Request, authorizer auth.Authorizer) error

func PollerFromResponse

func PollerFromResponse(response *client.Response, client *Client) (poller pollers.Poller, err error)

Types

type Client

type Client struct {
	*client.Client
	// contains filtered or unexported fields
}

func NewClient added in v0.20240815.1003113

func NewClient(api environments.Api, serviceName, apiVersion string) (*Client, error)

func NewResourceManagerClient deprecated

func NewResourceManagerClient(api environments.Api, serviceName, apiVersion string) (*Client, error)

Deprecated: use NewClient instead

func (*Client) NewRequest

func (c *Client) NewRequest(ctx context.Context, input client.RequestOptions) (*client.Request, error)

type Error

type Error struct {
	ActivityId string
	Code       string
	Message    string
	Status     string

	FullHttpBody string
}

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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