Documentation ¶
Index ¶
- func PossibleValuesForAuthorizationUseStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateAuthorizationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateExpressRouteCircuitID(input interface{}, key string) (warnings []string, errors []error)
- type AuthorizationId
- type AuthorizationPropertiesFormat
- type AuthorizationUseStatus
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExpressRouteCircuitAuthorization
- type ExpressRouteCircuitAuthorizationOperationPredicate
- type ExpressRouteCircuitAuthorizationsClient
- func (c ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(ctx context.Context, id AuthorizationId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateThenPoll(ctx context.Context, id AuthorizationId, ...) error
- func (c ExpressRouteCircuitAuthorizationsClient) Delete(ctx context.Context, id AuthorizationId) (result DeleteOperationResponse, err error)
- func (c ExpressRouteCircuitAuthorizationsClient) DeleteThenPoll(ctx context.Context, id AuthorizationId) error
- func (c ExpressRouteCircuitAuthorizationsClient) Get(ctx context.Context, id AuthorizationId) (result GetOperationResponse, err error)
- func (c ExpressRouteCircuitAuthorizationsClient) List(ctx context.Context, id ExpressRouteCircuitId) (result ListOperationResponse, err error)
- func (c ExpressRouteCircuitAuthorizationsClient) ListComplete(ctx context.Context, id ExpressRouteCircuitId) (ListCompleteResult, error)
- func (c ExpressRouteCircuitAuthorizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id ExpressRouteCircuitId, ...) (result ListCompleteResult, err error)
- type ExpressRouteCircuitId
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAuthorizationUseStatus ¶
func PossibleValuesForAuthorizationUseStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateAuthorizationID ¶
ValidateAuthorizationID checks that 'input' can be parsed as a Authorization ID
func ValidateExpressRouteCircuitID ¶
func ValidateExpressRouteCircuitID(input interface{}, key string) (warnings []string, errors []error)
ValidateExpressRouteCircuitID checks that 'input' can be parsed as a Express Route Circuit ID
Types ¶
type AuthorizationId ¶
type AuthorizationId struct { SubscriptionId string ResourceGroupName string ExpressRouteCircuitName string AuthorizationName string }
AuthorizationId is a struct representing the Resource ID for a Authorization
func NewAuthorizationID ¶
func NewAuthorizationID(subscriptionId string, resourceGroupName string, expressRouteCircuitName string, authorizationName string) AuthorizationId
NewAuthorizationID returns a new AuthorizationId struct
func ParseAuthorizationID ¶
func ParseAuthorizationID(input string) (*AuthorizationId, error)
ParseAuthorizationID parses 'input' into a AuthorizationId
func ParseAuthorizationIDInsensitively ¶
func ParseAuthorizationIDInsensitively(input string) (*AuthorizationId, error)
ParseAuthorizationIDInsensitively parses 'input' case-insensitively into a AuthorizationId note: this method should only be used for API response data and not user input
func (*AuthorizationId) FromParseResult ¶
func (id *AuthorizationId) FromParseResult(input resourceids.ParseResult) error
func (AuthorizationId) ID ¶
func (id AuthorizationId) ID() string
ID returns the formatted Authorization ID
func (AuthorizationId) Segments ¶
func (id AuthorizationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Authorization ID
func (AuthorizationId) String ¶
func (id AuthorizationId) String() string
String returns a human-readable description of this Authorization ID
type AuthorizationPropertiesFormat ¶
type AuthorizationPropertiesFormat struct { AuthorizationKey *string `json:"authorizationKey,omitempty"` AuthorizationUseStatus *AuthorizationUseStatus `json:"authorizationUseStatus,omitempty"` ConnectionResourceUri *string `json:"connectionResourceUri,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type AuthorizationUseStatus ¶
type AuthorizationUseStatus string
const ( AuthorizationUseStatusAvailable AuthorizationUseStatus = "Available" AuthorizationUseStatusInUse AuthorizationUseStatus = "InUse" )
func (*AuthorizationUseStatus) UnmarshalJSON ¶
func (s *AuthorizationUseStatus) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type ExpressRouteCircuitAuthorization ¶
type ExpressRouteCircuitAuthorization struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AuthorizationPropertiesFormat `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExpressRouteCircuitAuthorizationOperationPredicate ¶
type ExpressRouteCircuitAuthorizationOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (ExpressRouteCircuitAuthorizationOperationPredicate) Matches ¶
func (p ExpressRouteCircuitAuthorizationOperationPredicate) Matches(input ExpressRouteCircuitAuthorization) bool
type ExpressRouteCircuitAuthorizationsClient ¶
type ExpressRouteCircuitAuthorizationsClient struct {
Client *resourcemanager.Client
}
func NewExpressRouteCircuitAuthorizationsClientWithBaseURI ¶
func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(sdkApi sdkEnv.Api) (*ExpressRouteCircuitAuthorizationsClient, error)
func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate ¶
func (c ExpressRouteCircuitAuthorizationsClient) CreateOrUpdate(ctx context.Context, id AuthorizationId, input ExpressRouteCircuitAuthorization) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateThenPoll ¶
func (c ExpressRouteCircuitAuthorizationsClient) CreateOrUpdateThenPoll(ctx context.Context, id AuthorizationId, input ExpressRouteCircuitAuthorization) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ExpressRouteCircuitAuthorizationsClient) Delete ¶
func (c ExpressRouteCircuitAuthorizationsClient) Delete(ctx context.Context, id AuthorizationId) (result DeleteOperationResponse, err error)
Delete ...
func (ExpressRouteCircuitAuthorizationsClient) DeleteThenPoll ¶
func (c ExpressRouteCircuitAuthorizationsClient) DeleteThenPoll(ctx context.Context, id AuthorizationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ExpressRouteCircuitAuthorizationsClient) Get ¶
func (c ExpressRouteCircuitAuthorizationsClient) Get(ctx context.Context, id AuthorizationId) (result GetOperationResponse, err error)
Get ...
func (ExpressRouteCircuitAuthorizationsClient) List ¶
func (c ExpressRouteCircuitAuthorizationsClient) List(ctx context.Context, id ExpressRouteCircuitId) (result ListOperationResponse, err error)
List ...
func (ExpressRouteCircuitAuthorizationsClient) ListComplete ¶
func (c ExpressRouteCircuitAuthorizationsClient) ListComplete(ctx context.Context, id ExpressRouteCircuitId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ExpressRouteCircuitAuthorizationsClient) ListCompleteMatchingPredicate ¶
func (c ExpressRouteCircuitAuthorizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id ExpressRouteCircuitId, predicate ExpressRouteCircuitAuthorizationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ExpressRouteCircuitId ¶
type ExpressRouteCircuitId struct { SubscriptionId string ResourceGroupName string ExpressRouteCircuitName string }
ExpressRouteCircuitId is a struct representing the Resource ID for a Express Route Circuit
func NewExpressRouteCircuitID ¶
func NewExpressRouteCircuitID(subscriptionId string, resourceGroupName string, expressRouteCircuitName string) ExpressRouteCircuitId
NewExpressRouteCircuitID returns a new ExpressRouteCircuitId struct
func ParseExpressRouteCircuitID ¶
func ParseExpressRouteCircuitID(input string) (*ExpressRouteCircuitId, error)
ParseExpressRouteCircuitID parses 'input' into a ExpressRouteCircuitId
func ParseExpressRouteCircuitIDInsensitively ¶
func ParseExpressRouteCircuitIDInsensitively(input string) (*ExpressRouteCircuitId, error)
ParseExpressRouteCircuitIDInsensitively parses 'input' case-insensitively into a ExpressRouteCircuitId note: this method should only be used for API response data and not user input
func (*ExpressRouteCircuitId) FromParseResult ¶
func (id *ExpressRouteCircuitId) FromParseResult(input resourceids.ParseResult) error
func (ExpressRouteCircuitId) ID ¶
func (id ExpressRouteCircuitId) ID() string
ID returns the formatted Express Route Circuit ID
func (ExpressRouteCircuitId) Segments ¶
func (id ExpressRouteCircuitId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Express Route Circuit ID
func (ExpressRouteCircuitId) String ¶
func (id ExpressRouteCircuitId) String() string
String returns a human-readable description of this Express Route Circuit ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExpressRouteCircuitAuthorization }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ExpressRouteCircuitAuthorization }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ExpressRouteCircuitAuthorization }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error