Documentation ¶
Index ¶
- func PossibleValuesForGatewayType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateGatewayID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Gateway
- type GatewayId
- type GatewayOperationPredicate
- type GatewayProperties
- type GatewayType
- type GatewayUpdate
- type GatewayUpdateProperties
- type GatewaysClient
- func (c GatewaysClient) CreateOrUpdate(ctx context.Context, id GatewayId, input Gateway) (result CreateOrUpdateOperationResponse, err error)
- func (c GatewaysClient) CreateOrUpdateThenPoll(ctx context.Context, id GatewayId, input Gateway) error
- func (c GatewaysClient) Delete(ctx context.Context, id GatewayId) (result DeleteOperationResponse, err error)
- func (c GatewaysClient) DeleteThenPoll(ctx context.Context, id GatewayId) error
- func (c GatewaysClient) Get(ctx context.Context, id GatewayId) (result GetOperationResponse, err error)
- func (c GatewaysClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c GatewaysClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c GatewaysClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c GatewaysClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c GatewaysClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c GatewaysClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c GatewaysClient) Update(ctx context.Context, id GatewayId, input GatewayUpdate) (result UpdateOperationResponse, err error)
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGatewayType ¶
func PossibleValuesForGatewayType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateGatewayID ¶
ValidateGatewayID checks that 'input' can be parsed as a Gateway ID
Types ¶
type DeleteOperationResponse ¶
type Gateway ¶
type Gateway struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *GatewayProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type GatewayId ¶
GatewayId is a struct representing the Resource ID for a Gateway
func NewGatewayID ¶
NewGatewayID returns a new GatewayId struct
func ParseGatewayID ¶
ParseGatewayID parses 'input' into a GatewayId
func ParseGatewayIDInsensitively ¶
ParseGatewayIDInsensitively parses 'input' case-insensitively into a GatewayId note: this method should only be used for API response data and not user input
func (*GatewayId) FromParseResult ¶
func (id *GatewayId) FromParseResult(input resourceids.ParseResult) error
func (GatewayId) Segments ¶
func (id GatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gateway ID
type GatewayOperationPredicate ¶
func (GatewayOperationPredicate) Matches ¶
func (p GatewayOperationPredicate) Matches(input Gateway) bool
type GatewayProperties ¶
type GatewayProperties struct { AllowedFeatures *[]string `json:"allowedFeatures,omitempty"` GatewayEndpoint *string `json:"gatewayEndpoint,omitempty"` GatewayId *string `json:"gatewayId,omitempty"` GatewayType *GatewayType `json:"gatewayType,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type GatewayType ¶
type GatewayType string
const (
GatewayTypePublic GatewayType = "Public"
)
func (*GatewayType) UnmarshalJSON ¶
func (s *GatewayType) UnmarshalJSON(bytes []byte) error
type GatewayUpdate ¶
type GatewayUpdate struct { Properties *GatewayUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type GatewayUpdateProperties ¶
type GatewayUpdateProperties struct {
AllowedFeatures *[]string `json:"allowedFeatures,omitempty"`
}
type GatewaysClient ¶
type GatewaysClient struct {
Client *resourcemanager.Client
}
func NewGatewaysClientWithBaseURI ¶
func NewGatewaysClientWithBaseURI(sdkApi sdkEnv.Api) (*GatewaysClient, error)
func (GatewaysClient) CreateOrUpdate ¶
func (c GatewaysClient) CreateOrUpdate(ctx context.Context, id GatewayId, input Gateway) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (GatewaysClient) CreateOrUpdateThenPoll ¶
func (c GatewaysClient) CreateOrUpdateThenPoll(ctx context.Context, id GatewayId, input Gateway) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (GatewaysClient) Delete ¶
func (c GatewaysClient) Delete(ctx context.Context, id GatewayId) (result DeleteOperationResponse, err error)
Delete ...
func (GatewaysClient) DeleteThenPoll ¶
func (c GatewaysClient) DeleteThenPoll(ctx context.Context, id GatewayId) error
DeleteThenPoll performs Delete then polls until it's completed
func (GatewaysClient) Get ¶
func (c GatewaysClient) Get(ctx context.Context, id GatewayId) (result GetOperationResponse, err error)
Get ...
func (GatewaysClient) ListByResourceGroup ¶
func (c GatewaysClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (GatewaysClient) ListByResourceGroupComplete ¶
func (c GatewaysClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (GatewaysClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c GatewaysClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate GatewayOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GatewaysClient) ListBySubscription ¶
func (c GatewaysClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (GatewaysClient) ListBySubscriptionComplete ¶
func (c GatewaysClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (GatewaysClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c GatewaysClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate GatewayOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GatewaysClient) Update ¶
func (c GatewaysClient) Update(ctx context.Context, id GatewayId, input GatewayUpdate) (result UpdateOperationResponse, err error)
Update ...
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error