operationsinacluster

package
v0.20241126.1723 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/kubernetesconfiguration/2023-05-01/operationsinacluster Documentation

The operationsinacluster SDK allows for interaction with Azure Resource Manager kubernetesconfiguration (API Version 2023-05-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/kubernetesconfiguration/2023-05-01/operationsinacluster"

Client Initialization

client := operationsinacluster.NewOperationsInAClusterClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: OperationsInAClusterClient.OperationStatusList

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

// alternatively `client.OperationStatusList(ctx, id)` can be used to do batched pagination
items, err := client.OperationStatusListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	Info *interface{} `json:"info,omitempty"`
	Type *string      `json:"type,omitempty"`
}

type ErrorDetail

type ErrorDetail struct {
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
	Code           *string                `json:"code,omitempty"`
	Details        *[]ErrorDetail         `json:"details,omitempty"`
	Message        *string                `json:"message,omitempty"`
	Target         *string                `json:"target,omitempty"`
}

type OperationStatusListCompleteResult

type OperationStatusListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []OperationStatusResult
}

type OperationStatusListCustomPager

type OperationStatusListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *OperationStatusListCustomPager) NextPageLink() *odata.Link

type OperationStatusListOperationResponse

type OperationStatusListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]OperationStatusResult
}

type OperationStatusResult

type OperationStatusResult struct {
	Error      *ErrorDetail       `json:"error,omitempty"`
	Id         *string            `json:"id,omitempty"`
	Name       *string            `json:"name,omitempty"`
	Properties *map[string]string `json:"properties,omitempty"`
	Status     string             `json:"status"`
}

type OperationStatusResultOperationPredicate

type OperationStatusResultOperationPredicate struct {
	Id     *string
	Name   *string
	Status *string
}

func (OperationStatusResultOperationPredicate) Matches

type OperationsInAClusterClient

type OperationsInAClusterClient struct {
	Client *resourcemanager.Client
}

func NewOperationsInAClusterClientWithBaseURI

func NewOperationsInAClusterClientWithBaseURI(sdkApi sdkEnv.Api) (*OperationsInAClusterClient, error)

func (OperationsInAClusterClient) OperationStatusList

OperationStatusList ...

func (OperationsInAClusterClient) OperationStatusListComplete

OperationStatusListComplete retrieves all the results into a single object

func (OperationsInAClusterClient) OperationStatusListCompleteMatchingPredicate

func (c OperationsInAClusterClient) OperationStatusListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate OperationStatusResultOperationPredicate) (result OperationStatusListCompleteResult, err error)

OperationStatusListCompleteMatchingPredicate retrieves all the results and then applies the predicate

Jump to

Keyboard shortcuts

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