Documentation ¶
Index ¶
- func PossibleValuesForAssociationType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateAssociationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTrafficControllerID(input interface{}, key string) (warnings []string, errors []error)
- type Association
- type AssociationId
- type AssociationOperationPredicate
- type AssociationProperties
- type AssociationSubnet
- type AssociationSubnetUpdate
- type AssociationType
- type AssociationUpdate
- type AssociationUpdateProperties
- type AssociationsInterfaceClient
- func (c AssociationsInterfaceClient) CreateOrUpdate(ctx context.Context, id AssociationId, input Association) (result CreateOrUpdateOperationResponse, err error)
- func (c AssociationsInterfaceClient) CreateOrUpdateThenPoll(ctx context.Context, id AssociationId, input Association) error
- func (c AssociationsInterfaceClient) Delete(ctx context.Context, id AssociationId) (result DeleteOperationResponse, err error)
- func (c AssociationsInterfaceClient) DeleteThenPoll(ctx context.Context, id AssociationId) error
- func (c AssociationsInterfaceClient) Get(ctx context.Context, id AssociationId) (result GetOperationResponse, err error)
- func (c AssociationsInterfaceClient) ListByTrafficController(ctx context.Context, id TrafficControllerId) (result ListByTrafficControllerOperationResponse, err error)
- func (c AssociationsInterfaceClient) ListByTrafficControllerComplete(ctx context.Context, id TrafficControllerId) (ListByTrafficControllerCompleteResult, error)
- func (c AssociationsInterfaceClient) ListByTrafficControllerCompleteMatchingPredicate(ctx context.Context, id TrafficControllerId, ...) (result ListByTrafficControllerCompleteResult, err error)
- func (c AssociationsInterfaceClient) Update(ctx context.Context, id AssociationId, input AssociationUpdate) (result UpdateOperationResponse, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByTrafficControllerCompleteResult
- type ListByTrafficControllerCustomPager
- type ListByTrafficControllerOperationResponse
- type ProvisioningState
- type TrafficControllerId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssociationType ¶
func PossibleValuesForAssociationType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateAssociationID ¶
ValidateAssociationID checks that 'input' can be parsed as a Association ID
func ValidateTrafficControllerID ¶
ValidateTrafficControllerID checks that 'input' can be parsed as a Traffic Controller ID
Types ¶
type Association ¶
type Association struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *AssociationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AssociationId ¶
type AssociationId struct { SubscriptionId string ResourceGroupName string TrafficControllerName string AssociationName string }
AssociationId is a struct representing the Resource ID for a Association
func NewAssociationID ¶
func NewAssociationID(subscriptionId string, resourceGroupName string, trafficControllerName string, associationName string) AssociationId
NewAssociationID returns a new AssociationId struct
func ParseAssociationID ¶
func ParseAssociationID(input string) (*AssociationId, error)
ParseAssociationID parses 'input' into a AssociationId
func ParseAssociationIDInsensitively ¶
func ParseAssociationIDInsensitively(input string) (*AssociationId, error)
ParseAssociationIDInsensitively parses 'input' case-insensitively into a AssociationId note: this method should only be used for API response data and not user input
func (*AssociationId) FromParseResult ¶
func (id *AssociationId) FromParseResult(input resourceids.ParseResult) error
func (AssociationId) ID ¶
func (id AssociationId) ID() string
ID returns the formatted Association ID
func (AssociationId) Segments ¶
func (id AssociationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Association ID
func (AssociationId) String ¶
func (id AssociationId) String() string
String returns a human-readable description of this Association ID
type AssociationOperationPredicate ¶
func (AssociationOperationPredicate) Matches ¶
func (p AssociationOperationPredicate) Matches(input Association) bool
type AssociationProperties ¶
type AssociationProperties struct { AssociationType AssociationType `json:"associationType"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Subnet *AssociationSubnet `json:"subnet,omitempty"` }
type AssociationSubnet ¶
type AssociationSubnet struct {
Id string `json:"id"`
}
type AssociationSubnetUpdate ¶
type AssociationSubnetUpdate struct {
Id *string `json:"id,omitempty"`
}
type AssociationType ¶
type AssociationType string
const (
AssociationTypeSubnets AssociationType = "subnets"
)
func (*AssociationType) UnmarshalJSON ¶
func (s *AssociationType) UnmarshalJSON(bytes []byte) error
type AssociationUpdate ¶
type AssociationUpdate struct { Properties *AssociationUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AssociationUpdateProperties ¶
type AssociationUpdateProperties struct { AssociationType *AssociationType `json:"associationType,omitempty"` Subnet *AssociationSubnetUpdate `json:"subnet,omitempty"` }
type AssociationsInterfaceClient ¶
type AssociationsInterfaceClient struct {
Client *resourcemanager.Client
}
func NewAssociationsInterfaceClientWithBaseURI ¶
func NewAssociationsInterfaceClientWithBaseURI(sdkApi sdkEnv.Api) (*AssociationsInterfaceClient, error)
func (AssociationsInterfaceClient) CreateOrUpdate ¶
func (c AssociationsInterfaceClient) CreateOrUpdate(ctx context.Context, id AssociationId, input Association) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AssociationsInterfaceClient) CreateOrUpdateThenPoll ¶
func (c AssociationsInterfaceClient) CreateOrUpdateThenPoll(ctx context.Context, id AssociationId, input Association) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AssociationsInterfaceClient) Delete ¶
func (c AssociationsInterfaceClient) Delete(ctx context.Context, id AssociationId) (result DeleteOperationResponse, err error)
Delete ...
func (AssociationsInterfaceClient) DeleteThenPoll ¶
func (c AssociationsInterfaceClient) DeleteThenPoll(ctx context.Context, id AssociationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AssociationsInterfaceClient) Get ¶
func (c AssociationsInterfaceClient) Get(ctx context.Context, id AssociationId) (result GetOperationResponse, err error)
Get ...
func (AssociationsInterfaceClient) ListByTrafficController ¶
func (c AssociationsInterfaceClient) ListByTrafficController(ctx context.Context, id TrafficControllerId) (result ListByTrafficControllerOperationResponse, err error)
ListByTrafficController ...
func (AssociationsInterfaceClient) ListByTrafficControllerComplete ¶
func (c AssociationsInterfaceClient) ListByTrafficControllerComplete(ctx context.Context, id TrafficControllerId) (ListByTrafficControllerCompleteResult, error)
ListByTrafficControllerComplete retrieves all the results into a single object
func (AssociationsInterfaceClient) ListByTrafficControllerCompleteMatchingPredicate ¶
func (c AssociationsInterfaceClient) ListByTrafficControllerCompleteMatchingPredicate(ctx context.Context, id TrafficControllerId, predicate AssociationOperationPredicate) (result ListByTrafficControllerCompleteResult, err error)
ListByTrafficControllerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AssociationsInterfaceClient) Update ¶
func (c AssociationsInterfaceClient) Update(ctx context.Context, id AssociationId, input AssociationUpdate) (result UpdateOperationResponse, err error)
Update ...
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Association }
type ListByTrafficControllerCompleteResult ¶
type ListByTrafficControllerCompleteResult struct { LatestHttpResponse *http.Response Items []Association }
type ListByTrafficControllerCustomPager ¶ added in v0.20240628.1153531
func (*ListByTrafficControllerCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByTrafficControllerCustomPager) NextPageLink() *odata.Link
type ListByTrafficControllerOperationResponse ¶
type ListByTrafficControllerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]Association }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type TrafficControllerId ¶
type TrafficControllerId struct { SubscriptionId string ResourceGroupName string TrafficControllerName string }
TrafficControllerId is a struct representing the Resource ID for a Traffic Controller
func NewTrafficControllerID ¶
func NewTrafficControllerID(subscriptionId string, resourceGroupName string, trafficControllerName string) TrafficControllerId
NewTrafficControllerID returns a new TrafficControllerId struct
func ParseTrafficControllerID ¶
func ParseTrafficControllerID(input string) (*TrafficControllerId, error)
ParseTrafficControllerID parses 'input' into a TrafficControllerId
func ParseTrafficControllerIDInsensitively ¶
func ParseTrafficControllerIDInsensitively(input string) (*TrafficControllerId, error)
ParseTrafficControllerIDInsensitively parses 'input' case-insensitively into a TrafficControllerId note: this method should only be used for API response data and not user input
func (*TrafficControllerId) FromParseResult ¶
func (id *TrafficControllerId) FromParseResult(input resourceids.ParseResult) error
func (TrafficControllerId) ID ¶
func (id TrafficControllerId) ID() string
ID returns the formatted Traffic Controller ID
func (TrafficControllerId) Segments ¶
func (id TrafficControllerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Traffic Controller ID
func (TrafficControllerId) String ¶
func (id TrafficControllerId) String() string
String returns a human-readable description of this Traffic Controller ID
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *Association }
Source Files ¶
- client.go
- constants.go
- id_association.go
- id_trafficcontroller.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbytrafficcontroller.go
- method_update.go
- model_association.go
- model_associationproperties.go
- model_associationsubnet.go
- model_associationsubnetupdate.go
- model_associationupdate.go
- model_associationupdateproperties.go
- predicates.go
- version.go