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 CreateOrUpdateResponse, err error)
- func (c AuthorizationsClient) CreateOrUpdateThenPoll(ctx context.Context, id AuthorizationId, input ExpressRouteAuthorization) error
- func (c AuthorizationsClient) Delete(ctx context.Context, id AuthorizationId) (result DeleteResponse, err error)
- func (c AuthorizationsClient) DeleteThenPoll(ctx context.Context, id AuthorizationId) error
- func (c AuthorizationsClient) Get(ctx context.Context, id AuthorizationId) (result GetResponse, err error)
- func (c AuthorizationsClient) List(ctx context.Context, id PrivateCloudId) (resp ListResponse, 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 CreateOrUpdateResponse
- type DeleteResponse
- type ExpressRouteAuthorization
- type ExpressRouteAuthorizationPredicate
- type ExpressRouteAuthorizationProperties
- type ExpressRouteAuthorizationProvisioningState
- type GetResponse
- type ListCompleteResult
- type ListResponse
- 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 CreateOrUpdateResponse, 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 DeleteResponse, 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 GetResponse, err error)
Get ...
func (AuthorizationsClient) List ¶
func (c AuthorizationsClient) List(ctx context.Context, id PrivateCloudId) (resp ListResponse, 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 ExpressRouteAuthorizationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type CreateOrUpdateResponse ¶
type CreateOrUpdateResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteResponse ¶
type DeleteResponse 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 ExpressRouteAuthorizationPredicate ¶
func (ExpressRouteAuthorizationPredicate) Matches ¶
func (p ExpressRouteAuthorizationPredicate) Matches(input ExpressRouteAuthorization) bool
type ExpressRouteAuthorizationProperties ¶
type ExpressRouteAuthorizationProperties struct { ExpressRouteAuthorizationId *string `json:"expressRouteAuthorizationId,omitempty"` ExpressRouteAuthorizationKey *string `json:"expressRouteAuthorizationKey,omitempty"` ProvisioningState *ExpressRouteAuthorizationProvisioningState `json:"provisioningState,omitempty"` }
type ExpressRouteAuthorizationProvisioningState ¶
type ExpressRouteAuthorizationProvisioningState string
const ( ExpressRouteAuthorizationProvisioningStateFailed ExpressRouteAuthorizationProvisioningState = "Failed" ExpressRouteAuthorizationProvisioningStateSucceeded ExpressRouteAuthorizationProvisioningState = "Succeeded" ExpressRouteAuthorizationProvisioningStateUpdating ExpressRouteAuthorizationProvisioningState = "Updating" )
type GetResponse ¶
type GetResponse struct { HttpResponse *http.Response Model *ExpressRouteAuthorization }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ExpressRouteAuthorization
}
type ListResponse ¶
type ListResponse struct { HttpResponse *http.Response Model *[]ExpressRouteAuthorization // contains filtered or unexported fields }
func (ListResponse) HasMore ¶
func (r ListResponse) HasMore() bool
func (ListResponse) LoadMore ¶
func (r ListResponse) LoadMore(ctx context.Context) (resp ListResponse, 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