managedmaintenancewindowstatus

package
v0.20240927.1005214 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MPL-2.0 Imports: 12 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/servicefabricmanagedcluster/2024-04-01/managedmaintenancewindowstatus Documentation

The managedmaintenancewindowstatus SDK allows for interaction with Azure Resource Manager servicefabricmanagedcluster (API Version 2024-04-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/servicefabricmanagedcluster/2024-04-01/managedmaintenancewindowstatus"

Client Initialization

client := managedmaintenancewindowstatus.NewManagedMaintenanceWindowStatusClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ManagedMaintenanceWindowStatusClient.Get

ctx := context.TODO()
id := managedmaintenancewindowstatus.NewManagedClusterID("12345678-1234-9876-4563-123456789012", "example-resource-group", "clusterName")

read, err := client.Get(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

func ValidateManagedClusterID

func ValidateManagedClusterID(input interface{}, key string) (warnings []string, errors []error)

ValidateManagedClusterID checks that 'input' can be parsed as a Managed Cluster ID

Types

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedMaintenanceWindowStatus
}

type ManagedClusterId

type ManagedClusterId struct {
	SubscriptionId     string
	ResourceGroupName  string
	ManagedClusterName string
}

ManagedClusterId is a struct representing the Resource ID for a Managed Cluster

func NewManagedClusterID

func NewManagedClusterID(subscriptionId string, resourceGroupName string, managedClusterName string) ManagedClusterId

NewManagedClusterID returns a new ManagedClusterId struct

func ParseManagedClusterID

func ParseManagedClusterID(input string) (*ManagedClusterId, error)

ParseManagedClusterID parses 'input' into a ManagedClusterId

func ParseManagedClusterIDInsensitively

func ParseManagedClusterIDInsensitively(input string) (*ManagedClusterId, error)

ParseManagedClusterIDInsensitively parses 'input' case-insensitively into a ManagedClusterId note: this method should only be used for API response data and not user input

func (*ManagedClusterId) FromParseResult

func (id *ManagedClusterId) FromParseResult(input resourceids.ParseResult) error

func (ManagedClusterId) ID

func (id ManagedClusterId) ID() string

ID returns the formatted Managed Cluster ID

func (ManagedClusterId) Segments

func (id ManagedClusterId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Managed Cluster ID

func (ManagedClusterId) String

func (id ManagedClusterId) String() string

String returns a human-readable description of this Managed Cluster ID

type ManagedMaintenanceWindowStatus

type ManagedMaintenanceWindowStatus struct {
	CanApplyUpdates             *bool   `json:"canApplyUpdates,omitempty"`
	IsRegionReady               *bool   `json:"isRegionReady,omitempty"`
	IsWindowActive              *bool   `json:"isWindowActive,omitempty"`
	IsWindowEnabled             *bool   `json:"isWindowEnabled,omitempty"`
	LastWindowEndTimeUTC        *string `json:"lastWindowEndTimeUTC,omitempty"`
	LastWindowStartTimeUTC      *string `json:"lastWindowStartTimeUTC,omitempty"`
	LastWindowStatusUpdateAtUTC *string `json:"lastWindowStatusUpdateAtUTC,omitempty"`
}

func (*ManagedMaintenanceWindowStatus) GetLastWindowEndTimeUTCAsTime

func (o *ManagedMaintenanceWindowStatus) GetLastWindowEndTimeUTCAsTime() (*time.Time, error)

func (*ManagedMaintenanceWindowStatus) GetLastWindowStartTimeUTCAsTime

func (o *ManagedMaintenanceWindowStatus) GetLastWindowStartTimeUTCAsTime() (*time.Time, error)

func (*ManagedMaintenanceWindowStatus) GetLastWindowStatusUpdateAtUTCAsTime

func (o *ManagedMaintenanceWindowStatus) GetLastWindowStatusUpdateAtUTCAsTime() (*time.Time, error)

func (*ManagedMaintenanceWindowStatus) SetLastWindowEndTimeUTCAsTime

func (o *ManagedMaintenanceWindowStatus) SetLastWindowEndTimeUTCAsTime(input time.Time)

func (*ManagedMaintenanceWindowStatus) SetLastWindowStartTimeUTCAsTime

func (o *ManagedMaintenanceWindowStatus) SetLastWindowStartTimeUTCAsTime(input time.Time)

func (*ManagedMaintenanceWindowStatus) SetLastWindowStatusUpdateAtUTCAsTime

func (o *ManagedMaintenanceWindowStatus) SetLastWindowStatusUpdateAtUTCAsTime(input time.Time)

type ManagedMaintenanceWindowStatusClient

type ManagedMaintenanceWindowStatusClient struct {
	Client *resourcemanager.Client
}

func NewManagedMaintenanceWindowStatusClientWithBaseURI

func NewManagedMaintenanceWindowStatusClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedMaintenanceWindowStatusClient, error)

func (ManagedMaintenanceWindowStatusClient) Get

Get ...

Jump to

Keyboard shortcuts

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