Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateGlobalRulestackID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrefixListID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type GlobalRulestackId
- type ListCompleteResult
- type ListOperationResponse
- type PrefixListGlobalRulestackClient
- func (c PrefixListGlobalRulestackClient) CreateOrUpdate(ctx context.Context, id PrefixListId, input PrefixListGlobalRulestackResource) (result CreateOrUpdateOperationResponse, err error)
- func (c PrefixListGlobalRulestackClient) CreateOrUpdateThenPoll(ctx context.Context, id PrefixListId, input PrefixListGlobalRulestackResource) error
- func (c PrefixListGlobalRulestackClient) Delete(ctx context.Context, id PrefixListId) (result DeleteOperationResponse, err error)
- func (c PrefixListGlobalRulestackClient) DeleteThenPoll(ctx context.Context, id PrefixListId) error
- func (c PrefixListGlobalRulestackClient) Get(ctx context.Context, id PrefixListId) (result GetOperationResponse, err error)
- func (c PrefixListGlobalRulestackClient) List(ctx context.Context, id GlobalRulestackId) (result ListOperationResponse, err error)
- func (c PrefixListGlobalRulestackClient) ListComplete(ctx context.Context, id GlobalRulestackId) (ListCompleteResult, error)
- func (c PrefixListGlobalRulestackClient) ListCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, ...) (result ListCompleteResult, err error)
- type PrefixListGlobalRulestackResource
- type PrefixListGlobalRulestackResourceOperationPredicate
- type PrefixListId
- type PrefixObject
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateGlobalRulestackID ¶
ValidateGlobalRulestackID checks that 'input' can be parsed as a Global Rulestack ID
func ValidatePrefixListID ¶
ValidatePrefixListID checks that 'input' can be parsed as a Prefix List ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PrefixListGlobalRulestackResource }
type GlobalRulestackId ¶
type GlobalRulestackId struct {
GlobalRulestackName string
}
GlobalRulestackId is a struct representing the Resource ID for a Global Rulestack
func NewGlobalRulestackID ¶
func NewGlobalRulestackID(globalRulestackName string) GlobalRulestackId
NewGlobalRulestackID returns a new GlobalRulestackId struct
func ParseGlobalRulestackID ¶
func ParseGlobalRulestackID(input string) (*GlobalRulestackId, error)
ParseGlobalRulestackID parses 'input' into a GlobalRulestackId
func ParseGlobalRulestackIDInsensitively ¶
func ParseGlobalRulestackIDInsensitively(input string) (*GlobalRulestackId, error)
ParseGlobalRulestackIDInsensitively parses 'input' case-insensitively into a GlobalRulestackId note: this method should only be used for API response data and not user input
func (*GlobalRulestackId) FromParseResult ¶ added in v0.20231127.1171502
func (id *GlobalRulestackId) FromParseResult(input resourceids.ParseResult) error
func (GlobalRulestackId) ID ¶
func (id GlobalRulestackId) ID() string
ID returns the formatted Global Rulestack ID
func (GlobalRulestackId) Segments ¶
func (id GlobalRulestackId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Global Rulestack ID
func (GlobalRulestackId) String ¶
func (id GlobalRulestackId) String() string
String returns a human-readable description of this Global Rulestack ID
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []PrefixListGlobalRulestackResource }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PrefixListGlobalRulestackResource }
type PrefixListGlobalRulestackClient ¶
type PrefixListGlobalRulestackClient struct {
Client *resourcemanager.Client
}
func NewPrefixListGlobalRulestackClientWithBaseURI ¶
func NewPrefixListGlobalRulestackClientWithBaseURI(sdkApi sdkEnv.Api) (*PrefixListGlobalRulestackClient, error)
func (PrefixListGlobalRulestackClient) CreateOrUpdate ¶
func (c PrefixListGlobalRulestackClient) CreateOrUpdate(ctx context.Context, id PrefixListId, input PrefixListGlobalRulestackResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PrefixListGlobalRulestackClient) CreateOrUpdateThenPoll ¶
func (c PrefixListGlobalRulestackClient) CreateOrUpdateThenPoll(ctx context.Context, id PrefixListId, input PrefixListGlobalRulestackResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PrefixListGlobalRulestackClient) Delete ¶
func (c PrefixListGlobalRulestackClient) Delete(ctx context.Context, id PrefixListId) (result DeleteOperationResponse, err error)
Delete ...
func (PrefixListGlobalRulestackClient) DeleteThenPoll ¶
func (c PrefixListGlobalRulestackClient) DeleteThenPoll(ctx context.Context, id PrefixListId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PrefixListGlobalRulestackClient) Get ¶
func (c PrefixListGlobalRulestackClient) Get(ctx context.Context, id PrefixListId) (result GetOperationResponse, err error)
Get ...
func (PrefixListGlobalRulestackClient) List ¶
func (c PrefixListGlobalRulestackClient) List(ctx context.Context, id GlobalRulestackId) (result ListOperationResponse, err error)
List ...
func (PrefixListGlobalRulestackClient) ListComplete ¶
func (c PrefixListGlobalRulestackClient) ListComplete(ctx context.Context, id GlobalRulestackId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PrefixListGlobalRulestackClient) ListCompleteMatchingPredicate ¶
func (c PrefixListGlobalRulestackClient) ListCompleteMatchingPredicate(ctx context.Context, id GlobalRulestackId, predicate PrefixListGlobalRulestackResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type PrefixListGlobalRulestackResource ¶
type PrefixListGlobalRulestackResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties PrefixObject `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrefixListGlobalRulestackResourceOperationPredicate ¶
type PrefixListGlobalRulestackResourceOperationPredicate struct { Id *string Name *string Type *string }
func (PrefixListGlobalRulestackResourceOperationPredicate) Matches ¶
func (p PrefixListGlobalRulestackResourceOperationPredicate) Matches(input PrefixListGlobalRulestackResource) bool
type PrefixListId ¶
PrefixListId is a struct representing the Resource ID for a Prefix List
func NewPrefixListID ¶
func NewPrefixListID(globalRulestackName string, prefixListName string) PrefixListId
NewPrefixListID returns a new PrefixListId struct
func ParsePrefixListID ¶
func ParsePrefixListID(input string) (*PrefixListId, error)
ParsePrefixListID parses 'input' into a PrefixListId
func ParsePrefixListIDInsensitively ¶
func ParsePrefixListIDInsensitively(input string) (*PrefixListId, error)
ParsePrefixListIDInsensitively parses 'input' case-insensitively into a PrefixListId note: this method should only be used for API response data and not user input
func (*PrefixListId) FromParseResult ¶ added in v0.20231127.1171502
func (id *PrefixListId) FromParseResult(input resourceids.ParseResult) error
func (PrefixListId) Segments ¶
func (id PrefixListId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Prefix List ID
func (PrefixListId) String ¶
func (id PrefixListId) String() string
String returns a human-readable description of this Prefix List ID
type PrefixObject ¶
type PrefixObject struct { AuditComment *string `json:"auditComment,omitempty"` Description *string `json:"description,omitempty"` Etag *string `json:"etag,omitempty"` PrefixList []string `json:"prefixList"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error