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) (result ListOperationResponse, err error)
- func (c AuthorizationsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
- func (c AuthorizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, ...) (result 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 *resourcemanager.Client
}
func NewAuthorizationsClientWithBaseURI ¶
func NewAuthorizationsClientWithBaseURI(api environments.Api) (*AuthorizationsClient, error)
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) (result ListOperationResponse, err error)
List ...
func (AuthorizationsClient) ListComplete ¶
func (c AuthorizationsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AuthorizationsClient) ListCompleteMatchingPredicate ¶
func (c AuthorizationsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate ExpressRouteAuthorizationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
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 ( ExpressRouteAuthorizationProvisioningStateCanceled ExpressRouteAuthorizationProvisioningState = "Canceled" ExpressRouteAuthorizationProvisioningStateFailed ExpressRouteAuthorizationProvisioningState = "Failed" ExpressRouteAuthorizationProvisioningStateSucceeded ExpressRouteAuthorizationProvisioningState = "Succeeded" ExpressRouteAuthorizationProvisioningStateUpdating ExpressRouteAuthorizationProvisioningState = "Updating" )
func (*ExpressRouteAuthorizationProvisioningState) UnmarshalJSON ¶ added in v0.20230720.1124505
func (s *ExpressRouteAuthorizationProvisioningState) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExpressRouteAuthorization }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ExpressRouteAuthorization
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ExpressRouteAuthorization }
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