Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForTestLinePurpose() []string
- func ValidateCommunicationsGatewayID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTestLineID(input interface{}, key string) (warnings []string, errors []error)
- type CommunicationsGatewayId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByCommunicationsGatewayCompleteResult
- type ListByCommunicationsGatewayOperationResponse
- type ProvisioningState
- type TestLine
- type TestLineId
- type TestLineOperationPredicate
- type TestLineProperties
- type TestLinePurpose
- type TestLineUpdate
- type TestLinesClient
- func (c TestLinesClient) CreateOrUpdate(ctx context.Context, id TestLineId, input TestLine) (result CreateOrUpdateOperationResponse, err error)
- func (c TestLinesClient) CreateOrUpdateThenPoll(ctx context.Context, id TestLineId, input TestLine) error
- func (c TestLinesClient) Delete(ctx context.Context, id TestLineId) (result DeleteOperationResponse, err error)
- func (c TestLinesClient) DeleteThenPoll(ctx context.Context, id TestLineId) error
- func (c TestLinesClient) Get(ctx context.Context, id TestLineId) (result GetOperationResponse, err error)
- func (c TestLinesClient) ListByCommunicationsGateway(ctx context.Context, id CommunicationsGatewayId) (resp ListByCommunicationsGatewayOperationResponse, err error)
- func (c TestLinesClient) ListByCommunicationsGatewayComplete(ctx context.Context, id CommunicationsGatewayId) (ListByCommunicationsGatewayCompleteResult, error)
- func (c TestLinesClient) ListByCommunicationsGatewayCompleteMatchingPredicate(ctx context.Context, id CommunicationsGatewayId, ...) (resp ListByCommunicationsGatewayCompleteResult, err error)
- func (c TestLinesClient) Update(ctx context.Context, id TestLineId, input TestLineUpdate) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForTestLinePurpose ¶
func PossibleValuesForTestLinePurpose() []string
func ValidateCommunicationsGatewayID ¶
func ValidateCommunicationsGatewayID(input interface{}, key string) (warnings []string, errors []error)
ValidateCommunicationsGatewayID checks that 'input' can be parsed as a Communications Gateway ID
func ValidateTestLineID ¶
ValidateTestLineID checks that 'input' can be parsed as a Test Line ID
Types ¶
type CommunicationsGatewayId ¶
type CommunicationsGatewayId struct { SubscriptionId string ResourceGroupName string CommunicationsGatewayName string }
CommunicationsGatewayId is a struct representing the Resource ID for a Communications Gateway
func NewCommunicationsGatewayID ¶
func NewCommunicationsGatewayID(subscriptionId string, resourceGroupName string, communicationsGatewayName string) CommunicationsGatewayId
NewCommunicationsGatewayID returns a new CommunicationsGatewayId struct
func ParseCommunicationsGatewayID ¶
func ParseCommunicationsGatewayID(input string) (*CommunicationsGatewayId, error)
ParseCommunicationsGatewayID parses 'input' into a CommunicationsGatewayId
func ParseCommunicationsGatewayIDInsensitively ¶
func ParseCommunicationsGatewayIDInsensitively(input string) (*CommunicationsGatewayId, error)
ParseCommunicationsGatewayIDInsensitively parses 'input' case-insensitively into a CommunicationsGatewayId note: this method should only be used for API response data and not user input
func (CommunicationsGatewayId) ID ¶
func (id CommunicationsGatewayId) ID() string
ID returns the formatted Communications Gateway ID
func (CommunicationsGatewayId) Segments ¶
func (id CommunicationsGatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Communications Gateway ID
func (CommunicationsGatewayId) String ¶
func (id CommunicationsGatewayId) String() string
String returns a human-readable description of this Communications Gateway ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type ListByCommunicationsGatewayCompleteResult ¶
type ListByCommunicationsGatewayCompleteResult struct {
Items []TestLine
}
type ListByCommunicationsGatewayOperationResponse ¶
type ListByCommunicationsGatewayOperationResponse struct { HttpResponse *http.Response Model *[]TestLine // contains filtered or unexported fields }
func (ListByCommunicationsGatewayOperationResponse) HasMore ¶
func (r ListByCommunicationsGatewayOperationResponse) HasMore() bool
func (ListByCommunicationsGatewayOperationResponse) LoadMore ¶
func (r ListByCommunicationsGatewayOperationResponse) LoadMore(ctx context.Context) (resp ListByCommunicationsGatewayOperationResponse, err error)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type TestLine ¶
type TestLine struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *TestLineProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type TestLineId ¶
type TestLineId struct { SubscriptionId string ResourceGroupName string CommunicationsGatewayName string TestLineName string }
TestLineId is a struct representing the Resource ID for a Test Line
func NewTestLineID ¶
func NewTestLineID(subscriptionId string, resourceGroupName string, communicationsGatewayName string, testLineName string) TestLineId
NewTestLineID returns a new TestLineId struct
func ParseTestLineID ¶
func ParseTestLineID(input string) (*TestLineId, error)
ParseTestLineID parses 'input' into a TestLineId
func ParseTestLineIDInsensitively ¶
func ParseTestLineIDInsensitively(input string) (*TestLineId, error)
ParseTestLineIDInsensitively parses 'input' case-insensitively into a TestLineId note: this method should only be used for API response data and not user input
func (TestLineId) Segments ¶
func (id TestLineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Test Line ID
func (TestLineId) String ¶
func (id TestLineId) String() string
String returns a human-readable description of this Test Line ID
type TestLineOperationPredicate ¶
func (TestLineOperationPredicate) Matches ¶
func (p TestLineOperationPredicate) Matches(input TestLine) bool
type TestLineProperties ¶
type TestLineProperties struct { PhoneNumber string `json:"phoneNumber"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Purpose TestLinePurpose `json:"purpose"` }
type TestLinePurpose ¶
type TestLinePurpose string
const ( TestLinePurposeAutomated TestLinePurpose = "Automated" TestLinePurposeManual TestLinePurpose = "Manual" )
type TestLineUpdate ¶
type TestLinesClient ¶
func NewTestLinesClientWithBaseURI ¶
func NewTestLinesClientWithBaseURI(endpoint string) TestLinesClient
func (TestLinesClient) CreateOrUpdate ¶
func (c TestLinesClient) CreateOrUpdate(ctx context.Context, id TestLineId, input TestLine) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (TestLinesClient) CreateOrUpdateThenPoll ¶
func (c TestLinesClient) CreateOrUpdateThenPoll(ctx context.Context, id TestLineId, input TestLine) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (TestLinesClient) Delete ¶
func (c TestLinesClient) Delete(ctx context.Context, id TestLineId) (result DeleteOperationResponse, err error)
Delete ...
func (TestLinesClient) DeleteThenPoll ¶
func (c TestLinesClient) DeleteThenPoll(ctx context.Context, id TestLineId) error
DeleteThenPoll performs Delete then polls until it's completed
func (TestLinesClient) Get ¶
func (c TestLinesClient) Get(ctx context.Context, id TestLineId) (result GetOperationResponse, err error)
Get ...
func (TestLinesClient) ListByCommunicationsGateway ¶
func (c TestLinesClient) ListByCommunicationsGateway(ctx context.Context, id CommunicationsGatewayId) (resp ListByCommunicationsGatewayOperationResponse, err error)
ListByCommunicationsGateway ...
func (TestLinesClient) ListByCommunicationsGatewayComplete ¶
func (c TestLinesClient) ListByCommunicationsGatewayComplete(ctx context.Context, id CommunicationsGatewayId) (ListByCommunicationsGatewayCompleteResult, error)
ListByCommunicationsGatewayComplete retrieves all of the results into a single object
func (TestLinesClient) ListByCommunicationsGatewayCompleteMatchingPredicate ¶
func (c TestLinesClient) ListByCommunicationsGatewayCompleteMatchingPredicate(ctx context.Context, id CommunicationsGatewayId, predicate TestLineOperationPredicate) (resp ListByCommunicationsGatewayCompleteResult, err error)
ListByCommunicationsGatewayCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (TestLinesClient) Update ¶
func (c TestLinesClient) Update(ctx context.Context, id TestLineId, input TestLineUpdate) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_communicationsgateway.go
- id_testline.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbycommunicationsgateway_autorest.go
- method_update_autorest.go
- model_testline.go
- model_testlineproperties.go
- model_testlineupdate.go
- predicates.go
- version.go