grafanaresource

package
v0.20240612.1084144 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/grafanaresource Documentation

The grafanaresource SDK allows for interaction with the Azure Resource Manager Service dashboard (API Version 2023-09-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/dashboard/2023-09-01/grafanaresource"

Client Initialization

client := grafanaresource.NewGrafanaResourceClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: GrafanaResourceClient.GrafanaCheckEnterpriseDetails

ctx := context.TODO()
id := grafanaresource.NewGrafanaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaValue")

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

Example Usage: GrafanaResourceClient.GrafanaCreate

ctx := context.TODO()
id := grafanaresource.NewGrafanaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaValue")

payload := grafanaresource.ManagedGrafana{
	// ...
}


if err := client.GrafanaCreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: GrafanaResourceClient.GrafanaDelete

ctx := context.TODO()
id := grafanaresource.NewGrafanaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaValue")

if err := client.GrafanaDeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: GrafanaResourceClient.GrafanaGet

ctx := context.TODO()
id := grafanaresource.NewGrafanaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaValue")

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

Example Usage: GrafanaResourceClient.GrafanaList

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

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

Example Usage: GrafanaResourceClient.GrafanaListByResourceGroup

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

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

Example Usage: GrafanaResourceClient.GrafanaUpdate

ctx := context.TODO()
id := grafanaresource.NewGrafanaID("12345678-1234-9876-4563-123456789012", "example-resource-group", "grafanaValue")

payload := grafanaresource.ManagedGrafanaUpdateParameters{
	// ...
}


read, err := client.GrafanaUpdate(ctx, id, payload)
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 PossibleValuesForApiKey

func PossibleValuesForApiKey() []string

func PossibleValuesForAutoGeneratedDomainNameLabelScope

func PossibleValuesForAutoGeneratedDomainNameLabelScope() []string

func PossibleValuesForAvailablePromotion

func PossibleValuesForAvailablePromotion() []string

func PossibleValuesForDeterministicOutboundIP

func PossibleValuesForDeterministicOutboundIP() []string

func PossibleValuesForMarketplaceAutoRenew

func PossibleValuesForMarketplaceAutoRenew() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForPrivateEndpointServiceConnectionStatus

func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func PossibleValuesForStartTLSPolicy

func PossibleValuesForStartTLSPolicy() []string

func PossibleValuesForZoneRedundancy

func PossibleValuesForZoneRedundancy() []string

func ValidateGrafanaID

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

ValidateGrafanaID checks that 'input' can be parsed as a Grafana ID

Types

type ApiKey

type ApiKey string
const (
	ApiKeyDisabled ApiKey = "Disabled"
	ApiKeyEnabled  ApiKey = "Enabled"
)

func (*ApiKey) UnmarshalJSON

func (s *ApiKey) UnmarshalJSON(bytes []byte) error

type AutoGeneratedDomainNameLabelScope

type AutoGeneratedDomainNameLabelScope string
const (
	AutoGeneratedDomainNameLabelScopeTenantReuse AutoGeneratedDomainNameLabelScope = "TenantReuse"
)

func (*AutoGeneratedDomainNameLabelScope) UnmarshalJSON

func (s *AutoGeneratedDomainNameLabelScope) UnmarshalJSON(bytes []byte) error

type AvailablePromotion

type AvailablePromotion string
const (
	AvailablePromotionFreeTrial AvailablePromotion = "FreeTrial"
	AvailablePromotionNone      AvailablePromotion = "None"
)

func (*AvailablePromotion) UnmarshalJSON

func (s *AvailablePromotion) UnmarshalJSON(bytes []byte) error

type AzureMonitorWorkspaceIntegration

type AzureMonitorWorkspaceIntegration struct {
	AzureMonitorWorkspaceResourceId *string `json:"azureMonitorWorkspaceResourceId,omitempty"`
}

type DeterministicOutboundIP

type DeterministicOutboundIP string
const (
	DeterministicOutboundIPDisabled DeterministicOutboundIP = "Disabled"
	DeterministicOutboundIPEnabled  DeterministicOutboundIP = "Enabled"
)

func (*DeterministicOutboundIP) UnmarshalJSON

func (s *DeterministicOutboundIP) UnmarshalJSON(bytes []byte) error

type EnterpriseConfigurations

type EnterpriseConfigurations struct {
	MarketplaceAutoRenew *MarketplaceAutoRenew `json:"marketplaceAutoRenew,omitempty"`
	MarketplacePlanId    *string               `json:"marketplacePlanId,omitempty"`
}

type EnterpriseDetails

type EnterpriseDetails struct {
	MarketplaceTrialQuota   *MarketplaceTrialQuota   `json:"marketplaceTrialQuota,omitempty"`
	SaasSubscriptionDetails *SaasSubscriptionDetails `json:"saasSubscriptionDetails,omitempty"`
}

type GrafanaCheckEnterpriseDetailsOperationResponse

type GrafanaCheckEnterpriseDetailsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *EnterpriseDetails
}

