fluidrelaycontainers

package
v0.20231002.1065327 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MPL-2.0 Imports: 13 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/fluidrelay/2022-06-01/fluidrelaycontainers Documentation

The fluidrelaycontainers SDK allows for interaction with the Azure Resource Manager Service fluidrelay (API Version 2022-06-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/fluidrelay/2022-06-01/fluidrelaycontainers"

Client Initialization

client := fluidrelaycontainers.NewFluidRelayContainersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: FluidRelayContainersClient.Delete

ctx := context.TODO()
id := fluidrelaycontainers.NewFluidRelayContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "fluidRelayServerValue", "fluidRelayContainerValue")

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

Example Usage: FluidRelayContainersClient.Get

ctx := context.TODO()
id := fluidrelaycontainers.NewFluidRelayContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "fluidRelayServerValue", "fluidRelayContainerValue")

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
}

Example Usage: FluidRelayContainersClient.ListByFluidRelayServers

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

// alternatively `client.ListByFluidRelayServers(ctx, id)` can be used to do batched pagination
items, err := client.ListByFluidRelayServersComplete(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

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func ValidateFluidRelayContainerID

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

ValidateFluidRelayContainerID checks that 'input' can be parsed as a Fluid Relay Container ID

func ValidateFluidRelayServerID

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

ValidateFluidRelayServerID checks that 'input' can be parsed as a Fluid Relay Server ID

Types

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type FluidRelayContainer

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

type FluidRelayContainerId

type FluidRelayContainerId struct {
	SubscriptionId          string
	ResourceGroup           string
	FluidRelayServerName    string
	FluidRelayContainerName string
}

FluidRelayContainerId is a struct representing the Resource ID for a Fluid Relay Container

func NewFluidRelayContainerID

func NewFluidRelayContainerID(subscriptionId string, resourceGroup string, fluidRelayServerName string, fluidRelayContainerName string) FluidRelayContainerId

NewFluidRelayContainerID returns a new FluidRelayContainerId struct

func ParseFluidRelayContainerID

func ParseFluidRelayContainerID(input string) (*FluidRelayContainerId, error)

ParseFluidRelayContainerID parses 'input' into a FluidRelayContainerId

func ParseFluidRelayContainerIDInsensitively

func ParseFluidRelayContainerIDInsensitively(input string) (*FluidRelayContainerId, error)

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

func (FluidRelayContainerId) ID

func (id FluidRelayContainerId) ID() string

ID returns the formatted Fluid Relay Container ID

func (FluidRelayContainerId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Fluid Relay Container ID

func (FluidRelayContainerId) String

func (id FluidRelayContainerId) String() string

String returns a human-readable description of this Fluid Relay Container ID

type FluidRelayContainerOperationPredicate

type FluidRelayContainerOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (FluidRelayContainerOperationPredicate) Matches

type FluidRelayContainerProperties

type FluidRelayContainerProperties struct {
	CreationTime      *string            `json:"creationTime,omitempty"`
	FrsContainerId    *string            `json:"frsContainerId,omitempty"`
	FrsTenantId       *string            `json:"frsTenantId,omitempty"`
	LastAccessTime    *string            `json:"lastAccessTime,omitempty"`
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
}

func (*FluidRelayContainerProperties) GetCreationTimeAsTime

func (o *FluidRelayContainerProperties) GetCreationTimeAsTime() (*time.Time, error)

func (*FluidRelayContainerProperties) GetLastAccessTimeAsTime

func (o *FluidRelayContainerProperties) GetLastAccessTimeAsTime() (*time.Time, error)

func (*FluidRelayContainerProperties) SetCreationTimeAsTime

func (o *FluidRelayContainerProperties) SetCreationTimeAsTime(input time.Time)

func (*FluidRelayContainerProperties) SetLastAccessTimeAsTime

func (o *FluidRelayContainerProperties) SetLastAccessTimeAsTime(input time.Time)

type FluidRelayContainersClient

type FluidRelayContainersClient struct {
	Client *resourcemanager.Client
}

func NewFluidRelayContainersClientWithBaseURI

func NewFluidRelayContainersClientWithBaseURI(sdkApi sdkEnv.Api) (*FluidRelayContainersClient, error)

func (FluidRelayContainersClient) Delete

Delete ...

func (FluidRelayContainersClient) Get

Get ...

func (FluidRelayContainersClient) ListByFluidRelayServers

ListByFluidRelayServers ...

func (FluidRelayContainersClient) ListByFluidRelayServersComplete

ListByFluidRelayServersComplete retrieves all the results into a single object

func (FluidRelayContainersClient) ListByFluidRelayServersCompleteMatchingPredicate

func (c FluidRelayContainersClient) ListByFluidRelayServersCompleteMatchingPredicate(ctx context.Context, id FluidRelayServerId, predicate FluidRelayContainerOperationPredicate) (result ListByFluidRelayServersCompleteResult, err error)

ListByFluidRelayServersCompleteMatchingPredicate retrieves all the results and then applies the predicate

type FluidRelayServerId

type FluidRelayServerId struct {
	SubscriptionId       string
	ResourceGroup        string
	FluidRelayServerName string
}

FluidRelayServerId is a struct representing the Resource ID for a Fluid Relay Server

func NewFluidRelayServerID

func NewFluidRelayServerID(subscriptionId string, resourceGroup string, fluidRelayServerName string) FluidRelayServerId

NewFluidRelayServerID returns a new FluidRelayServerId struct

func ParseFluidRelayServerID

func ParseFluidRelayServerID(input string) (*FluidRelayServerId, error)

ParseFluidRelayServerID parses 'input' into a FluidRelayServerId

func ParseFluidRelayServerIDInsensitively

func ParseFluidRelayServerIDInsensitively(input string) (*FluidRelayServerId, error)

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

func (FluidRelayServerId) ID

func (id FluidRelayServerId) ID() string

ID returns the formatted Fluid Relay Server ID

func (FluidRelayServerId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Fluid Relay Server ID

func (FluidRelayServerId) String

func (id FluidRelayServerId) String() string

String returns a human-readable description of this Fluid Relay Server ID

type GetOperationResponse

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

type ListByFluidRelayServersCompleteResult

type ListByFluidRelayServersCompleteResult struct {
	Items []FluidRelayContainer
}

type ListByFluidRelayServersOperationResponse

type ListByFluidRelayServersOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FluidRelayContainer
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled  ProvisioningState = "Canceled"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func (*ProvisioningState) UnmarshalJSON added in v0.20230712.1163130

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

Jump to

Keyboard shortcuts

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