Documentation ¶
Index ¶
- func ValidateAzureWebCategoryID(input interface{}, key string) (warnings []string, errors []error)
- type AzureWebCategory
- type AzureWebCategoryId
- type AzureWebCategoryOperationPredicate
- type AzureWebCategoryPropertiesFormat
- type GetOperationOptions
- type GetOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type WebCategoriesClient
- func (c WebCategoriesClient) Get(ctx context.Context, id AzureWebCategoryId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c WebCategoriesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c WebCategoriesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c WebCategoriesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAzureWebCategoryID ¶
ValidateAzureWebCategoryID checks that 'input' can be parsed as a Azure Web Category ID
Types ¶
type AzureWebCategory ¶
type AzureWebCategory struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AzureWebCategoryPropertiesFormat `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AzureWebCategoryId ¶
AzureWebCategoryId is a struct representing the Resource ID for a Azure Web Category
func NewAzureWebCategoryID ¶
func NewAzureWebCategoryID(subscriptionId string, azureWebCategoryName string) AzureWebCategoryId
NewAzureWebCategoryID returns a new AzureWebCategoryId struct
func ParseAzureWebCategoryID ¶
func ParseAzureWebCategoryID(input string) (*AzureWebCategoryId, error)
ParseAzureWebCategoryID parses 'input' into a AzureWebCategoryId
func ParseAzureWebCategoryIDInsensitively ¶
func ParseAzureWebCategoryIDInsensitively(input string) (*AzureWebCategoryId, error)
ParseAzureWebCategoryIDInsensitively parses 'input' case-insensitively into a AzureWebCategoryId note: this method should only be used for API response data and not user input
func (*AzureWebCategoryId) FromParseResult ¶
func (id *AzureWebCategoryId) FromParseResult(input resourceids.ParseResult) error
func (AzureWebCategoryId) ID ¶
func (id AzureWebCategoryId) ID() string
ID returns the formatted Azure Web Category ID
func (AzureWebCategoryId) Segments ¶
func (id AzureWebCategoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Azure Web Category ID
func (AzureWebCategoryId) String ¶
func (id AzureWebCategoryId) String() string
String returns a human-readable description of this Azure Web Category ID
type AzureWebCategoryOperationPredicate ¶
type AzureWebCategoryOperationPredicate struct { Etag *string Id *string Name *string Type *string }
func (AzureWebCategoryOperationPredicate) Matches ¶
func (p AzureWebCategoryOperationPredicate) Matches(input AzureWebCategory) bool
type AzureWebCategoryPropertiesFormat ¶
type AzureWebCategoryPropertiesFormat struct {
Group *string `json:"group,omitempty"`
}
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 *AzureWebCategory }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []AzureWebCategory }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AzureWebCategory }
type WebCategoriesClient ¶
type WebCategoriesClient struct {
Client *resourcemanager.Client
}
func NewWebCategoriesClientWithBaseURI ¶
func NewWebCategoriesClientWithBaseURI(sdkApi sdkEnv.Api) (*WebCategoriesClient, error)
func (WebCategoriesClient) Get ¶
func (c WebCategoriesClient) Get(ctx context.Context, id AzureWebCategoryId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (WebCategoriesClient) ListBySubscription ¶
func (c WebCategoriesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (WebCategoriesClient) ListBySubscriptionComplete ¶
func (c WebCategoriesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (WebCategoriesClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c WebCategoriesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AzureWebCategoryOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate