Documentation ¶
Index ¶
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRaiBlocklistID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRaiBlocklistItemID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type RaiBlocklist
- type RaiBlocklistId
- type RaiBlocklistItem
- type RaiBlocklistItemId
- type RaiBlocklistItemOperationPredicate
- type RaiBlocklistItemProperties
- type RaiBlocklistItemsCreateOrUpdateOperationResponse
- type RaiBlocklistItemsDeleteOperationResponse
- type RaiBlocklistItemsGetOperationResponse
- type RaiBlocklistItemsListCompleteResult
- type RaiBlocklistItemsListOperationResponse
- type RaiBlocklistOperationPredicate
- type RaiBlocklistProperties
- type RaiBlocklistsClient
- func (c RaiBlocklistsClient) CreateOrUpdate(ctx context.Context, id RaiBlocklistId, input RaiBlocklist) (result CreateOrUpdateOperationResponse, err error)
- func (c RaiBlocklistsClient) Delete(ctx context.Context, id RaiBlocklistId) (result DeleteOperationResponse, err error)
- func (c RaiBlocklistsClient) DeleteThenPoll(ctx context.Context, id RaiBlocklistId) error
- func (c RaiBlocklistsClient) Get(ctx context.Context, id RaiBlocklistId) (result GetOperationResponse, err error)
- func (c RaiBlocklistsClient) List(ctx context.Context, id AccountId) (result ListOperationResponse, err error)
- func (c RaiBlocklistsClient) ListComplete(ctx context.Context, id AccountId) (ListCompleteResult, error)
- func (c RaiBlocklistsClient) ListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate RaiBlocklistOperationPredicate) (result ListCompleteResult, err error)
- func (c RaiBlocklistsClient) RaiBlocklistItemsCreateOrUpdate(ctx context.Context, id RaiBlocklistItemId, input RaiBlocklistItem) (result RaiBlocklistItemsCreateOrUpdateOperationResponse, err error)
- func (c RaiBlocklistsClient) RaiBlocklistItemsDelete(ctx context.Context, id RaiBlocklistItemId) (result RaiBlocklistItemsDeleteOperationResponse, err error)
- func (c RaiBlocklistsClient) RaiBlocklistItemsDeleteThenPoll(ctx context.Context, id RaiBlocklistItemId) error
- func (c RaiBlocklistsClient) RaiBlocklistItemsGet(ctx context.Context, id RaiBlocklistItemId) (result RaiBlocklistItemsGetOperationResponse, err error)
- func (c RaiBlocklistsClient) RaiBlocklistItemsList(ctx context.Context, id RaiBlocklistId) (result RaiBlocklistItemsListOperationResponse, err error)
- func (c RaiBlocklistsClient) RaiBlocklistItemsListComplete(ctx context.Context, id RaiBlocklistId) (RaiBlocklistItemsListCompleteResult, error)
- func (c RaiBlocklistsClient) RaiBlocklistItemsListCompleteMatchingPredicate(ctx context.Context, id RaiBlocklistId, ...) (result RaiBlocklistItemsListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateRaiBlocklistID ¶
ValidateRaiBlocklistID checks that 'input' can be parsed as a Rai Blocklist ID
func ValidateRaiBlocklistItemID ¶
ValidateRaiBlocklistItemID checks that 'input' can be parsed as a Rai Blocklist Item ID
Types ¶
type AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (*AccountId) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RaiBlocklist }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RaiBlocklist }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []RaiBlocklist }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RaiBlocklist }
type RaiBlocklist ¶
type RaiBlocklist struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RaiBlocklistProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type RaiBlocklistId ¶
type RaiBlocklistId struct { SubscriptionId string ResourceGroupName string AccountName string RaiBlocklistName string }
RaiBlocklistId is a struct representing the Resource ID for a Rai Blocklist
func NewRaiBlocklistID ¶
func NewRaiBlocklistID(subscriptionId string, resourceGroupName string, accountName string, raiBlocklistName string) RaiBlocklistId
NewRaiBlocklistID returns a new RaiBlocklistId struct
func ParseRaiBlocklistID ¶
func ParseRaiBlocklistID(input string) (*RaiBlocklistId, error)
ParseRaiBlocklistID parses 'input' into a RaiBlocklistId
func ParseRaiBlocklistIDInsensitively ¶
func ParseRaiBlocklistIDInsensitively(input string) (*RaiBlocklistId, error)
ParseRaiBlocklistIDInsensitively parses 'input' case-insensitively into a RaiBlocklistId note: this method should only be used for API response data and not user input
func (*RaiBlocklistId) FromParseResult ¶
func (id *RaiBlocklistId) FromParseResult(input resourceids.ParseResult) error
func (RaiBlocklistId) ID ¶
func (id RaiBlocklistId) ID() string
ID returns the formatted Rai Blocklist ID
func (RaiBlocklistId) Segments ¶
func (id RaiBlocklistId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Rai Blocklist ID
func (RaiBlocklistId) String ¶
func (id RaiBlocklistId) String() string
String returns a human-readable description of this Rai Blocklist ID
type RaiBlocklistItem ¶
type RaiBlocklistItem struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RaiBlocklistItemProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type RaiBlocklistItemId ¶
type RaiBlocklistItemId struct { SubscriptionId string ResourceGroupName string AccountName string RaiBlocklistName string RaiBlocklistItemName string }
RaiBlocklistItemId is a struct representing the Resource ID for a Rai Blocklist Item
func NewRaiBlocklistItemID ¶
func NewRaiBlocklistItemID(subscriptionId string, resourceGroupName string, accountName string, raiBlocklistName string, raiBlocklistItemName string) RaiBlocklistItemId
NewRaiBlocklistItemID returns a new RaiBlocklistItemId struct
func ParseRaiBlocklistItemID ¶
func ParseRaiBlocklistItemID(input string) (*RaiBlocklistItemId, error)
ParseRaiBlocklistItemID parses 'input' into a RaiBlocklistItemId
func ParseRaiBlocklistItemIDInsensitively ¶
func ParseRaiBlocklistItemIDInsensitively(input string) (*RaiBlocklistItemId, error)
ParseRaiBlocklistItemIDInsensitively parses 'input' case-insensitively into a RaiBlocklistItemId note: this method should only be used for API response data and not user input
func (*RaiBlocklistItemId) FromParseResult ¶
func (id *RaiBlocklistItemId) FromParseResult(input resourceids.ParseResult) error
func (RaiBlocklistItemId) ID ¶
func (id RaiBlocklistItemId) ID() string
ID returns the formatted Rai Blocklist Item ID
func (RaiBlocklistItemId) Segments ¶
func (id RaiBlocklistItemId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Rai Blocklist Item ID
func (RaiBlocklistItemId) String ¶
func (id RaiBlocklistItemId) String() string
String returns a human-readable description of this Rai Blocklist Item ID
type RaiBlocklistItemOperationPredicate ¶
type RaiBlocklistItemOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (RaiBlocklistItemOperationPredicate) Matches ¶
func (p RaiBlocklistItemOperationPredicate) Matches(input RaiBlocklistItem) bool
type RaiBlocklistItemsCreateOrUpdateOperationResponse ¶
type RaiBlocklistItemsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RaiBlocklistItem }
type RaiBlocklistItemsGetOperationResponse ¶
type RaiBlocklistItemsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RaiBlocklistItem }
type RaiBlocklistItemsListCompleteResult ¶
type RaiBlocklistItemsListCompleteResult struct { LatestHttpResponse *http.Response Items []RaiBlocklistItem }
type RaiBlocklistItemsListOperationResponse ¶
type RaiBlocklistItemsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RaiBlocklistItem }
type RaiBlocklistOperationPredicate ¶
func (RaiBlocklistOperationPredicate) Matches ¶
func (p RaiBlocklistOperationPredicate) Matches(input RaiBlocklist) bool
type RaiBlocklistProperties ¶
type RaiBlocklistProperties struct {
Description *string `json:"description,omitempty"`
}
type RaiBlocklistsClient ¶
type RaiBlocklistsClient struct {
Client *resourcemanager.Client
}
func NewRaiBlocklistsClientWithBaseURI ¶
func NewRaiBlocklistsClientWithBaseURI(sdkApi sdkEnv.Api) (*RaiBlocklistsClient, error)
func (RaiBlocklistsClient) CreateOrUpdate ¶
func (c RaiBlocklistsClient) CreateOrUpdate(ctx context.Context, id RaiBlocklistId, input RaiBlocklist) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (RaiBlocklistsClient) Delete ¶
func (c RaiBlocklistsClient) Delete(ctx context.Context, id RaiBlocklistId) (result DeleteOperationResponse, err error)
Delete ...
func (RaiBlocklistsClient) DeleteThenPoll ¶
func (c RaiBlocklistsClient) DeleteThenPoll(ctx context.Context, id RaiBlocklistId) error
DeleteThenPoll performs Delete then polls until it's completed
func (RaiBlocklistsClient) Get ¶
func (c RaiBlocklistsClient) Get(ctx context.Context, id RaiBlocklistId) (result GetOperationResponse, err error)
Get ...
func (RaiBlocklistsClient) List ¶
func (c RaiBlocklistsClient) List(ctx context.Context, id AccountId) (result ListOperationResponse, err error)
List ...
func (RaiBlocklistsClient) ListComplete ¶
func (c RaiBlocklistsClient) ListComplete(ctx context.Context, id AccountId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RaiBlocklistsClient) ListCompleteMatchingPredicate ¶
func (c RaiBlocklistsClient) ListCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate RaiBlocklistOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RaiBlocklistsClient) RaiBlocklistItemsCreateOrUpdate ¶
func (c RaiBlocklistsClient) RaiBlocklistItemsCreateOrUpdate(ctx context.Context, id RaiBlocklistItemId, input RaiBlocklistItem) (result RaiBlocklistItemsCreateOrUpdateOperationResponse, err error)
RaiBlocklistItemsCreateOrUpdate ...
func (RaiBlocklistsClient) RaiBlocklistItemsDelete ¶
func (c RaiBlocklistsClient) RaiBlocklistItemsDelete(ctx context.Context, id RaiBlocklistItemId) (result RaiBlocklistItemsDeleteOperationResponse, err error)
RaiBlocklistItemsDelete ...
func (RaiBlocklistsClient) RaiBlocklistItemsDeleteThenPoll ¶
func (c RaiBlocklistsClient) RaiBlocklistItemsDeleteThenPoll(ctx context.Context, id RaiBlocklistItemId) error
RaiBlocklistItemsDeleteThenPoll performs RaiBlocklistItemsDelete then polls until it's completed
func (RaiBlocklistsClient) RaiBlocklistItemsGet ¶
func (c RaiBlocklistsClient) RaiBlocklistItemsGet(ctx context.Context, id RaiBlocklistItemId) (result RaiBlocklistItemsGetOperationResponse, err error)
RaiBlocklistItemsGet ...
func (RaiBlocklistsClient) RaiBlocklistItemsList ¶
func (c RaiBlocklistsClient) RaiBlocklistItemsList(ctx context.Context, id RaiBlocklistId) (result RaiBlocklistItemsListOperationResponse, err error)
RaiBlocklistItemsList ...
func (RaiBlocklistsClient) RaiBlocklistItemsListComplete ¶
func (c RaiBlocklistsClient) RaiBlocklistItemsListComplete(ctx context.Context, id RaiBlocklistId) (RaiBlocklistItemsListCompleteResult, error)
RaiBlocklistItemsListComplete retrieves all the results into a single object
func (RaiBlocklistsClient) RaiBlocklistItemsListCompleteMatchingPredicate ¶
func (c RaiBlocklistsClient) RaiBlocklistItemsListCompleteMatchingPredicate(ctx context.Context, id RaiBlocklistId, predicate RaiBlocklistItemOperationPredicate) (result RaiBlocklistItemsListCompleteResult, err error)
RaiBlocklistItemsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- id_account.go
- id_raiblocklist.go
- id_raiblocklistitem.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_raiblocklistitemscreateorupdate.go
- method_raiblocklistitemsdelete.go
- method_raiblocklistitemsget.go
- method_raiblocklistitemslist.go
- model_raiblocklist.go
- model_raiblocklistitem.go
- model_raiblocklistitemproperties.go
- model_raiblocklistproperties.go
- predicates.go
- version.go