Documentation ¶
Index ¶
- func PossibleValuesForApiGatewaySkuType() []string
- func PossibleValuesForVirtualNetworkType() []string
- func ValidateGatewayID(input interface{}, key string) (warnings []string, errors []error)
- type ApiGatewayClient
- func (c ApiGatewayClient) CreateOrUpdate(ctx context.Context, id GatewayId, input ApiManagementGatewayResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiGatewayClient) CreateOrUpdateThenPoll(ctx context.Context, id GatewayId, input ApiManagementGatewayResource) error
- func (c ApiGatewayClient) Delete(ctx context.Context, id GatewayId) (result DeleteOperationResponse, err error)
- func (c ApiGatewayClient) DeleteThenPoll(ctx context.Context, id GatewayId) error
- func (c ApiGatewayClient) Get(ctx context.Context, id GatewayId) (result GetOperationResponse, err error)
- func (c ApiGatewayClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c ApiGatewayClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ApiGatewayClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ApiGatewayClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ApiGatewayClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c ApiGatewayClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c ApiGatewayClient) Update(ctx context.Context, id GatewayId, input ApiManagementGatewayUpdateParameters) (result UpdateOperationResponse, err error)
- func (c ApiGatewayClient) UpdateThenPoll(ctx context.Context, id GatewayId, input ApiManagementGatewayUpdateParameters) error
- type ApiGatewaySkuType
- type ApiManagementGatewayBaseProperties
- type ApiManagementGatewayResource
- type ApiManagementGatewayResourceOperationPredicate
- type ApiManagementGatewaySkuProperties
- type ApiManagementGatewaySkuPropertiesForPatch
- type ApiManagementGatewayUpdateParameters
- type BackendConfiguration
- type BackendSubnetConfiguration
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FrontendConfiguration
- type GatewayConfigurationApi
- type GatewayId
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type UpdateOperationResponse
- type VirtualNetworkType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApiGatewaySkuType ¶
func PossibleValuesForApiGatewaySkuType() []string
func PossibleValuesForVirtualNetworkType ¶
func PossibleValuesForVirtualNetworkType() []string
func ValidateGatewayID ¶
ValidateGatewayID checks that 'input' can be parsed as a Gateway ID
Types ¶
type ApiGatewayClient ¶
type ApiGatewayClient struct {
Client *resourcemanager.Client
}
func NewApiGatewayClientWithBaseURI ¶
func NewApiGatewayClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiGatewayClient, error)
func (ApiGatewayClient) CreateOrUpdate ¶
func (c ApiGatewayClient) CreateOrUpdate(ctx context.Context, id GatewayId, input ApiManagementGatewayResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiGatewayClient) CreateOrUpdateThenPoll ¶
func (c ApiGatewayClient) CreateOrUpdateThenPoll(ctx context.Context, id GatewayId, input ApiManagementGatewayResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ApiGatewayClient) Delete ¶
func (c ApiGatewayClient) Delete(ctx context.Context, id GatewayId) (result DeleteOperationResponse, err error)
Delete ...
func (ApiGatewayClient) DeleteThenPoll ¶
func (c ApiGatewayClient) DeleteThenPoll(ctx context.Context, id GatewayId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ApiGatewayClient) Get ¶
func (c ApiGatewayClient) Get(ctx context.Context, id GatewayId) (result GetOperationResponse, err error)
Get ...
func (ApiGatewayClient) List ¶
func (c ApiGatewayClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (ApiGatewayClient) ListByResourceGroup ¶
func (c ApiGatewayClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ApiGatewayClient) ListByResourceGroupComplete ¶
func (c ApiGatewayClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ApiGatewayClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ApiGatewayClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ApiManagementGatewayResourceOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApiGatewayClient) ListComplete ¶
func (c ApiGatewayClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ApiGatewayClient) ListCompleteMatchingPredicate ¶
func (c ApiGatewayClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ApiManagementGatewayResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApiGatewayClient) Update ¶
func (c ApiGatewayClient) Update(ctx context.Context, id GatewayId, input ApiManagementGatewayUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (ApiGatewayClient) UpdateThenPoll ¶
func (c ApiGatewayClient) UpdateThenPoll(ctx context.Context, id GatewayId, input ApiManagementGatewayUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type ApiGatewaySkuType ¶
type ApiGatewaySkuType string
const ( ApiGatewaySkuTypeStandard ApiGatewaySkuType = "Standard" ApiGatewaySkuTypeWorkspaceGatewayPremium ApiGatewaySkuType = "WorkspaceGatewayPremium" ApiGatewaySkuTypeWorkspaceGatewayStandard ApiGatewaySkuType = "WorkspaceGatewayStandard" )
func (*ApiGatewaySkuType) UnmarshalJSON ¶
func (s *ApiGatewaySkuType) UnmarshalJSON(bytes []byte) error
type ApiManagementGatewayBaseProperties ¶
type ApiManagementGatewayBaseProperties struct { Backend *BackendConfiguration `json:"backend,omitempty"` ConfigurationApi *GatewayConfigurationApi `json:"configurationApi,omitempty"` CreatedAtUtc *string `json:"createdAtUtc,omitempty"` Frontend *FrontendConfiguration `json:"frontend,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` TargetProvisioningState *string `json:"targetProvisioningState,omitempty"` VirtualNetworkType *VirtualNetworkType `json:"virtualNetworkType,omitempty"` }
func (*ApiManagementGatewayBaseProperties) GetCreatedAtUtcAsTime ¶
func (o *ApiManagementGatewayBaseProperties) GetCreatedAtUtcAsTime() (*time.Time, error)
func (*ApiManagementGatewayBaseProperties) SetCreatedAtUtcAsTime ¶
func (o *ApiManagementGatewayBaseProperties) SetCreatedAtUtcAsTime(input time.Time)
type ApiManagementGatewayResource ¶
type ApiManagementGatewayResource struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties ApiManagementGatewayBaseProperties `json:"properties"` Sku ApiManagementGatewaySkuProperties `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ApiManagementGatewayResourceOperationPredicate ¶
type ApiManagementGatewayResourceOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (ApiManagementGatewayResourceOperationPredicate) Matches ¶
func (p ApiManagementGatewayResourceOperationPredicate) Matches(input ApiManagementGatewayResource) bool
type ApiManagementGatewaySkuProperties ¶
type ApiManagementGatewaySkuProperties struct { Capacity *int64 `json:"capacity,omitempty"` Name ApiGatewaySkuType `json:"name"` }
type ApiManagementGatewaySkuPropertiesForPatch ¶
type ApiManagementGatewaySkuPropertiesForPatch struct { Capacity *int64 `json:"capacity,omitempty"` Name *ApiGatewaySkuType `json:"name,omitempty"` }
type ApiManagementGatewayUpdateParameters ¶
type ApiManagementGatewayUpdateParameters struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ApiManagementGatewayBaseProperties `json:"properties,omitempty"` Sku *ApiManagementGatewaySkuPropertiesForPatch `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BackendConfiguration ¶
type BackendConfiguration struct {
Subnet *BackendSubnetConfiguration `json:"subnet,omitempty"`
}
type BackendSubnetConfiguration ¶
type BackendSubnetConfiguration struct {
Id *string `json:"id,omitempty"`
}
type DeleteOperationResponse ¶
type FrontendConfiguration ¶
type FrontendConfiguration struct {
DefaultHostname *string `json:"defaultHostname,omitempty"`
}
type GatewayConfigurationApi ¶
type GatewayConfigurationApi struct {
Hostname *string `json:"hostname,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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApiManagementGatewayResource }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ApiManagementGatewayResource }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApiManagementGatewayResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ApiManagementGatewayResource }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApiManagementGatewayResource }
type UpdateOperationResponse ¶
type VirtualNetworkType ¶
type VirtualNetworkType string
const ( VirtualNetworkTypeExternal VirtualNetworkType = "External" VirtualNetworkTypeInternal VirtualNetworkType = "Internal" VirtualNetworkTypeNone VirtualNetworkType = "None" )
func (*VirtualNetworkType) UnmarshalJSON ¶
func (s *VirtualNetworkType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_gateway.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.go
- model_apimanagementgatewaybaseproperties.go
- model_apimanagementgatewayresource.go
- model_apimanagementgatewayskuproperties.go
- model_apimanagementgatewayskupropertiesforpatch.go
- model_apimanagementgatewayupdateparameters.go
- model_backendconfiguration.go
- model_backendsubnetconfiguration.go
- model_frontendconfiguration.go
- model_gatewayconfigurationapi.go
- predicates.go
- version.go