Documentation ¶
Index ¶
- func PossibleValuesForFeatureDataType() []string
- func PossibleValuesForListViewType() []string
- func ValidateFeatureID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateFeatureSetVersionID(input interface{}, key string) (warnings []string, errors []error)
- type Feature
- type FeatureClient
- func (c FeatureClient) Get(ctx context.Context, id FeatureId) (result GetOperationResponse, err error)
- func (c FeatureClient) List(ctx context.Context, id FeatureSetVersionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c FeatureClient) ListComplete(ctx context.Context, id FeatureSetVersionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c FeatureClient) ListCompleteMatchingPredicate(ctx context.Context, id FeatureSetVersionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type FeatureDataType
- type FeatureId
- type FeatureResource
- type FeatureResourceOperationPredicate
- type FeatureSetVersionId
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFeatureDataType ¶
func PossibleValuesForFeatureDataType() []string
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func ValidateFeatureID ¶
ValidateFeatureID checks that 'input' can be parsed as a Feature ID
func ValidateFeatureSetVersionID ¶
ValidateFeatureSetVersionID checks that 'input' can be parsed as a Feature Set Version ID
Types ¶
type FeatureClient ¶
type FeatureClient struct {
Client *resourcemanager.Client
}
func NewFeatureClientWithBaseURI ¶
func NewFeatureClientWithBaseURI(sdkApi sdkEnv.Api) (*FeatureClient, error)
func (FeatureClient) Get ¶
func (c FeatureClient) Get(ctx context.Context, id FeatureId) (result GetOperationResponse, err error)
Get ...
func (FeatureClient) List ¶
func (c FeatureClient) List(ctx context.Context, id FeatureSetVersionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (FeatureClient) ListComplete ¶
func (c FeatureClient) ListComplete(ctx context.Context, id FeatureSetVersionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (FeatureClient) ListCompleteMatchingPredicate ¶
func (c FeatureClient) ListCompleteMatchingPredicate(ctx context.Context, id FeatureSetVersionId, options ListOperationOptions, predicate FeatureResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type FeatureDataType ¶
type FeatureDataType string
const ( FeatureDataTypeBinary FeatureDataType = "Binary" FeatureDataTypeBoolean FeatureDataType = "Boolean" FeatureDataTypeDatetime FeatureDataType = "Datetime" FeatureDataTypeDouble FeatureDataType = "Double" FeatureDataTypeFloat FeatureDataType = "Float" FeatureDataTypeInteger FeatureDataType = "Integer" FeatureDataTypeLong FeatureDataType = "Long" FeatureDataTypeString FeatureDataType = "String" )
func (*FeatureDataType) UnmarshalJSON ¶
func (s *FeatureDataType) UnmarshalJSON(bytes []byte) error
type FeatureId ¶
type FeatureId struct { SubscriptionId string ResourceGroupName string WorkspaceName string FeatureSetName string VersionName string FeatureName string }
FeatureId is a struct representing the Resource ID for a Feature
func NewFeatureID ¶
func NewFeatureID(subscriptionId string, resourceGroupName string, workspaceName string, featureSetName string, versionName string, featureName string) FeatureId
NewFeatureID returns a new FeatureId struct
func ParseFeatureID ¶
ParseFeatureID parses 'input' into a FeatureId
func ParseFeatureIDInsensitively ¶
ParseFeatureIDInsensitively parses 'input' case-insensitively into a FeatureId note: this method should only be used for API response data and not user input
func (FeatureId) Segments ¶
func (id FeatureId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Feature ID
type FeatureResource ¶
type FeatureResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties Feature `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type FeatureResourceOperationPredicate ¶
func (FeatureResourceOperationPredicate) Matches ¶
func (p FeatureResourceOperationPredicate) Matches(input FeatureResource) bool
type FeatureSetVersionId ¶
type FeatureSetVersionId struct { SubscriptionId string ResourceGroupName string WorkspaceName string FeatureSetName string VersionName string }
FeatureSetVersionId is a struct representing the Resource ID for a Feature Set Version
func NewFeatureSetVersionID ¶
func NewFeatureSetVersionID(subscriptionId string, resourceGroupName string, workspaceName string, featureSetName string, versionName string) FeatureSetVersionId
NewFeatureSetVersionID returns a new FeatureSetVersionId struct
func ParseFeatureSetVersionID ¶
func ParseFeatureSetVersionID(input string) (*FeatureSetVersionId, error)
ParseFeatureSetVersionID parses 'input' into a FeatureSetVersionId
func ParseFeatureSetVersionIDInsensitively ¶
func ParseFeatureSetVersionIDInsensitively(input string) (*FeatureSetVersionId, error)
ParseFeatureSetVersionIDInsensitively parses 'input' case-insensitively into a FeatureSetVersionId note: this method should only be used for API response data and not user input
func (FeatureSetVersionId) ID ¶
func (id FeatureSetVersionId) ID() string
ID returns the formatted Feature Set Version ID
func (FeatureSetVersionId) Segments ¶
func (id FeatureSetVersionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Feature Set Version ID
func (FeatureSetVersionId) String ¶
func (id FeatureSetVersionId) String() string
String returns a human-readable description of this Feature Set Version ID
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FeatureResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []FeatureResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { Description *string FeatureName *string ListViewType *ListViewType PageSize *int64 Skip *string Tags *string }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FeatureResource }
type ListViewType ¶
type ListViewType string
const ( ListViewTypeActiveOnly ListViewType = "ActiveOnly" ListViewTypeAll ListViewType = "All" ListViewTypeArchivedOnly ListViewType = "ArchivedOnly" )
func (*ListViewType) UnmarshalJSON ¶
func (s *ListViewType) UnmarshalJSON(bytes []byte) error