Documentation ¶
Index ¶
- func PossibleValuesForNatGatewaySkuName() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateNatGatewayID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type ListAllCompleteResult
- type ListAllOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type NatGateway
- type NatGatewayId
- type NatGatewayOperationPredicate
- type NatGatewayPropertiesFormat
- type NatGatewaySku
- type NatGatewaySkuName
- type NatGatewaysClient
- func (c NatGatewaysClient) CreateOrUpdate(ctx context.Context, id NatGatewayId, input NatGateway) (result CreateOrUpdateOperationResponse, err error)
- func (c NatGatewaysClient) CreateOrUpdateThenPoll(ctx context.Context, id NatGatewayId, input NatGateway) error
- func (c NatGatewaysClient) Delete(ctx context.Context, id NatGatewayId) (result DeleteOperationResponse, err error)
- func (c NatGatewaysClient) DeleteThenPoll(ctx context.Context, id NatGatewayId) error
- func (c NatGatewaysClient) Get(ctx context.Context, id NatGatewayId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c NatGatewaysClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c NatGatewaysClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c NatGatewaysClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c NatGatewaysClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c NatGatewaysClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c NatGatewaysClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c NatGatewaysClient) UpdateTags(ctx context.Context, id NatGatewayId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type ProvisioningState
- type SubResource
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForNatGatewaySkuName ¶
func PossibleValuesForNatGatewaySkuName() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateNatGatewayID ¶
ValidateNatGatewayID checks that 'input' can be parsed as a Nat Gateway ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NatGateway }
type ListAllCompleteResult ¶
type ListAllCompleteResult struct { LatestHttpResponse *http.Response Items []NatGateway }
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NatGateway }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []NatGateway }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NatGateway }
type NatGateway ¶
type NatGateway struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *NatGatewayPropertiesFormat `json:"properties,omitempty"` Sku *NatGatewaySku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type NatGatewayId ¶
NatGatewayId is a struct representing the Resource ID for a Nat Gateway
func NewNatGatewayID ¶
func NewNatGatewayID(subscriptionId string, resourceGroupName string, natGatewayName string) NatGatewayId
NewNatGatewayID returns a new NatGatewayId struct
func ParseNatGatewayID ¶
func ParseNatGatewayID(input string) (*NatGatewayId, error)
ParseNatGatewayID parses 'input' into a NatGatewayId
func ParseNatGatewayIDInsensitively ¶
func ParseNatGatewayIDInsensitively(input string) (*NatGatewayId, error)
ParseNatGatewayIDInsensitively parses 'input' case-insensitively into a NatGatewayId note: this method should only be used for API response data and not user input
func (*NatGatewayId) FromParseResult ¶
func (id *NatGatewayId) FromParseResult(input resourceids.ParseResult) error
func (NatGatewayId) Segments ¶
func (id NatGatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Nat Gateway ID
func (NatGatewayId) String ¶
func (id NatGatewayId) String() string
String returns a human-readable description of this Nat Gateway ID
type NatGatewayOperationPredicate ¶
type NatGatewayOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (NatGatewayOperationPredicate) Matches ¶
func (p NatGatewayOperationPredicate) Matches(input NatGateway) bool
type NatGatewayPropertiesFormat ¶
type NatGatewayPropertiesFormat struct { IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicIPAddresses *[]SubResource `json:"publicIpAddresses,omitempty"` PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` Subnets *[]SubResource `json:"subnets,omitempty"` }
type NatGatewaySku ¶
type NatGatewaySku struct {
Name *NatGatewaySkuName `json:"name,omitempty"`
}
type NatGatewaySkuName ¶
type NatGatewaySkuName string
const (
NatGatewaySkuNameStandard NatGatewaySkuName = "Standard"
)
func (*NatGatewaySkuName) UnmarshalJSON ¶
func (s *NatGatewaySkuName) UnmarshalJSON(bytes []byte) error
type NatGatewaysClient ¶
type NatGatewaysClient struct {
Client *resourcemanager.Client
}
func NewNatGatewaysClientWithBaseURI ¶
func NewNatGatewaysClientWithBaseURI(sdkApi sdkEnv.Api) (*NatGatewaysClient, error)
func (NatGatewaysClient) CreateOrUpdate ¶
func (c NatGatewaysClient) CreateOrUpdate(ctx context.Context, id NatGatewayId, input NatGateway) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NatGatewaysClient) CreateOrUpdateThenPoll ¶
func (c NatGatewaysClient) CreateOrUpdateThenPoll(ctx context.Context, id NatGatewayId, input NatGateway) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (NatGatewaysClient) Delete ¶
func (c NatGatewaysClient) Delete(ctx context.Context, id NatGatewayId) (result DeleteOperationResponse, err error)
Delete ...
func (NatGatewaysClient) DeleteThenPoll ¶
func (c NatGatewaysClient) DeleteThenPoll(ctx context.Context, id NatGatewayId) error
DeleteThenPoll performs Delete then polls until it's completed
func (NatGatewaysClient) Get ¶
func (c NatGatewaysClient) Get(ctx context.Context, id NatGatewayId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (NatGatewaysClient) List ¶
func (c NatGatewaysClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (NatGatewaysClient) ListAll ¶
func (c NatGatewaysClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (NatGatewaysClient) ListAllComplete ¶
func (c NatGatewaysClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (NatGatewaysClient) ListAllCompleteMatchingPredicate ¶
func (c NatGatewaysClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate NatGatewayOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NatGatewaysClient) ListComplete ¶
func (c NatGatewaysClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (NatGatewaysClient) ListCompleteMatchingPredicate ¶
func (c NatGatewaysClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate NatGatewayOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NatGatewaysClient) UpdateTags ¶
func (c NatGatewaysClient) UpdateTags(ctx context.Context, id NatGatewayId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *NatGateway }