Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateIPamPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStaticCidrID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IPamPoolId
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ProvisioningState
- type StaticCidr
- type StaticCidrId
- type StaticCidrOperationPredicate
- type StaticCidrProperties
- type StaticCidrsClient
- func (c StaticCidrsClient) Create(ctx context.Context, id StaticCidrId, input StaticCidr) (result CreateOperationResponse, err error)
- func (c StaticCidrsClient) Delete(ctx context.Context, id StaticCidrId) (result DeleteOperationResponse, err error)
- func (c StaticCidrsClient) DeleteThenPoll(ctx context.Context, id StaticCidrId) error
- func (c StaticCidrsClient) Get(ctx context.Context, id StaticCidrId) (result GetOperationResponse, err error)
- func (c StaticCidrsClient) List(ctx context.Context, id IPamPoolId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c StaticCidrsClient) ListComplete(ctx context.Context, id IPamPoolId, options ListOperationOptions) (ListCompleteResult, error)
- func (c StaticCidrsClient) ListCompleteMatchingPredicate(ctx context.Context, id IPamPoolId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateIPamPoolID ¶
ValidateIPamPoolID checks that 'input' can be parsed as a I Pam Pool ID
func ValidateStaticCidrID ¶
ValidateStaticCidrID checks that 'input' can be parsed as a Static Cidr ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StaticCidr }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StaticCidr }
type IPamPoolId ¶
type IPamPoolId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string IpamPoolName string }
IPamPoolId is a struct representing the Resource ID for a I Pam Pool
func NewIPamPoolID ¶
func NewIPamPoolID(subscriptionId string, resourceGroupName string, networkManagerName string, ipamPoolName string) IPamPoolId
NewIPamPoolID returns a new IPamPoolId struct
func ParseIPamPoolID ¶
func ParseIPamPoolID(input string) (*IPamPoolId, error)
ParseIPamPoolID parses 'input' into a IPamPoolId
func ParseIPamPoolIDInsensitively ¶
func ParseIPamPoolIDInsensitively(input string) (*IPamPoolId, error)
ParseIPamPoolIDInsensitively parses 'input' case-insensitively into a IPamPoolId note: this method should only be used for API response data and not user input
func (*IPamPoolId) FromParseResult ¶
func (id *IPamPoolId) FromParseResult(input resourceids.ParseResult) error
func (IPamPoolId) Segments ¶
func (id IPamPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this I Pam Pool ID
func (IPamPoolId) String ¶
func (id IPamPoolId) String() string
String returns a human-readable description of this I Pam Pool ID
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []StaticCidr }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct { Skip *int64 SkipToken *string SortKey *string SortValue *string Top *int64 }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StaticCidr }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type StaticCidr ¶
type StaticCidr struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StaticCidrProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type StaticCidrId ¶
type StaticCidrId struct { SubscriptionId string ResourceGroupName string NetworkManagerName string IpamPoolName string StaticCidrName string }
StaticCidrId is a struct representing the Resource ID for a Static Cidr
func NewStaticCidrID ¶
func NewStaticCidrID(subscriptionId string, resourceGroupName string, networkManagerName string, ipamPoolName string, staticCidrName string) StaticCidrId
NewStaticCidrID returns a new StaticCidrId struct
func ParseStaticCidrID ¶
func ParseStaticCidrID(input string) (*StaticCidrId, error)
ParseStaticCidrID parses 'input' into a StaticCidrId
func ParseStaticCidrIDInsensitively ¶
func ParseStaticCidrIDInsensitively(input string) (*StaticCidrId, error)
ParseStaticCidrIDInsensitively parses 'input' case-insensitively into a StaticCidrId note: this method should only be used for API response data and not user input
func (*StaticCidrId) FromParseResult ¶
func (id *StaticCidrId) FromParseResult(input resourceids.ParseResult) error
func (StaticCidrId) Segments ¶
func (id StaticCidrId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Static Cidr ID
func (StaticCidrId) String ¶
func (id StaticCidrId) String() string
String returns a human-readable description of this Static Cidr ID
type StaticCidrOperationPredicate ¶
func (StaticCidrOperationPredicate) Matches ¶
func (p StaticCidrOperationPredicate) Matches(input StaticCidr) bool
type StaticCidrProperties ¶
type StaticCidrProperties struct { AddressPrefixes *[]string `json:"addressPrefixes,omitempty"` Description *string `json:"description,omitempty"` NumberOfIPAddressesToAllocate *string `json:"numberOfIPAddressesToAllocate,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TotalNumberOfIPAddresses *string `json:"totalNumberOfIPAddresses,omitempty"` }
type StaticCidrsClient ¶
type StaticCidrsClient struct {
Client *resourcemanager.Client
}
func NewStaticCidrsClientWithBaseURI ¶
func NewStaticCidrsClientWithBaseURI(sdkApi sdkEnv.Api) (*StaticCidrsClient, error)
func (StaticCidrsClient) Create ¶
func (c StaticCidrsClient) Create(ctx context.Context, id StaticCidrId, input StaticCidr) (result CreateOperationResponse, err error)
Create ...
func (StaticCidrsClient) Delete ¶
func (c StaticCidrsClient) Delete(ctx context.Context, id StaticCidrId) (result DeleteOperationResponse, err error)
Delete ...
func (StaticCidrsClient) DeleteThenPoll ¶
func (c StaticCidrsClient) DeleteThenPoll(ctx context.Context, id StaticCidrId) error
DeleteThenPoll performs Delete then polls until it's completed
func (StaticCidrsClient) Get ¶
func (c StaticCidrsClient) Get(ctx context.Context, id StaticCidrId) (result GetOperationResponse, err error)
Get ...
func (StaticCidrsClient) List ¶
func (c StaticCidrsClient) List(ctx context.Context, id IPamPoolId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (StaticCidrsClient) ListComplete ¶
func (c StaticCidrsClient) ListComplete(ctx context.Context, id IPamPoolId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (StaticCidrsClient) ListCompleteMatchingPredicate ¶
func (c StaticCidrsClient) ListCompleteMatchingPredicate(ctx context.Context, id IPamPoolId, options ListOperationOptions, predicate StaticCidrOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate