Documentation ¶
Index ¶
- func ValidateCapabilityID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCapabilityTypeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTargetID(input interface{}, key string) (warnings []string, errors []error)
- type CapabilitiesClient
- func (c CapabilitiesClient) CapabilityTypesGet(ctx context.Context, id CapabilityTypeId) (result CapabilityTypesGetOperationResponse, err error)
- func (c CapabilitiesClient) CreateOrUpdate(ctx context.Context, id CapabilityId, input Capability) (result CreateOrUpdateOperationResponse, err error)
- func (c CapabilitiesClient) Delete(ctx context.Context, id CapabilityId) (result DeleteOperationResponse, err error)
- func (c CapabilitiesClient) Get(ctx context.Context, id CapabilityId) (result GetOperationResponse, err error)
- func (c CapabilitiesClient) List(ctx context.Context, id TargetId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c CapabilitiesClient) ListComplete(ctx context.Context, id TargetId, options ListOperationOptions) (ListCompleteResult, error)
- func (c CapabilitiesClient) ListCompleteMatchingPredicate(ctx context.Context, id TargetId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type Capability
- type CapabilityId
- type CapabilityOperationPredicate
- type CapabilityProperties
- type CapabilityType
- type CapabilityTypeId
- type CapabilityTypeProperties
- type CapabilityTypePropertiesRuntimeProperties
- type CapabilityTypesGetOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type TargetId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCapabilityID ¶ added in v0.20220907.1111434
ValidateCapabilityID checks that 'input' can be parsed as a Capability ID
func ValidateCapabilityTypeID ¶
ValidateCapabilityTypeID checks that 'input' can be parsed as a Capability Type ID
func ValidateTargetID ¶
ValidateTargetID checks that 'input' can be parsed as a Target ID
Types ¶
type CapabilitiesClient ¶
func NewCapabilitiesClientWithBaseURI ¶
func NewCapabilitiesClientWithBaseURI(endpoint string) CapabilitiesClient
func (CapabilitiesClient) CapabilityTypesGet ¶
func (c CapabilitiesClient) CapabilityTypesGet(ctx context.Context, id CapabilityTypeId) (result CapabilityTypesGetOperationResponse, err error)
CapabilityTypesGet ...
func (CapabilitiesClient) CreateOrUpdate ¶
func (c CapabilitiesClient) CreateOrUpdate(ctx context.Context, id CapabilityId, input Capability) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CapabilitiesClient) Delete ¶
func (c CapabilitiesClient) Delete(ctx context.Context, id CapabilityId) (result DeleteOperationResponse, err error)
Delete ...
func (CapabilitiesClient) Get ¶
func (c CapabilitiesClient) Get(ctx context.Context, id CapabilityId) (result GetOperationResponse, err error)
Get ...
func (CapabilitiesClient) List ¶
func (c CapabilitiesClient) List(ctx context.Context, id TargetId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (CapabilitiesClient) ListComplete ¶
func (c CapabilitiesClient) ListComplete(ctx context.Context, id TargetId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (CapabilitiesClient) ListCompleteMatchingPredicate ¶
func (c CapabilitiesClient) ListCompleteMatchingPredicate(ctx context.Context, id TargetId, options ListOperationOptions, predicate CapabilityOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type Capability ¶
type Capability struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CapabilityProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CapabilityId ¶ added in v0.20220907.1111434
type CapabilityId struct { SubscriptionId string ResourceGroupName string ProviderName string ParentResourceType string ParentResourceName string TargetName string CapabilityName string }
CapabilityId is a struct representing the Resource ID for a Capability
func NewCapabilityID ¶ added in v0.20220907.1111434
func NewCapabilityID(subscriptionId string, resourceGroupName string, providerName string, parentResourceType string, parentResourceName string, targetName string, capabilityName string) CapabilityId
NewCapabilityID returns a new CapabilityId struct
func ParseCapabilityID ¶ added in v0.20220907.1111434
func ParseCapabilityID(input string) (*CapabilityId, error)
ParseCapabilityID parses 'input' into a CapabilityId
func ParseCapabilityIDInsensitively ¶ added in v0.20220907.1111434
func ParseCapabilityIDInsensitively(input string) (*CapabilityId, error)
ParseCapabilityIDInsensitively parses 'input' case-insensitively into a CapabilityId note: this method should only be used for API response data and not user input
func (CapabilityId) ID ¶ added in v0.20220907.1111434
func (id CapabilityId) ID() string
ID returns the formatted Capability ID
func (CapabilityId) Segments ¶ added in v0.20220907.1111434
func (id CapabilityId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Capability ID
func (CapabilityId) String ¶ added in v0.20220907.1111434
func (id CapabilityId) String() string
String returns a human-readable description of this Capability ID
type CapabilityOperationPredicate ¶
func (CapabilityOperationPredicate) Matches ¶
func (p CapabilityOperationPredicate) Matches(input Capability) bool
type CapabilityProperties ¶
type CapabilityType ¶
type CapabilityType struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *CapabilityTypeProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type CapabilityTypeId ¶
type CapabilityTypeId struct { SubscriptionId string LocationName string TargetTypeName string CapabilityTypeName string }
CapabilityTypeId is a struct representing the Resource ID for a Capability Type
func NewCapabilityTypeID ¶
func NewCapabilityTypeID(subscriptionId string, locationName string, targetTypeName string, capabilityTypeName string) CapabilityTypeId
NewCapabilityTypeID returns a new CapabilityTypeId struct
func ParseCapabilityTypeID ¶
func ParseCapabilityTypeID(input string) (*CapabilityTypeId, error)
ParseCapabilityTypeID parses 'input' into a CapabilityTypeId
func ParseCapabilityTypeIDInsensitively ¶
func ParseCapabilityTypeIDInsensitively(input string) (*CapabilityTypeId, error)
ParseCapabilityTypeIDInsensitively parses 'input' case-insensitively into a CapabilityTypeId note: this method should only be used for API response data and not user input
func (CapabilityTypeId) ID ¶
func (id CapabilityTypeId) ID() string
ID returns the formatted Capability Type ID
func (CapabilityTypeId) Segments ¶
func (id CapabilityTypeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Capability Type ID
func (CapabilityTypeId) String ¶
func (id CapabilityTypeId) String() string
String returns a human-readable description of this Capability Type ID
type CapabilityTypeProperties ¶
type CapabilityTypeProperties struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Kind *string `json:"kind,omitempty"` ParametersSchema *string `json:"parametersSchema,omitempty"` Publisher *string `json:"publisher,omitempty"` RuntimeProperties *CapabilityTypePropertiesRuntimeProperties `json:"runtimeProperties,omitempty"` TargetType *string `json:"targetType,omitempty"` Urn *string `json:"urn,omitempty"` }
type CapabilityTypePropertiesRuntimeProperties ¶
type CapabilityTypePropertiesRuntimeProperties struct {
Kind *string `json:"kind,omitempty"`
}
type CapabilityTypesGetOperationResponse ¶
type CapabilityTypesGetOperationResponse struct { HttpResponse *http.Response Model *CapabilityType }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *Capability }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *Capability }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Capability
}
type ListOperationOptions ¶
type ListOperationOptions struct {
ContinuationToken *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Capability // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type TargetId ¶
type TargetId struct { SubscriptionId string ResourceGroupName string ProviderName string ParentResourceType string ParentResourceName string TargetName string }
TargetId is a struct representing the Resource ID for a Target
func NewTargetID ¶
func NewTargetID(subscriptionId string, resourceGroupName string, providerName string, parentResourceType string, parentResourceName string, targetName string) TargetId
NewTargetID returns a new TargetId struct
func ParseTargetID ¶
ParseTargetID parses 'input' into a TargetId
func ParseTargetIDInsensitively ¶
ParseTargetIDInsensitively parses 'input' case-insensitively into a TargetId note: this method should only be used for API response data and not user input
func (TargetId) Segments ¶
func (id TargetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Target ID
Source Files ¶
- client.go
- id_capability.go
- id_capabilitytype.go
- id_target.go
- method_capabilitytypesget_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_capability.go
- model_capabilityproperties.go
- model_capabilitytype.go
- model_capabilitytypeproperties.go
- model_capabilitytypepropertiesruntimeproperties.go
- predicates.go
- version.go