type GrafanaConfigurations

type GrafanaConfigurations struct {
	Smtp *Smtp `json:"smtp,omitempty"`
}

type GrafanaCreateOperationResponse

type GrafanaCreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedGrafana
}

type GrafanaDeleteOperationResponse

type GrafanaDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type GrafanaGetOperationResponse

type GrafanaGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedGrafana
}

type GrafanaId

type GrafanaId struct {
	SubscriptionId    string
	ResourceGroupName string
	GrafanaName       string
}

GrafanaId is a struct representing the Resource ID for a Grafana

func NewGrafanaID

func NewGrafanaID(subscriptionId string, resourceGroupName string, grafanaName string) GrafanaId

NewGrafanaID returns a new GrafanaId struct

func ParseGrafanaID

func ParseGrafanaID(input string) (*GrafanaId, error)

ParseGrafanaID parses 'input' into a GrafanaId

func ParseGrafanaIDInsensitively

func ParseGrafanaIDInsensitively(input string) (*GrafanaId, error)

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

func (*GrafanaId) FromParseResult

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

func (GrafanaId) ID

func (id GrafanaId) ID() string

ID returns the formatted Grafana ID

func (GrafanaId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Grafana ID

func (GrafanaId) String

func (id GrafanaId) String() string

String returns a human-readable description of this Grafana ID

type GrafanaIntegrations

type GrafanaIntegrations struct {
	AzureMonitorWorkspaceIntegrations *[]AzureMonitorWorkspaceIntegration `json:"azureMonitorWorkspaceIntegrations,omitempty"`
}

type GrafanaListByResourceGroupCompleteResult

type GrafanaListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ManagedGrafana
}

type GrafanaListByResourceGroupOperationResponse

type GrafanaListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ManagedGrafana
}

type GrafanaListCompleteResult

type GrafanaListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ManagedGrafana
}

type GrafanaListOperationResponse

type GrafanaListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ManagedGrafana
}

type GrafanaPlugin

type GrafanaPlugin struct {
	PluginId *string `json:"pluginId,omitempty"`
}

type GrafanaResourceClient

type GrafanaResourceClient struct {
	Client *resourcemanager.Client
}

func NewGrafanaResourceClientWithBaseURI

func NewGrafanaResourceClientWithBaseURI(sdkApi sdkEnv.Api) (*GrafanaResourceClient, error)

func (GrafanaResourceClient) GrafanaCheckEnterpriseDetails

func (c GrafanaResourceClient) GrafanaCheckEnterpriseDetails(ctx context.Context, id GrafanaId) (result GrafanaCheckEnterpriseDetailsOperationResponse, err error)

GrafanaCheckEnterpriseDetails ...

func (GrafanaResourceClient) GrafanaCreate

GrafanaCreate ...

func (GrafanaResourceClient) GrafanaCreateThenPoll

func (c GrafanaResourceClient) GrafanaCreateThenPoll(ctx context.Context, id GrafanaId, input ManagedGrafana) error

GrafanaCreateThenPoll performs GrafanaCreate then polls until it's completed

func (GrafanaResourceClient) GrafanaDelete

func (c GrafanaResourceClient) GrafanaDelete(ctx context.Context, id GrafanaId) (result GrafanaDeleteOperationResponse, err error)

GrafanaDelete ...

func (GrafanaResourceClient) GrafanaDeleteThenPoll

func (c GrafanaResourceClient) GrafanaDeleteThenPoll(ctx context.Context, id GrafanaId) error

GrafanaDeleteThenPoll performs GrafanaDelete then polls until it's completed

func (GrafanaResourceClient) GrafanaGet

GrafanaGet ...

func (GrafanaResourceClient) GrafanaList

GrafanaList ...

func (GrafanaResourceClient) GrafanaListByResourceGroup

GrafanaListByResourceGroup ...

func (GrafanaResourceClient) GrafanaListByResourceGroupComplete

GrafanaListByResourceGroupComplete retrieves all the results into a single object

func (GrafanaResourceClient) GrafanaListByResourceGroupCompleteMatchingPredicate

func (c GrafanaResourceClient) GrafanaListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ManagedGrafanaOperationPredicate) (result GrafanaListByResourceGroupCompleteResult, err error)

GrafanaListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (GrafanaResourceClient) GrafanaListComplete

GrafanaListComplete retrieves all the results into a single object

func (GrafanaResourceClient) GrafanaListCompleteMatchingPredicate

func (c GrafanaResourceClient) GrafanaListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ManagedGrafanaOperationPredicate) (result GrafanaListCompleteResult, err error)

GrafanaListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (GrafanaResourceClient) GrafanaUpdate

