resourcemanager

package
v0.20240425.1225320 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MPL-2.0 Imports: 18 Imported by: 6,473

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 NewResourceManagerClient

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

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