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-helpers/resourcemanager/commonids"
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 := commonids.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 OperationList ¶
type OperationList struct {
Value *[]Operation `json:"value,omitempty"`
}
type OperationsClient ¶
type OperationsClient struct {
Client *resourcemanager.Client
}
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(sdkApi sdkEnv.Api) (*OperationsClient, error)
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 OData *odata.OData Model *OperationList }
Click to show internal directories.
Click to hide internal directories.