operations

package
v0.20230509.1154719 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MPL-2.0 Imports: 6 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/managedservices/2022-10-01/operations Documentation

The operations SDK allows for interaction with the Azure Resource Manager Service managedservices (API Version 2022-10-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/managedservices/2022-10-01/operations"

Client Initialization

client := operations.NewOperationsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: OperationsClient.WithScopeList

ctx := context.TODO()
id := operations.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

read, err := client.WithScopeList(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation struct {
	Display *OperationDisplay `json:"display,omitempty"`
	Name    *string           `json:"name,omitempty"`
}

type OperationDisplay

type OperationDisplay struct {
	Description *string `json:"description,omitempty"`
	Operation   *string `json:"operation,omitempty"`
	Provider    *string `json:"provider,omitempty"`
	Resource    *string `json:"resource,omitempty"`
}

type OperationList

type OperationList struct {
	Value *[]Operation `json:"value,omitempty"`
}

type OperationsClient

type OperationsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(endpoint string) OperationsClient

func (OperationsClient) WithScopeList

func (c OperationsClient) WithScopeList(ctx context.Context, id commonids.ScopeId) (result WithScopeListOperationResponse, err error)

WithScopeList ...

type WithScopeListOperationResponse

type WithScopeListOperationResponse struct {
	HttpResponse *http.Response
	Model        *OperationList
}

Jump to

Keyboard shortcuts

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