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 ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateFluidRelayContainerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateFluidRelayServerID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteOperationResponse
- type FluidRelayContainer
- type FluidRelayContainerId
- type FluidRelayContainerOperationPredicate
- type FluidRelayContainerProperties
- func (o *FluidRelayContainerProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *FluidRelayContainerProperties) GetLastAccessTimeAsTime() (*time.Time, error)
- func (o *FluidRelayContainerProperties) SetCreationTimeAsTime(input time.Time)
- func (o *FluidRelayContainerProperties) SetLastAccessTimeAsTime(input time.Time)
- type FluidRelayContainersClient
- func (c FluidRelayContainersClient) Delete(ctx context.Context, id FluidRelayContainerId) (result DeleteOperationResponse, err error)
- func (c FluidRelayContainersClient) Get(ctx context.Context, id FluidRelayContainerId) (result GetOperationResponse, err error)
- func (c FluidRelayContainersClient) ListByFluidRelayServers(ctx context.Context, id FluidRelayServerId) (result ListByFluidRelayServersOperationResponse, err error)
- func (c FluidRelayContainersClient) ListByFluidRelayServersComplete(ctx context.Context, id FluidRelayServerId) (ListByFluidRelayServersCompleteResult, error)
- func (c FluidRelayContainersClient) ListByFluidRelayServersCompleteMatchingPredicate(ctx context.Context, id FluidRelayServerId, ...) (result ListByFluidRelayServersCompleteResult, err error)
- type FluidRelayServerId
- type GetOperationResponse
- type ListByFluidRelayServersCompleteResult
- type ListByFluidRelayServersCustomPager
- type ListByFluidRelayServersOperationResponse
- type ProvisioningState
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 ¶
ValidateFluidRelayServerID checks that 'input' can be parsed as a Fluid Relay Server ID
Types ¶
type DeleteOperationResponse ¶
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) FromParseResult ¶
func (id *FluidRelayContainerId) FromParseResult(input resourceids.ParseResult) error
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 ¶
func (FluidRelayContainerOperationPredicate) Matches ¶
func (p FluidRelayContainerOperationPredicate) Matches(input FluidRelayContainer) bool
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 ¶
func (c FluidRelayContainersClient) Delete(ctx context.Context, id FluidRelayContainerId) (result DeleteOperationResponse, err error)
Delete ...
func (FluidRelayContainersClient) Get ¶
func (c FluidRelayContainersClient) Get(ctx context.Context, id FluidRelayContainerId) (result GetOperationResponse, err error)
Get ...
func (FluidRelayContainersClient) ListByFluidRelayServers ¶
func (c FluidRelayContainersClient) ListByFluidRelayServers(ctx context.Context, id FluidRelayServerId) (result ListByFluidRelayServersOperationResponse, err error)
ListByFluidRelayServers ...
func (FluidRelayContainersClient) ListByFluidRelayServersComplete ¶
func (c FluidRelayContainersClient) ListByFluidRelayServersComplete(ctx context.Context, id FluidRelayServerId) (ListByFluidRelayServersCompleteResult, error)
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) FromParseResult ¶
func (id *FluidRelayServerId) FromParseResult(input resourceids.ParseResult) error
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 { LatestHttpResponse *http.Response Items []FluidRelayContainer }
type ListByFluidRelayServersCustomPager ¶ added in v0.20240628.1153531
func (*ListByFluidRelayServersCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByFluidRelayServersCustomPager) NextPageLink() *odata.Link
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 ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error