Documentation ¶
Index ¶
- func PossibleValuesForIPVersion() []string
- func PossibleValuesForNatGatewaySkuName() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicIPPrefixSkuName() []string
- func PossibleValuesForPublicIPPrefixSkuTier() []string
- func ValidatePublicIPPrefixID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type IPTag
- type IPVersion
- type ListAllCompleteResult
- type ListAllCustomPager
- type ListAllOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type NatGateway
- type NatGatewayPropertiesFormat
- type NatGatewaySku
- type NatGatewaySkuName
- type ProvisioningState
- type PublicIPPrefix
- type PublicIPPrefixId
- type PublicIPPrefixOperationPredicate
- type PublicIPPrefixPropertiesFormat
- type PublicIPPrefixSku
- type PublicIPPrefixSkuName
- type PublicIPPrefixSkuTier
- type PublicIPPrefixesClient
- func (c PublicIPPrefixesClient) CreateOrUpdate(ctx context.Context, id PublicIPPrefixId, input PublicIPPrefix) (result CreateOrUpdateOperationResponse, err error)
- func (c PublicIPPrefixesClient) CreateOrUpdateThenPoll(ctx context.Context, id PublicIPPrefixId, input PublicIPPrefix) error
- func (c PublicIPPrefixesClient) Delete(ctx context.Context, id PublicIPPrefixId) (result DeleteOperationResponse, err error)
- func (c PublicIPPrefixesClient) DeleteThenPoll(ctx context.Context, id PublicIPPrefixId) error
- func (c PublicIPPrefixesClient) Get(ctx context.Context, id PublicIPPrefixId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c PublicIPPrefixesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c PublicIPPrefixesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c PublicIPPrefixesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c PublicIPPrefixesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c PublicIPPrefixesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c PublicIPPrefixesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c PublicIPPrefixesClient) UpdateTags(ctx context.Context, id PublicIPPrefixId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type ReferencedPublicIPAddress
- type SubResource
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIPVersion ¶
func PossibleValuesForIPVersion() []string
func PossibleValuesForNatGatewaySkuName ¶
func PossibleValuesForNatGatewaySkuName() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicIPPrefixSkuName ¶
func PossibleValuesForPublicIPPrefixSkuName() []string
func PossibleValuesForPublicIPPrefixSkuTier ¶
func PossibleValuesForPublicIPPrefixSkuTier() []string
func ValidatePublicIPPrefixID ¶
ValidatePublicIPPrefixID checks that 'input' can be parsed as a Public I P Prefix 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 *PublicIPPrefix }
type ListAllCompleteResult ¶
type ListAllCompleteResult struct { LatestHttpResponse *http.Response Items []PublicIPPrefix }
type ListAllCustomPager ¶
func (*ListAllCustomPager) NextPageLink ¶
func (p *ListAllCustomPager) NextPageLink() *odata.Link
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PublicIPPrefix }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []PublicIPPrefix }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PublicIPPrefix }
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 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 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 PublicIPPrefix ¶
type PublicIPPrefix struct { Etag *string `json:"etag,omitempty"` ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *PublicIPPrefixPropertiesFormat `json:"properties,omitempty"` Sku *PublicIPPrefixSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type PublicIPPrefixId ¶
type PublicIPPrefixId struct { SubscriptionId string ResourceGroupName string PublicIPPrefixName string }
PublicIPPrefixId is a struct representing the Resource ID for a Public I P Prefix
func NewPublicIPPrefixID ¶
func NewPublicIPPrefixID(subscriptionId string, resourceGroupName string, publicIPPrefixName string) PublicIPPrefixId
NewPublicIPPrefixID returns a new PublicIPPrefixId struct
func ParsePublicIPPrefixID ¶
func ParsePublicIPPrefixID(input string) (*PublicIPPrefixId, error)
ParsePublicIPPrefixID parses 'input' into a PublicIPPrefixId
func ParsePublicIPPrefixIDInsensitively ¶
func ParsePublicIPPrefixIDInsensitively(input string) (*PublicIPPrefixId, error)
ParsePublicIPPrefixIDInsensitively parses 'input' case-insensitively into a PublicIPPrefixId note: this method should only be used for API response data and not user input
func (*PublicIPPrefixId) FromParseResult ¶
func (id *PublicIPPrefixId) FromParseResult(input resourceids.ParseResult) error
func (PublicIPPrefixId) ID ¶
func (id PublicIPPrefixId) ID() string
ID returns the formatted Public I P Prefix ID
func (PublicIPPrefixId) Segments ¶
func (id PublicIPPrefixId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Public I P Prefix ID
func (PublicIPPrefixId) String ¶
func (id PublicIPPrefixId) String() string
String returns a human-readable description of this Public I P Prefix ID
type PublicIPPrefixOperationPredicate ¶
type PublicIPPrefixOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (PublicIPPrefixOperationPredicate) Matches ¶
func (p PublicIPPrefixOperationPredicate) Matches(input PublicIPPrefix) bool
type PublicIPPrefixPropertiesFormat ¶
type PublicIPPrefixPropertiesFormat struct { CustomIPPrefix *SubResource `json:"customIPPrefix,omitempty"` IPPrefix *string `json:"ipPrefix,omitempty"` IPTags *[]IPTag `json:"ipTags,omitempty"` LoadBalancerFrontendIPConfiguration *SubResource `json:"loadBalancerFrontendIpConfiguration,omitempty"` NatGateway *NatGateway `json:"natGateway,omitempty"` PrefixLength *int64 `json:"prefixLength,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicIPAddressVersion *IPVersion `json:"publicIPAddressVersion,omitempty"` PublicIPAddresses *[]ReferencedPublicIPAddress `json:"publicIPAddresses,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` }
type PublicIPPrefixSku ¶
type PublicIPPrefixSku struct { Name *PublicIPPrefixSkuName `json:"name,omitempty"` Tier *PublicIPPrefixSkuTier `json:"tier,omitempty"` }
type PublicIPPrefixSkuName ¶
type PublicIPPrefixSkuName string
const (
PublicIPPrefixSkuNameStandard PublicIPPrefixSkuName = "Standard"
)
func (*PublicIPPrefixSkuName) UnmarshalJSON ¶
func (s *PublicIPPrefixSkuName) UnmarshalJSON(bytes []byte) error
type PublicIPPrefixSkuTier ¶
type PublicIPPrefixSkuTier string
const ( PublicIPPrefixSkuTierGlobal PublicIPPrefixSkuTier = "Global" PublicIPPrefixSkuTierRegional PublicIPPrefixSkuTier = "Regional" )
func (*PublicIPPrefixSkuTier) UnmarshalJSON ¶
func (s *PublicIPPrefixSkuTier) UnmarshalJSON(bytes []byte) error
type PublicIPPrefixesClient ¶
type PublicIPPrefixesClient struct {
Client *resourcemanager.Client
}
func NewPublicIPPrefixesClientWithBaseURI ¶
func NewPublicIPPrefixesClientWithBaseURI(sdkApi sdkEnv.Api) (*PublicIPPrefixesClient, error)
func (PublicIPPrefixesClient) CreateOrUpdate ¶
func (c PublicIPPrefixesClient) CreateOrUpdate(ctx context.Context, id PublicIPPrefixId, input PublicIPPrefix) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PublicIPPrefixesClient) CreateOrUpdateThenPoll ¶
func (c PublicIPPrefixesClient) CreateOrUpdateThenPoll(ctx context.Context, id PublicIPPrefixId, input PublicIPPrefix) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PublicIPPrefixesClient) Delete ¶
func (c PublicIPPrefixesClient) Delete(ctx context.Context, id PublicIPPrefixId) (result DeleteOperationResponse, err error)
Delete ...
func (PublicIPPrefixesClient) DeleteThenPoll ¶
func (c PublicIPPrefixesClient) DeleteThenPoll(ctx context.Context, id PublicIPPrefixId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PublicIPPrefixesClient) Get ¶
func (c PublicIPPrefixesClient) Get(ctx context.Context, id PublicIPPrefixId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (PublicIPPrefixesClient) List ¶
func (c PublicIPPrefixesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (PublicIPPrefixesClient) ListAll ¶
func (c PublicIPPrefixesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (PublicIPPrefixesClient) ListAllComplete ¶
func (c PublicIPPrefixesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (PublicIPPrefixesClient) ListAllCompleteMatchingPredicate ¶
func (c PublicIPPrefixesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate PublicIPPrefixOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PublicIPPrefixesClient) ListComplete ¶
func (c PublicIPPrefixesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PublicIPPrefixesClient) ListCompleteMatchingPredicate ¶
func (c PublicIPPrefixesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate PublicIPPrefixOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PublicIPPrefixesClient) UpdateTags ¶
func (c PublicIPPrefixesClient) UpdateTags(ctx context.Context, id PublicIPPrefixId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type ReferencedPublicIPAddress ¶
type ReferencedPublicIPAddress struct {
Id *string `json:"id,omitempty"`
}
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PublicIPPrefix }
Source Files ¶
- client.go
- constants.go
- id_publicipprefix.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listall.go
- method_updatetags.go
- model_iptag.go
- model_natgateway.go
- model_natgatewaypropertiesformat.go
- model_natgatewaysku.go
- model_publicipprefix.go
- model_publicipprefixpropertiesformat.go
- model_publicipprefixsku.go
- model_referencedpublicipaddress.go
- model_subresource.go
- model_tagsobject.go
- predicates.go
- version.go