Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateTrafficControllerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type ResourceId
- type TrafficController
- type TrafficControllerId
- type TrafficControllerInterfaceClient
- func (c TrafficControllerInterfaceClient) CreateOrUpdate(ctx context.Context, id TrafficControllerId, input TrafficController) (result CreateOrUpdateOperationResponse, err error)
- func (c TrafficControllerInterfaceClient) CreateOrUpdateThenPoll(ctx context.Context, id TrafficControllerId, input TrafficController) error
- func (c TrafficControllerInterfaceClient) Delete(ctx context.Context, id TrafficControllerId) (result DeleteOperationResponse, err error)
- func (c TrafficControllerInterfaceClient) DeleteThenPoll(ctx context.Context, id TrafficControllerId) error
- func (c TrafficControllerInterfaceClient) Get(ctx context.Context, id TrafficControllerId) (result GetOperationResponse, err error)
- func (c TrafficControllerInterfaceClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c TrafficControllerInterfaceClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c TrafficControllerInterfaceClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c TrafficControllerInterfaceClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c TrafficControllerInterfaceClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c TrafficControllerInterfaceClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c TrafficControllerInterfaceClient) Update(ctx context.Context, id TrafficControllerId, input TrafficControllerUpdate) (result UpdateOperationResponse, err error)
- type TrafficControllerOperationPredicate
- type TrafficControllerProperties
- type TrafficControllerUpdate
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateTrafficControllerID ¶
ValidateTrafficControllerID checks that 'input' can be parsed as a Traffic Controller ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TrafficController }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []TrafficController }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TrafficController }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []TrafficController }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TrafficController }
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 ResourceId ¶
type ResourceId struct {
Id string `json:"id"`
}
type TrafficController ¶
type TrafficController struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *TrafficControllerProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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 TrafficControllerInterfaceClient ¶
type TrafficControllerInterfaceClient struct {
Client *resourcemanager.Client
}
func NewTrafficControllerInterfaceClientWithBaseURI ¶
func NewTrafficControllerInterfaceClientWithBaseURI(sdkApi sdkEnv.Api) (*TrafficControllerInterfaceClient, error)
func (TrafficControllerInterfaceClient) CreateOrUpdate ¶
func (c TrafficControllerInterfaceClient) CreateOrUpdate(ctx context.Context, id TrafficControllerId, input TrafficController) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TrafficControllerInterfaceClient) CreateOrUpdateThenPoll ¶
func (c TrafficControllerInterfaceClient) CreateOrUpdateThenPoll(ctx context.Context, id TrafficControllerId, input TrafficController) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (TrafficControllerInterfaceClient) Delete ¶
func (c TrafficControllerInterfaceClient) Delete(ctx context.Context, id TrafficControllerId) (result DeleteOperationResponse, err error)
Delete ...
func (TrafficControllerInterfaceClient) DeleteThenPoll ¶
func (c TrafficControllerInterfaceClient) DeleteThenPoll(ctx context.Context, id TrafficControllerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (TrafficControllerInterfaceClient) Get ¶
func (c TrafficControllerInterfaceClient) Get(ctx context.Context, id TrafficControllerId) (result GetOperationResponse, err error)
Get ...
func (TrafficControllerInterfaceClient) ListByResourceGroup ¶
func (c TrafficControllerInterfaceClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (TrafficControllerInterfaceClient) ListByResourceGroupComplete ¶
func (c TrafficControllerInterfaceClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (TrafficControllerInterfaceClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c TrafficControllerInterfaceClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate TrafficControllerOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TrafficControllerInterfaceClient) ListBySubscription ¶
func (c TrafficControllerInterfaceClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (TrafficControllerInterfaceClient) ListBySubscriptionComplete ¶
func (c TrafficControllerInterfaceClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (TrafficControllerInterfaceClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c TrafficControllerInterfaceClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate TrafficControllerOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TrafficControllerInterfaceClient) Update ¶
func (c TrafficControllerInterfaceClient) Update(ctx context.Context, id TrafficControllerId, input TrafficControllerUpdate) (result UpdateOperationResponse, err error)
Update ...
type TrafficControllerOperationPredicate ¶
type TrafficControllerOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (TrafficControllerOperationPredicate) Matches ¶
func (p TrafficControllerOperationPredicate) Matches(input TrafficController) bool
type TrafficControllerProperties ¶
type TrafficControllerProperties struct { Associations *[]ResourceId `json:"associations,omitempty"` ConfigurationEndpoints *[]string `json:"configurationEndpoints,omitempty"` Frontends *[]ResourceId `json:"frontends,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type TrafficControllerUpdate ¶
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TrafficController }
Source Files ¶
- client.go
- constants.go
- id_trafficcontroller.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_resourceid.go
- model_trafficcontroller.go
- model_trafficcontrollerproperties.go
- model_trafficcontrollerupdate.go
- predicates.go
- version.go