Documentation ¶
Index ¶
- func PossibleValuesForCommissionedState() []string
- func PossibleValuesForCustomIPPrefixType() []string
- func PossibleValuesForGeo() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateCustomIPPrefixID(input interface{}, key string) (warnings []string, errors []error)
- type CommissionedState
- type CreateOrUpdateOperationResponse
- type CustomIPPrefix
- type CustomIPPrefixId
- type CustomIPPrefixOperationPredicate
- type CustomIPPrefixPropertiesFormat
- type CustomIPPrefixType
- type CustomIPPrefixesClient
- func (c CustomIPPrefixesClient) CreateOrUpdate(ctx context.Context, id CustomIPPrefixId, input CustomIPPrefix) (result CreateOrUpdateOperationResponse, err error)
- func (c CustomIPPrefixesClient) CreateOrUpdateThenPoll(ctx context.Context, id CustomIPPrefixId, input CustomIPPrefix) error
- func (c CustomIPPrefixesClient) Delete(ctx context.Context, id CustomIPPrefixId) (result DeleteOperationResponse, err error)
- func (c CustomIPPrefixesClient) DeleteThenPoll(ctx context.Context, id CustomIPPrefixId) error
- func (c CustomIPPrefixesClient) Get(ctx context.Context, id CustomIPPrefixId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c CustomIPPrefixesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c CustomIPPrefixesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
- func (c CustomIPPrefixesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
- func (c CustomIPPrefixesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c CustomIPPrefixesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c CustomIPPrefixesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c CustomIPPrefixesClient) UpdateTags(ctx context.Context, id CustomIPPrefixId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type DeleteOperationResponse
- type Geo
- type GetOperationOptions
- type GetOperationResponse
- type ListAllCompleteResult
- type ListAllCustomPager
- type ListAllOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ProvisioningState
- type SubResource
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCommissionedState ¶
func PossibleValuesForCommissionedState() []string
func PossibleValuesForCustomIPPrefixType ¶
func PossibleValuesForCustomIPPrefixType() []string
func PossibleValuesForGeo ¶
func PossibleValuesForGeo() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateCustomIPPrefixID ¶
ValidateCustomIPPrefixID checks that 'input' can be parsed as a Custom I P Prefix ID
Types ¶
type CommissionedState ¶
type CommissionedState string
const ( CommissionedStateCommissioned CommissionedState = "Commissioned" CommissionedStateCommissionedNoInternetAdvertise CommissionedState = "CommissionedNoInternetAdvertise" CommissionedStateCommissioning CommissionedState = "Commissioning" CommissionedStateDecommissioning CommissionedState = "Decommissioning" CommissionedStateDeprovisioned CommissionedState = "Deprovisioned" CommissionedStateDeprovisioning CommissionedState = "Deprovisioning" CommissionedStateProvisioned CommissionedState = "Provisioned" CommissionedStateProvisioning CommissionedState = "Provisioning" )
func (*CommissionedState) UnmarshalJSON ¶
func (s *CommissionedState) UnmarshalJSON(bytes []byte) error
type CustomIPPrefix ¶
type CustomIPPrefix 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 *CustomIPPrefixPropertiesFormat `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type CustomIPPrefixId ¶
type CustomIPPrefixId struct { SubscriptionId string ResourceGroupName string CustomIPPrefixName string }
CustomIPPrefixId is a struct representing the Resource ID for a Custom I P Prefix
func NewCustomIPPrefixID ¶
func NewCustomIPPrefixID(subscriptionId string, resourceGroupName string, customIPPrefixName string) CustomIPPrefixId
NewCustomIPPrefixID returns a new CustomIPPrefixId struct
func ParseCustomIPPrefixID ¶
func ParseCustomIPPrefixID(input string) (*CustomIPPrefixId, error)
ParseCustomIPPrefixID parses 'input' into a CustomIPPrefixId
func ParseCustomIPPrefixIDInsensitively ¶
func ParseCustomIPPrefixIDInsensitively(input string) (*CustomIPPrefixId, error)
ParseCustomIPPrefixIDInsensitively parses 'input' case-insensitively into a CustomIPPrefixId note: this method should only be used for API response data and not user input
func (*CustomIPPrefixId) FromParseResult ¶
func (id *CustomIPPrefixId) FromParseResult(input resourceids.ParseResult) error
func (CustomIPPrefixId) ID ¶
func (id CustomIPPrefixId) ID() string
ID returns the formatted Custom I P Prefix ID
func (CustomIPPrefixId) Segments ¶
func (id CustomIPPrefixId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Custom I P Prefix ID
func (CustomIPPrefixId) String ¶
func (id CustomIPPrefixId) String() string
String returns a human-readable description of this Custom I P Prefix ID
type CustomIPPrefixOperationPredicate ¶
type CustomIPPrefixOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (CustomIPPrefixOperationPredicate) Matches ¶
func (p CustomIPPrefixOperationPredicate) Matches(input CustomIPPrefix) bool
type CustomIPPrefixPropertiesFormat ¶
type CustomIPPrefixPropertiesFormat struct { Asn *string `json:"asn,omitempty"` AuthorizationMessage *string `json:"authorizationMessage,omitempty"` ChildCustomIPPrefixes *[]SubResource `json:"childCustomIpPrefixes,omitempty"` Cidr *string `json:"cidr,omitempty"` CommissionedState *CommissionedState `json:"commissionedState,omitempty"` CustomIPPrefixParent *SubResource `json:"customIpPrefixParent,omitempty"` ExpressRouteAdvertise *bool `json:"expressRouteAdvertise,omitempty"` FailedReason *string `json:"failedReason,omitempty"` Geo *Geo `json:"geo,omitempty"` NoInternetAdvertise *bool `json:"noInternetAdvertise,omitempty"` PrefixType *CustomIPPrefixType `json:"prefixType,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicIPPrefixes *[]SubResource `json:"publicIpPrefixes,omitempty"` ResourceGuid *string `json:"resourceGuid,omitempty"` SignedMessage *string `json:"signedMessage,omitempty"` }
type CustomIPPrefixType ¶
type CustomIPPrefixType string
const ( CustomIPPrefixTypeChild CustomIPPrefixType = "Child" CustomIPPrefixTypeParent CustomIPPrefixType = "Parent" CustomIPPrefixTypeSingular CustomIPPrefixType = "Singular" )
func (*CustomIPPrefixType) UnmarshalJSON ¶
func (s *CustomIPPrefixType) UnmarshalJSON(bytes []byte) error
type CustomIPPrefixesClient ¶
type CustomIPPrefixesClient struct {
Client *resourcemanager.Client
}
func NewCustomIPPrefixesClientWithBaseURI ¶
func NewCustomIPPrefixesClientWithBaseURI(sdkApi sdkEnv.Api) (*CustomIPPrefixesClient, error)
func (CustomIPPrefixesClient) CreateOrUpdate ¶
func (c CustomIPPrefixesClient) CreateOrUpdate(ctx context.Context, id CustomIPPrefixId, input CustomIPPrefix) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CustomIPPrefixesClient) CreateOrUpdateThenPoll ¶
func (c CustomIPPrefixesClient) CreateOrUpdateThenPoll(ctx context.Context, id CustomIPPrefixId, input CustomIPPrefix) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CustomIPPrefixesClient) Delete ¶
func (c CustomIPPrefixesClient) Delete(ctx context.Context, id CustomIPPrefixId) (result DeleteOperationResponse, err error)
Delete ...
func (CustomIPPrefixesClient) DeleteThenPoll ¶
func (c CustomIPPrefixesClient) DeleteThenPoll(ctx context.Context, id CustomIPPrefixId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CustomIPPrefixesClient) Get ¶
func (c CustomIPPrefixesClient) Get(ctx context.Context, id CustomIPPrefixId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (CustomIPPrefixesClient) List ¶
func (c CustomIPPrefixesClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (CustomIPPrefixesClient) ListAll ¶
func (c CustomIPPrefixesClient) ListAll(ctx context.Context, id commonids.SubscriptionId) (result ListAllOperationResponse, err error)
ListAll ...
func (CustomIPPrefixesClient) ListAllComplete ¶
func (c CustomIPPrefixesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (CustomIPPrefixesClient) ListAllCompleteMatchingPredicate ¶
func (c CustomIPPrefixesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate CustomIPPrefixOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CustomIPPrefixesClient) ListComplete ¶
func (c CustomIPPrefixesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (CustomIPPrefixesClient) ListCompleteMatchingPredicate ¶
func (c CustomIPPrefixesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CustomIPPrefixOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CustomIPPrefixesClient) UpdateTags ¶
func (c CustomIPPrefixesClient) UpdateTags(ctx context.Context, id CustomIPPrefixId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
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 *CustomIPPrefix }
type ListAllCompleteResult ¶
type ListAllCompleteResult struct { LatestHttpResponse *http.Response Items []CustomIPPrefix }
type ListAllCustomPager ¶
func (*ListAllCustomPager) NextPageLink ¶
func (p *ListAllCustomPager) NextPageLink() *odata.Link
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CustomIPPrefix }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []CustomIPPrefix }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CustomIPPrefix }
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 *CustomIPPrefix }