Documentation ¶
Index ¶
- func PossibleValuesForIPAllocationType() []string
- func PossibleValuesForIPVersion() []string
- func ValidateIPAllocationID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type IPAllocation
- type IPAllocationId
- type IPAllocationOperationPredicate
- type IPAllocationPropertiesFormat
- type IPAllocationType
- type IPAllocationsClient
- func (c IPAllocationsClient) CreateOrUpdate(ctx context.Context, id IPAllocationId, input IPAllocation) (result CreateOrUpdateOperationResponse, err error)
- func (c IPAllocationsClient) CreateOrUpdateThenPoll(ctx context.Context, id IPAllocationId, input IPAllocation) error
- func (c IPAllocationsClient) Delete(ctx context.Context, id IPAllocationId) (result DeleteOperationResponse, err error)
- func (c IPAllocationsClient) DeleteThenPoll(ctx context.Context, id IPAllocationId) error
- func (c IPAllocationsClient) Get(ctx context.Context, id IPAllocationId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c IPAllocationsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c IPAllocationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c IPAllocationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c IPAllocationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c IPAllocationsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c IPAllocationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c IPAllocationsClient) UpdateTags(ctx context.Context, id IPAllocationId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type IPVersion
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type SubResource
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForIPAllocationType ¶
func PossibleValuesForIPAllocationType() []string
func PossibleValuesForIPVersion ¶
func PossibleValuesForIPVersion() []string
func ValidateIPAllocationID ¶
ValidateIPAllocationID checks that 'input' can be parsed as a I P Allocation 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 *IPAllocation }
type IPAllocation ¶
type IPAllocation struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *IPAllocationPropertiesFormat `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type IPAllocationId ¶
type IPAllocationId struct { SubscriptionId string ResourceGroupName string IpAllocationName string }
IPAllocationId is a struct representing the Resource ID for a I P Allocation
func NewIPAllocationID ¶
func NewIPAllocationID(subscriptionId string, resourceGroupName string, ipAllocationName string) IPAllocationId
NewIPAllocationID returns a new IPAllocationId struct
func ParseIPAllocationID ¶
func ParseIPAllocationID(input string) (*IPAllocationId, error)
ParseIPAllocationID parses 'input' into a IPAllocationId
func ParseIPAllocationIDInsensitively ¶
func ParseIPAllocationIDInsensitively(input string) (*IPAllocationId, error)
ParseIPAllocationIDInsensitively parses 'input' case-insensitively into a IPAllocationId note: this method should only be used for API response data and not user input
func (*IPAllocationId) FromParseResult ¶ added in v0.20231127.1171502
func (id *IPAllocationId) FromParseResult(input resourceids.ParseResult) error
func (IPAllocationId) ID ¶
func (id IPAllocationId) ID() string
ID returns the formatted I P Allocation ID
func (IPAllocationId) Segments ¶
func (id IPAllocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this I P Allocation ID
func (IPAllocationId) String ¶
func (id IPAllocationId) String() string
String returns a human-readable description of this I P Allocation ID
type IPAllocationOperationPredicate ¶
type IPAllocationOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (IPAllocationOperationPredicate) Matches ¶
func (p IPAllocationOperationPredicate) Matches(input IPAllocation) bool
type IPAllocationPropertiesFormat ¶
type IPAllocationPropertiesFormat struct { AllocationTags *map[string]string `json:"allocationTags,omitempty"` IPamAllocationId *string `json:"ipamAllocationId,omitempty"` Prefix *string `json:"prefix,omitempty"` PrefixLength *int64 `json:"prefixLength,omitempty"` PrefixType *IPVersion `json:"prefixType,omitempty"` Subnet *SubResource `json:"subnet,omitempty"` Type *IPAllocationType `json:"type,omitempty"` VirtualNetwork *SubResource `json:"virtualNetwork,omitempty"` }
type IPAllocationType ¶
type IPAllocationType string
const ( IPAllocationTypeHypernet IPAllocationType = "Hypernet" IPAllocationTypeUndefined IPAllocationType = "Undefined" )
func (*IPAllocationType) UnmarshalJSON ¶
func (s *IPAllocationType) UnmarshalJSON(bytes []byte) error
type IPAllocationsClient ¶
type IPAllocationsClient struct {
Client *resourcemanager.Client
}
func NewIPAllocationsClientWithBaseURI ¶
func NewIPAllocationsClientWithBaseURI(sdkApi sdkEnv.Api) (*IPAllocationsClient, error)
func (IPAllocationsClient) CreateOrUpdate ¶
func (c IPAllocationsClient) CreateOrUpdate(ctx context.Context, id IPAllocationId, input IPAllocation) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IPAllocationsClient) CreateOrUpdateThenPoll ¶
func (c IPAllocationsClient) CreateOrUpdateThenPoll(ctx context.Context, id IPAllocationId, input IPAllocation) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (IPAllocationsClient) Delete ¶
func (c IPAllocationsClient) Delete(ctx context.Context, id IPAllocationId) (result DeleteOperationResponse, err error)
Delete ...
func (IPAllocationsClient) DeleteThenPoll ¶
func (c IPAllocationsClient) DeleteThenPoll(ctx context.Context, id IPAllocationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (IPAllocationsClient) Get ¶
func (c IPAllocationsClient) Get(ctx context.Context, id IPAllocationId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (IPAllocationsClient) List ¶
func (c IPAllocationsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (IPAllocationsClient) ListByResourceGroup ¶
func (c IPAllocationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (IPAllocationsClient) ListByResourceGroupComplete ¶
func (c IPAllocationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (IPAllocationsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c IPAllocationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate IPAllocationOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (IPAllocationsClient) ListComplete ¶
func (c IPAllocationsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (IPAllocationsClient) ListCompleteMatchingPredicate ¶
func (c IPAllocationsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate IPAllocationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (IPAllocationsClient) UpdateTags ¶
func (c IPAllocationsClient) UpdateTags(ctx context.Context, id IPAllocationId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []IPAllocation
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]IPAllocation }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []IPAllocation
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]IPAllocation }
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *IPAllocation }