Documentation ¶
Index ¶
- func PossibleValuesForRaiContentFilterType() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type LocationId
- type RaiContentFilter
- type RaiContentFilterOperationPredicate
- type RaiContentFilterType
- type RaiContentFiltersClient
- func (c RaiContentFiltersClient) List(ctx context.Context, id LocationId) (result ListOperationResponse, err error)
- func (c RaiContentFiltersClient) ListComplete(ctx context.Context, id LocationId) (ListCompleteResult, error)
- func (c RaiContentFiltersClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRaiContentFilterType ¶
func PossibleValuesForRaiContentFilterType() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []RaiContentFilter }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RaiContentFilter }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type RaiContentFilter ¶
type RaiContentFilter struct { Description *string `json:"description,omitempty"` FilterType *RaiContentFilterType `json:"filterType,omitempty"` PolicyName *string `json:"policyName,omitempty"` }
type RaiContentFilterOperationPredicate ¶
func (RaiContentFilterOperationPredicate) Matches ¶
func (p RaiContentFilterOperationPredicate) Matches(input RaiContentFilter) bool
type RaiContentFilterType ¶
type RaiContentFilterType string
const ( RaiContentFilterTypeMultiLevel RaiContentFilterType = "MultiLevel" RaiContentFilterTypeSwitch RaiContentFilterType = "Switch" )
func (*RaiContentFilterType) UnmarshalJSON ¶
func (s *RaiContentFilterType) UnmarshalJSON(bytes []byte) error
type RaiContentFiltersClient ¶
type RaiContentFiltersClient struct {
Client *resourcemanager.Client
}
func NewRaiContentFiltersClientWithBaseURI ¶
func NewRaiContentFiltersClientWithBaseURI(sdkApi sdkEnv.Api) (*RaiContentFiltersClient, error)
func (RaiContentFiltersClient) List ¶
func (c RaiContentFiltersClient) List(ctx context.Context, id LocationId) (result ListOperationResponse, err error)
List ...
func (RaiContentFiltersClient) ListComplete ¶
func (c RaiContentFiltersClient) ListComplete(ctx context.Context, id LocationId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RaiContentFiltersClient) ListCompleteMatchingPredicate ¶
func (c RaiContentFiltersClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate RaiContentFilterOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate