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 ListByCommunicationsGatewayCustomPager
- 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) (result ListByCommunicationsGatewayOperationResponse, err error)
- func (c TestLinesClient) ListByCommunicationsGatewayComplete(ctx context.Context, id CommunicationsGatewayId) (ListByCommunicationsGatewayCompleteResult, error)
- func (c TestLinesClient) ListByCommunicationsGatewayCompleteMatchingPredicate(ctx context.Context, id CommunicationsGatewayId, ...) (result 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) FromParseResult ¶
func (id *CommunicationsGatewayId) FromParseResult(input resourceids.ParseResult) error
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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByCommunicationsGatewayCustomPager ¶ added in v0.20240628.1153531
func (*ListByCommunicationsGatewayCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByCommunicationsGatewayCustomPager) NextPageLink() *odata.Link
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
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) FromParseResult ¶
func (id *TestLineId) FromParseResult(input resourceids.ParseResult) error
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" )
func (*TestLinePurpose) UnmarshalJSON ¶
func (s *TestLinePurpose) UnmarshalJSON(bytes []byte) error
type TestLineUpdate ¶
type TestLinesClient ¶
type TestLinesClient struct {
Client *resourcemanager.Client
}
func NewTestLinesClientWithBaseURI ¶
func NewTestLinesClientWithBaseURI(sdkApi sdkEnv.Api) (*TestLinesClient, error)
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) (result ListByCommunicationsGatewayOperationResponse, err error)
ListByCommunicationsGateway ...
func (TestLinesClient) ListByCommunicationsGatewayComplete ¶
func (c TestLinesClient) ListByCommunicationsGatewayComplete(ctx context.Context, id CommunicationsGatewayId) (ListByCommunicationsGatewayCompleteResult, error)
ListByCommunicationsGatewayComplete retrieves all the results into a single object
func (TestLinesClient) ListByCommunicationsGatewayCompleteMatchingPredicate ¶
func (c TestLinesClient) ListByCommunicationsGatewayCompleteMatchingPredicate(ctx context.Context, id CommunicationsGatewayId, predicate TestLineOperationPredicate) (result ListByCommunicationsGatewayCompleteResult, err error)
ListByCommunicationsGatewayCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TestLinesClient) Update ¶
func (c TestLinesClient) Update(ctx context.Context, id TestLineId, input TestLineUpdate) (result UpdateOperationResponse, err error)
Update ...