Documentation ¶
Index ¶
- func PossibleValuesForExpressRouteAuthorizationProvisioningState() []string
- func ValidateAuthorizationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type AuthorizationId
- type AuthorizationsClient
- func (c AuthorizationsClient) CreateOrUpdate(ctx context.Context, id AuthorizationId, input ExpressRouteAuthorization) (result CreateOrUpdateOperationResponse, err error)
- func (c AuthorizationsClient) CreateOrUpdateThenPoll(ctx context.Context, id AuthorizationId, input ExpressRouteAuthorization) error
- func (c AuthorizationsClient) Delete(ctx context.Context, id AuthorizationId) (result DeleteOperationResponse, err error)
- func (c AuthorizationsClient) DeleteThenPoll(ctx context.Context, id AuthorizationId) error
- func (c AuthorizationsClient) Get(ctx context.Context, id AuthorizationId) (result GetOperationResponse, err error)
- func (c AuthorizationsClient) List(ctx context.Context, id PrivateCloudId) (resp ListOperationResponse, err error)
- func (c AuthorizationsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
- func (c AuthorizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, ...) (resp ListCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExpressRouteAuthorization
- type ExpressRouteAuthorizationOperationPredicate
- type ExpressRouteAuthorizationProperties
- type ExpressRouteAuthorizationProvisioningState
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type PrivateCloudId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExpressRouteAuthorizationProvisioningState ¶
func PossibleValuesForExpressRouteAuthorizationProvisioningState() []string
func ValidateAuthorizationID ¶
ValidateAuthorizationID checks that 'input' can be parsed as a Authorization ID
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type AuthorizationId ¶
type AuthorizationId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string AuthorizationName string }
AuthorizationId is a struct representing the Resource ID for a Authorization
func NewAuthorizationID ¶
func NewAuthorizationID(subscriptionId string, resourceGroupName string, privateCloudName 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 AuthorizationsClient ¶
type AuthorizationsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewAuthorizationsClientWithBaseURI ¶
func NewAuthorizationsClientWithBaseURI(endpoint string) AuthorizationsClient
func (AuthorizationsClient) CreateOrUpdate ¶
func (c AuthorizationsClient) CreateOrUpdate(ctx context.Context, id AuthorizationId, input ExpressRouteAuthorization) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AuthorizationsClient) CreateOrUpdateThenPoll ¶
func (c AuthorizationsClient) CreateOrUpdateThenPoll(ctx context.Context, id AuthorizationId, input ExpressRouteAuthorization) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AuthorizationsClient) Delete ¶
func (c AuthorizationsClient) Delete(ctx context.Context, id AuthorizationId) (result DeleteOperationResponse, err error)
Delete ...
func (AuthorizationsClient) DeleteThenPoll ¶
func (c AuthorizationsClient) DeleteThenPoll(ctx context.Context, id AuthorizationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AuthorizationsClient) Get ¶
func (c AuthorizationsClient) Get(ctx context.Context, id AuthorizationId) (result GetOperationResponse, err error)
Get ...
func (AuthorizationsClient) List ¶
func (c AuthorizationsClient) List(ctx context.Context, id PrivateCloudId) (resp ListOperationResponse, err error)
List ...
func (AuthorizationsClient) ListComplete ¶
func (c AuthorizationsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (AuthorizationsClient) ListCompleteMatchingPredicate ¶
func (c AuthorizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate ExpressRouteAuthorizationOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ExpressRouteAuthorization ¶
type ExpressRouteAuthorization struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExpressRouteAuthorizationProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExpressRouteAuthorizationOperationPredicate ¶
func (ExpressRouteAuthorizationOperationPredicate) Matches ¶
func (p ExpressRouteAuthorizationOperationPredicate) Matches(input ExpressRouteAuthorization) bool
type ExpressRouteAuthorizationProperties ¶
type ExpressRouteAuthorizationProperties struct { ExpressRouteAuthorizationId *string `json:"expressRouteAuthorizationId,omitempty"` ExpressRouteAuthorizationKey *string `json:"expressRouteAuthorizationKey,omitempty"` ExpressRouteId *string `json:"expressRouteId,omitempty"` ProvisioningState *ExpressRouteAuthorizationProvisioningState `json:"provisioningState,omitempty"` }
type ExpressRouteAuthorizationProvisioningState ¶
type ExpressRouteAuthorizationProvisioningState string
const ( ExpressRouteAuthorizationProvisioningStateFailed ExpressRouteAuthorizationProvisioningState = "Failed" ExpressRouteAuthorizationProvisioningStateSucceeded ExpressRouteAuthorizationProvisioningState = "Succeeded" ExpressRouteAuthorizationProvisioningStateUpdating ExpressRouteAuthorizationProvisioningState = "Updating" )
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ExpressRouteAuthorization }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ExpressRouteAuthorization
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ExpressRouteAuthorization // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type PrivateCloudId ¶
type PrivateCloudId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string }
PrivateCloudId is a struct representing the Resource ID for a Private Cloud
func NewPrivateCloudID ¶
func NewPrivateCloudID(subscriptionId string, resourceGroupName string, privateCloudName string) PrivateCloudId
NewPrivateCloudID returns a new PrivateCloudId struct
func ParsePrivateCloudID ¶
func ParsePrivateCloudID(input string) (*PrivateCloudId, error)
ParsePrivateCloudID parses 'input' into a PrivateCloudId
func ParsePrivateCloudIDInsensitively ¶
func ParsePrivateCloudIDInsensitively(input string) (*PrivateCloudId, error)
ParsePrivateCloudIDInsensitively parses 'input' case-insensitively into a PrivateCloudId note: this method should only be used for API response data and not user input
func (PrivateCloudId) ID ¶
func (id PrivateCloudId) ID() string
ID returns the formatted Private Cloud ID
func (PrivateCloudId) Segments ¶
func (id PrivateCloudId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Cloud ID
func (PrivateCloudId) String ¶
func (id PrivateCloudId) String() string
String returns a human-readable description of this Private Cloud ID