Documentation ¶
Index ¶
- func PossibleValuesForExpressRoutePortAuthorizationUseStatus() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateAuthorizationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateExpressRoutePortID(input interface{}, key string) (warnings []string, errors []error)
- type AuthorizationId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExpressRoutePortAuthorization
- type ExpressRoutePortAuthorizationOperationPredicate
- type ExpressRoutePortAuthorizationPropertiesFormat
- type ExpressRoutePortAuthorizationUseStatus
- type ExpressRoutePortAuthorizationsClient
- func (c ExpressRoutePortAuthorizationsClient) CreateOrUpdate(ctx context.Context, id AuthorizationId, input ExpressRoutePortAuthorization) (result CreateOrUpdateOperationResponse, err error)
- func (c ExpressRoutePortAuthorizationsClient) CreateOrUpdateThenPoll(ctx context.Context, id AuthorizationId, input ExpressRoutePortAuthorization) error
- func (c ExpressRoutePortAuthorizationsClient) Delete(ctx context.Context, id AuthorizationId) (result DeleteOperationResponse, err error)
- func (c ExpressRoutePortAuthorizationsClient) DeleteThenPoll(ctx context.Context, id AuthorizationId) error
- func (c ExpressRoutePortAuthorizationsClient) Get(ctx context.Context, id AuthorizationId) (result GetOperationResponse, err error)
- func (c ExpressRoutePortAuthorizationsClient) List(ctx context.Context, id ExpressRoutePortId) (result ListOperationResponse, err error)
- func (c ExpressRoutePortAuthorizationsClient) ListComplete(ctx context.Context, id ExpressRoutePortId) (ListCompleteResult, error)
- func (c ExpressRoutePortAuthorizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id ExpressRoutePortId, ...) (result ListCompleteResult, err error)
- type ExpressRoutePortId
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExpressRoutePortAuthorizationUseStatus ¶
func PossibleValuesForExpressRoutePortAuthorizationUseStatus() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateAuthorizationID ¶
ValidateAuthorizationID checks that 'input' can be parsed as a Authorization ID
func ValidateExpressRoutePortID ¶
ValidateExpressRoutePortID checks that 'input' can be parsed as a Express Route Port 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) 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 DeleteOperationResponse ¶
type ExpressRoutePortAuthorization ¶
type ExpressRoutePortAuthorization struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExpressRoutePortAuthorizationPropertiesFormat `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExpressRoutePortAuthorizationOperationPredicate ¶
type ExpressRoutePortAuthorizationOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (ExpressRoutePortAuthorizationOperationPredicate) Matches ¶
func (p ExpressRoutePortAuthorizationOperationPredicate) Matches(input ExpressRoutePortAuthorization) bool
type ExpressRoutePortAuthorizationPropertiesFormat ¶
type ExpressRoutePortAuthorizationPropertiesFormat struct { AuthorizationKey *string `json:"authorizationKey,omitempty"` AuthorizationUseStatus *ExpressRoutePortAuthorizationUseStatus `json:"authorizationUseStatus,omitempty"` CircuitResourceUri *string `json:"circuitResourceUri,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ExpressRoutePortAuthorizationUseStatus ¶
type ExpressRoutePortAuthorizationUseStatus string
const ( ExpressRoutePortAuthorizationUseStatusAvailable ExpressRoutePortAuthorizationUseStatus = "Available" ExpressRoutePortAuthorizationUseStatusInUse ExpressRoutePortAuthorizationUseStatus = "InUse" )
func (*ExpressRoutePortAuthorizationUseStatus) UnmarshalJSON ¶
func (s *ExpressRoutePortAuthorizationUseStatus) UnmarshalJSON(bytes []byte) error
type ExpressRoutePortAuthorizationsClient ¶
type ExpressRoutePortAuthorizationsClient struct {
Client *resourcemanager.Client
}
func NewExpressRoutePortAuthorizationsClientWithBaseURI ¶
func NewExpressRoutePortAuthorizationsClientWithBaseURI(api environments.Api) (*ExpressRoutePortAuthorizationsClient, error)
func (ExpressRoutePortAuthorizationsClient) CreateOrUpdate ¶
func (c ExpressRoutePortAuthorizationsClient) CreateOrUpdate(ctx context.Context, id AuthorizationId, input ExpressRoutePortAuthorization) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ExpressRoutePortAuthorizationsClient) CreateOrUpdateThenPoll ¶
func (c ExpressRoutePortAuthorizationsClient) CreateOrUpdateThenPoll(ctx context.Context, id AuthorizationId, input ExpressRoutePortAuthorization) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ExpressRoutePortAuthorizationsClient) Delete ¶
func (c ExpressRoutePortAuthorizationsClient) Delete(ctx context.Context, id AuthorizationId) (result DeleteOperationResponse, err error)
Delete ...
func (ExpressRoutePortAuthorizationsClient) DeleteThenPoll ¶
func (c ExpressRoutePortAuthorizationsClient) DeleteThenPoll(ctx context.Context, id AuthorizationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ExpressRoutePortAuthorizationsClient) Get ¶
func (c ExpressRoutePortAuthorizationsClient) Get(ctx context.Context, id AuthorizationId) (result GetOperationResponse, err error)
Get ...
func (ExpressRoutePortAuthorizationsClient) List ¶
func (c ExpressRoutePortAuthorizationsClient) List(ctx context.Context, id ExpressRoutePortId) (result ListOperationResponse, err error)
List ...
func (ExpressRoutePortAuthorizationsClient) ListComplete ¶
func (c ExpressRoutePortAuthorizationsClient) ListComplete(ctx context.Context, id ExpressRoutePortId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ExpressRoutePortAuthorizationsClient) ListCompleteMatchingPredicate ¶
func (c ExpressRoutePortAuthorizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id ExpressRoutePortId, predicate ExpressRoutePortAuthorizationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ExpressRoutePortId ¶
type ExpressRoutePortId struct { SubscriptionId string ResourceGroupName string ExpressRoutePortName string }
ExpressRoutePortId is a struct representing the Resource ID for a Express Route Port
func NewExpressRoutePortID ¶
func NewExpressRoutePortID(subscriptionId string, resourceGroupName string, expressRoutePortName string) ExpressRoutePortId
NewExpressRoutePortID returns a new ExpressRoutePortId struct
func ParseExpressRoutePortID ¶
func ParseExpressRoutePortID(input string) (*ExpressRoutePortId, error)
ParseExpressRoutePortID parses 'input' into a ExpressRoutePortId
func ParseExpressRoutePortIDInsensitively ¶
func ParseExpressRoutePortIDInsensitively(input string) (*ExpressRoutePortId, error)
ParseExpressRoutePortIDInsensitively parses 'input' case-insensitively into a ExpressRoutePortId note: this method should only be used for API response data and not user input
func (ExpressRoutePortId) ID ¶
func (id ExpressRoutePortId) ID() string
ID returns the formatted Express Route Port ID
func (ExpressRoutePortId) Segments ¶
func (id ExpressRoutePortId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Express Route Port ID
func (ExpressRoutePortId) String ¶
func (id ExpressRoutePortId) String() string
String returns a human-readable description of this Express Route Port ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExpressRoutePortAuthorization }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ExpressRoutePortAuthorization
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ExpressRoutePortAuthorization }
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