GrafanaUpdate ...

type GrafanaUpdateOperationResponse

type GrafanaUpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagedGrafana
}

type ManagedGrafana

type ManagedGrafana struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                                  `json:"location,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties *ManagedGrafanaProperties                `json:"properties,omitempty"`
	Sku        *ResourceSku                             `json:"sku,omitempty"`
	SystemData *systemdata.SystemData                   `json:"systemData,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

type ManagedGrafanaOperationPredicate

type ManagedGrafanaOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ManagedGrafanaOperationPredicate) Matches

type ManagedGrafanaProperties

type ManagedGrafanaProperties struct {
	ApiKey                            *ApiKey                            `json:"apiKey,omitempty"`
	AutoGeneratedDomainNameLabelScope *AutoGeneratedDomainNameLabelScope `json:"autoGeneratedDomainNameLabelScope,omitempty"`
	DeterministicOutboundIP           *DeterministicOutboundIP           `json:"deterministicOutboundIP,omitempty"`
	Endpoint                          *string                            `json:"endpoint,omitempty"`
	EnterpriseConfigurations          *EnterpriseConfigurations          `json:"enterpriseConfigurations,omitempty"`
	GrafanaConfigurations             *GrafanaConfigurations             `json:"grafanaConfigurations,omitempty"`
	GrafanaIntegrations               *GrafanaIntegrations               `json:"grafanaIntegrations,omitempty"`
	GrafanaMajorVersion               *string                            `json:"grafanaMajorVersion,omitempty"`
	GrafanaPlugins                    *map[string]GrafanaPlugin          `json:"grafanaPlugins,omitempty"`
	GrafanaVersion                    *string                            `json:"grafanaVersion,omitempty"`
	OutboundIPs                       *[]string                          `json:"outboundIPs,omitempty"`
	PrivateEndpointConnections        *[]PrivateEndpointConnection       `json:"privateEndpointConnections,omitempty"`
	ProvisioningState                 *ProvisioningState                 `json:"provisioningState,omitempty"`
	PublicNetworkAccess               *PublicNetworkAccess               `json:"publicNetworkAccess,omitempty"`
	ZoneRedundancy                    *ZoneRedundancy                    `json:"zoneRedundancy,omitempty"`
}

type ManagedGrafanaPropertiesUpdateParameters

type ManagedGrafanaPropertiesUpdateParameters struct {
	ApiKey                   *ApiKey                   `json:"apiKey,omitempty"`
	DeterministicOutboundIP  *DeterministicOutboundIP  `json:"deterministicOutboundIP,omitempty"`
	EnterpriseConfigurations *EnterpriseConfigurations `json:"enterpriseConfigurations,omitempty"`
	GrafanaConfigurations    *GrafanaConfigurations    `json:"grafanaConfigurations,omitempty"`
	GrafanaIntegrations      *GrafanaIntegrations      `json:"grafanaIntegrations,omitempty"`
	GrafanaMajorVersion      *string                   `json:"grafanaMajorVersion,omitempty"`
	GrafanaPlugins           *map[string]GrafanaPlugin `json:"grafanaPlugins,omitempty"`
	PublicNetworkAccess      *PublicNetworkAccess      `json:"publicNetworkAccess,omitempty"`
	ZoneRedundancy           *ZoneRedundancy           `json:"zoneRedundancy,omitempty"`
}

type ManagedGrafanaUpdateParameters

type ManagedGrafanaUpdateParameters struct {
	Identity   *identity.LegacySystemAndUserAssignedMap  `json:"identity,omitempty"`
	Properties *ManagedGrafanaPropertiesUpdateParameters `json:"properties,omitempty"`
	Sku        *ResourceSku                              `json:"sku,omitempty"`
	Tags       *map[string]string                        `json:"tags,omitempty"`
}

type MarketplaceAutoRenew

type MarketplaceAutoRenew string
const (
	MarketplaceAutoRenewDisabled MarketplaceAutoRenew = "Disabled"
	MarketplaceAutoRenewEnabled  MarketplaceAutoRenew = "Enabled"
)

func (*MarketplaceAutoRenew) UnmarshalJSON

func (s *MarketplaceAutoRenew) UnmarshalJSON(bytes []byte) error

type MarketplaceTrialQuota

type MarketplaceTrialQuota struct {
	AvailablePromotion *AvailablePromotion `json:"availablePromotion,omitempty"`
	GrafanaResourceId  *string             `json:"grafanaResourceId,omitempty"`
	TrialEndAt         *string             `json:"trialEndAt,omitempty"`
	TrialStartAt       *string             `json:"trialStartAt,omitempty"`
}

func (*MarketplaceTrialQuota) GetTrialEndAtAsTime

func (o *MarketplaceTrialQuota) GetTrialEndAtAsTime() (*time.Time, error)

func (*MarketplaceTrialQuota) GetTrialStartAtAsTime

func (o *MarketplaceTrialQuota) GetTrialStartAtAsTime() (*time.Time, error)

func (*MarketplaceTrialQuota) SetTrialEndAtAsTime

func (o *MarketplaceTrialQuota) SetTrialEndAtAsTime(input time.Time)

func (*MarketplaceTrialQuota) SetTrialStartAtAsTime

func (o *MarketplaceTrialQuota) SetTrialStartAtAsTime(input time.Time)

type PrivateEndpoint

type PrivateEndpoint struct {
	Id *string `json:"id,omitempty"`
}

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData               `json:"systemData,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	GroupIds                          *[]string                                   `json:"groupIds,omitempty"`
	PrivateEndpoint                   *PrivateEndpoint                            `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState           `json:"privateLinkServiceConnectionState"`
	ProvisioningState                 *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string
const (
	PrivateEndpointConnectionProvisioningStateCreating  PrivateEndpointConnectionProvisioningState = "Creating"
	PrivateEndpointConnectionProvisioningStateDeleting  PrivateEndpointConnectionProvisioningState = "Deleting"
	PrivateEndpointConnectionProvisioningStateFailed    PrivateEndpointConnectionProvisioningState = "Failed"
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON

func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string
const (
	PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
	PrivateEndpointServiceConnectionStatusPending  PrivateEndpointServiceConnectionStatus = "Pending"
	PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

func (*PrivateEndpointServiceConnectionStatus) UnmarshalJSON

func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	ActionsRequired *string                                 `json:"actionsRequired,omitempty"`
	Description     *string                                 `json:"description,omitempty"`
	Status          *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted     ProvisioningState = "Accepted"
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	ProvisioningStateCreating     ProvisioningState = "Creating"
	ProvisioningStateDeleted      ProvisioningState = "Deleted"
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateNotSpecified ProvisioningState = "NotSpecified"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
	ProvisioningStateUpdating     ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type PublicNetworkAccess

type PublicNetworkAccess string
const (
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
)

func (*PublicNetworkAccess) UnmarshalJSON

func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error

type ResourceSku

type ResourceSku struct {
	Name string `json:"name"`
}

type SaasSubscriptionDetails

type SaasSubscriptionDetails struct {
	OfferId     *string           `json:"offerId,omitempty"`
	PlanId      *string           `json:"planId,omitempty"`
	PublisherId *string           `json:"publisherId,omitempty"`
	Term        *SubscriptionTerm `json:"term,omitempty"`
}

type Smtp

type Smtp struct {
	Enabled        *bool           `json:"enabled,omitempty"`
	FromAddress    *string         `json:"fromAddress,omitempty"`
	FromName       *string         `json:"fromName,omitempty"`
	Host           *string         `json:"host,omitempty"`
	Password       *string         `json:"password,omitempty"`
	SkipVerify     *bool           `json:"skipVerify,omitempty"`
	StartTLSPolicy *StartTLSPolicy `json:"startTLSPolicy,omitempty"`
	User           *string         `json:"user,omitempty"`
}

type StartTLSPolicy

type StartTLSPolicy string
const (
	StartTLSPolicyMandatoryStartTLS     StartTLSPolicy = "MandatoryStartTLS"
	StartTLSPolicyNoStartTLS            StartTLSPolicy = "NoStartTLS"
	StartTLSPolicyOpportunisticStartTLS StartTLSPolicy = "OpportunisticStartTLS"
)

func (*StartTLSPolicy) UnmarshalJSON

func (s *StartTLSPolicy) UnmarshalJSON(bytes []byte) error

type SubscriptionTerm

type SubscriptionTerm struct {
	EndDate   *string `json:"endDate,omitempty"`
	StartDate *string `json:"startDate,omitempty"`
	TermUnit  *string `json:"termUnit,omitempty"`
}

func (*SubscriptionTerm) GetEndDateAsTime

func (o *SubscriptionTerm) GetEndDateAsTime() (*time.Time, error)

func (*SubscriptionTerm) GetStartDateAsTime

func (o *SubscriptionTerm) GetStartDateAsTime() (*time.Time, error)

func (*SubscriptionTerm) SetEndDateAsTime

func (o *SubscriptionTerm) SetEndDateAsTime(input time.Time)

func (*SubscriptionTerm) SetStartDateAsTime

func (o *SubscriptionTerm) SetStartDateAsTime(input time.Time)

type ZoneRedundancy

type ZoneRedundancy string
const (
	ZoneRedundancyDisabled ZoneRedundancy = "Disabled"
	ZoneRedundancyEnabled  ZoneRedundancy = "Enabled"
)

func (*ZoneRedundancy) UnmarshalJSON

func (s *ZoneRedundancy) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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