Documentation
¶
Index ¶
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTargetTypeID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type LocationId
- type TargetType
- type TargetTypeId
- type TargetTypeOperationPredicate
- type TargetTypeProperties
- type TargetTypesClient
- func (c TargetTypesClient) Get(ctx context.Context, id TargetTypeId) (result GetOperationResponse, err error)
- func (c TargetTypesClient) List(ctx context.Context, id LocationId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c TargetTypesClient) ListComplete(ctx context.Context, id LocationId, options ListOperationOptions) (ListCompleteResult, error)
- func (c TargetTypesClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateTargetTypeID ¶
ValidateTargetTypeID checks that 'input' can be parsed as a Target Type ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TargetType }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []TargetType
}
type ListOperationOptions ¶
type ListOperationOptions struct {
ContinuationToken *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230206.1124515
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230206.1124515
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230206.1124515
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]TargetType }
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) 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 TargetType ¶
type TargetType struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties TargetTypeProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type TargetTypeId ¶
TargetTypeId is a struct representing the Resource ID for a Target Type
func NewTargetTypeID ¶
func NewTargetTypeID(subscriptionId string, locationName string, targetTypeName string) TargetTypeId
NewTargetTypeID returns a new TargetTypeId struct
func ParseTargetTypeID ¶
func ParseTargetTypeID(input string) (*TargetTypeId, error)
ParseTargetTypeID parses 'input' into a TargetTypeId
func ParseTargetTypeIDInsensitively ¶
func ParseTargetTypeIDInsensitively(input string) (*TargetTypeId, error)
ParseTargetTypeIDInsensitively parses 'input' case-insensitively into a TargetTypeId note: this method should only be used for API response data and not user input
func (TargetTypeId) Segments ¶
func (id TargetTypeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Target Type ID
func (TargetTypeId) String ¶
func (id TargetTypeId) String() string
String returns a human-readable description of this Target Type ID
type TargetTypeOperationPredicate ¶
func (TargetTypeOperationPredicate) Matches ¶
func (p TargetTypeOperationPredicate) Matches(input TargetType) bool
type TargetTypeProperties ¶
type TargetTypesClient ¶
type TargetTypesClient struct {
Client *resourcemanager.Client
}
func NewTargetTypesClientWithBaseURI ¶
func NewTargetTypesClientWithBaseURI(api environments.Api) (*TargetTypesClient, error)
func (TargetTypesClient) Get ¶
func (c TargetTypesClient) Get(ctx context.Context, id TargetTypeId) (result GetOperationResponse, err error)
Get ...
func (TargetTypesClient) List ¶
func (c TargetTypesClient) List(ctx context.Context, id LocationId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (TargetTypesClient) ListComplete ¶
func (c TargetTypesClient) ListComplete(ctx context.Context, id LocationId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (TargetTypesClient) ListCompleteMatchingPredicate ¶
func (c TargetTypesClient) ListCompleteMatchingPredicate(ctx context.Context, id LocationId, options ListOperationOptions, predicate TargetTypeOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate