Documentation ¶
Index ¶
- func PossibleValuesForDataPointObservabilityMode() []string
- func PossibleValuesForEventObservabilityMode() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForTopicRetainType() []string
- func ValidateAssetID(input interface{}, key string) (warnings []string, errors []error)
- type Asset
- type AssetId
- type AssetOperationPredicate
- type AssetProperties
- type AssetStatus
- type AssetStatusDataset
- type AssetStatusError
- type AssetStatusEvent
- type AssetUpdate
- type AssetUpdateProperties
- type AssetsClient
- func (c AssetsClient) CreateOrReplace(ctx context.Context, id AssetId, input Asset) (result CreateOrReplaceOperationResponse, err error)
- func (c AssetsClient) CreateOrReplaceThenPoll(ctx context.Context, id AssetId, input Asset) error
- func (c AssetsClient) Delete(ctx context.Context, id AssetId) (result DeleteOperationResponse, err error)
- func (c AssetsClient) DeleteThenPoll(ctx context.Context, id AssetId) error
- func (c AssetsClient) Get(ctx context.Context, id AssetId) (result GetOperationResponse, err error)
- func (c AssetsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c AssetsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AssetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c AssetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c AssetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c AssetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c AssetsClient) Update(ctx context.Context, id AssetId, input AssetUpdate) (result UpdateOperationResponse, err error)
- func (c AssetsClient) UpdateThenPoll(ctx context.Context, id AssetId, input AssetUpdate) error
- type CreateOrReplaceOperationResponse
- type DataPoint
- type DataPointObservabilityMode
- type Dataset
- type DeleteOperationResponse
- type Event
- type EventObservabilityMode
- type ExtendedLocation
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type MessageSchemaReference
- type ProvisioningState
- type Topic
- type TopicRetainType
- type TopicUpdate
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDataPointObservabilityMode ¶
func PossibleValuesForDataPointObservabilityMode() []string
func PossibleValuesForEventObservabilityMode ¶
func PossibleValuesForEventObservabilityMode() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForTopicRetainType ¶
func PossibleValuesForTopicRetainType() []string
func ValidateAssetID ¶
ValidateAssetID checks that 'input' can be parsed as a Asset ID
Types ¶
type Asset ¶
type Asset struct { ExtendedLocation ExtendedLocation `json:"extendedLocation"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *AssetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AssetId ¶
AssetId is a struct representing the Resource ID for a Asset
func NewAssetID ¶
NewAssetID returns a new AssetId struct
func ParseAssetID ¶
ParseAssetID parses 'input' into a AssetId
func ParseAssetIDInsensitively ¶
ParseAssetIDInsensitively parses 'input' case-insensitively into a AssetId note: this method should only be used for API response data and not user input
func (*AssetId) FromParseResult ¶
func (id *AssetId) FromParseResult(input resourceids.ParseResult) error
func (AssetId) Segments ¶
func (id AssetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Asset ID
type AssetOperationPredicate ¶
func (AssetOperationPredicate) Matches ¶
func (p AssetOperationPredicate) Matches(input Asset) bool
type AssetProperties ¶
type AssetProperties struct { AssetEndpointProfileRef string `json:"assetEndpointProfileRef"` Attributes *map[string]interface{} `json:"attributes,omitempty"` Datasets *[]Dataset `json:"datasets,omitempty"` DefaultDatasetsConfiguration *string `json:"defaultDatasetsConfiguration,omitempty"` DefaultEventsConfiguration *string `json:"defaultEventsConfiguration,omitempty"` DefaultTopic *Topic `json:"defaultTopic,omitempty"` Description *string `json:"description,omitempty"` DiscoveredAssetRefs *[]string `json:"discoveredAssetRefs,omitempty"` DisplayName *string `json:"displayName,omitempty"` DocumentationUri *string `json:"documentationUri,omitempty"` Enabled *bool `json:"enabled,omitempty"` Events *[]Event `json:"events,omitempty"` ExternalAssetId *string `json:"externalAssetId,omitempty"` HardwareRevision *string `json:"hardwareRevision,omitempty"` Manufacturer *string `json:"manufacturer,omitempty"` ManufacturerUri *string `json:"manufacturerUri,omitempty"` Model *string `json:"model,omitempty"` ProductCode *string `json:"productCode,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` SoftwareRevision *string `json:"softwareRevision,omitempty"` Status *AssetStatus `json:"status,omitempty"` Uuid *string `json:"uuid,omitempty"` Version *int64 `json:"version,omitempty"` }
type AssetStatus ¶
type AssetStatus struct { Datasets *[]AssetStatusDataset `json:"datasets,omitempty"` Errors *[]AssetStatusError `json:"errors,omitempty"` Events *[]AssetStatusEvent `json:"events,omitempty"` Version *int64 `json:"version,omitempty"` }
type AssetStatusDataset ¶
type AssetStatusDataset struct { MessageSchemaReference *MessageSchemaReference `json:"messageSchemaReference,omitempty"` Name string `json:"name"` }
type AssetStatusError ¶
type AssetStatusEvent ¶
type AssetStatusEvent struct { MessageSchemaReference *MessageSchemaReference `json:"messageSchemaReference,omitempty"` Name string `json:"name"` }
type AssetUpdate ¶
type AssetUpdate struct { Properties *AssetUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AssetUpdateProperties ¶
type AssetUpdateProperties struct { Attributes *map[string]interface{} `json:"attributes,omitempty"` Datasets *[]Dataset `json:"datasets,omitempty"` DefaultDatasetsConfiguration *string `json:"defaultDatasetsConfiguration,omitempty"` DefaultEventsConfiguration *string `json:"defaultEventsConfiguration,omitempty"` DefaultTopic *TopicUpdate `json:"defaultTopic,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` DocumentationUri *string `json:"documentationUri,omitempty"` Enabled *bool `json:"enabled,omitempty"` Events *[]Event `json:"events,omitempty"` HardwareRevision *string `json:"hardwareRevision,omitempty"` Manufacturer *string `json:"manufacturer,omitempty"` ManufacturerUri *string `json:"manufacturerUri,omitempty"` Model *string `json:"model,omitempty"` ProductCode *string `json:"productCode,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` SoftwareRevision *string `json:"softwareRevision,omitempty"` }
type AssetsClient ¶
type AssetsClient struct {
Client *resourcemanager.Client
}
func NewAssetsClientWithBaseURI ¶
func NewAssetsClientWithBaseURI(sdkApi sdkEnv.Api) (*AssetsClient, error)
func (AssetsClient) CreateOrReplace ¶
func (c AssetsClient) CreateOrReplace(ctx context.Context, id AssetId, input Asset) (result CreateOrReplaceOperationResponse, err error)
CreateOrReplace ...
func (AssetsClient) CreateOrReplaceThenPoll ¶
CreateOrReplaceThenPoll performs CreateOrReplace then polls until it's completed
func (AssetsClient) Delete ¶
func (c AssetsClient) Delete(ctx context.Context, id AssetId) (result DeleteOperationResponse, err error)
Delete ...
func (AssetsClient) DeleteThenPoll ¶
func (c AssetsClient) DeleteThenPoll(ctx context.Context, id AssetId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AssetsClient) Get ¶
func (c AssetsClient) Get(ctx context.Context, id AssetId) (result GetOperationResponse, err error)
Get ...
func (AssetsClient) ListByResourceGroup ¶
func (c AssetsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AssetsClient) ListByResourceGroupComplete ¶
func (c AssetsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (AssetsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AssetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AssetOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AssetsClient) ListBySubscription ¶
func (c AssetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AssetsClient) ListBySubscriptionComplete ¶
func (c AssetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (AssetsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AssetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AssetOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AssetsClient) Update ¶
func (c AssetsClient) Update(ctx context.Context, id AssetId, input AssetUpdate) (result UpdateOperationResponse, err error)
Update ...
func (AssetsClient) UpdateThenPoll ¶
func (c AssetsClient) UpdateThenPoll(ctx context.Context, id AssetId, input AssetUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type DataPoint ¶
type DataPoint struct { DataPointConfiguration *string `json:"dataPointConfiguration,omitempty"` DataSource string `json:"dataSource"` Name string `json:"name"` ObservabilityMode *DataPointObservabilityMode `json:"observabilityMode,omitempty"` }
type DataPointObservabilityMode ¶
type DataPointObservabilityMode string
const ( DataPointObservabilityModeCounter DataPointObservabilityMode = "Counter" DataPointObservabilityModeGauge DataPointObservabilityMode = "Gauge" DataPointObservabilityModeHistogram DataPointObservabilityMode = "Histogram" DataPointObservabilityModeLog DataPointObservabilityMode = "Log" DataPointObservabilityModeNone DataPointObservabilityMode = "None" )
func (*DataPointObservabilityMode) UnmarshalJSON ¶
func (s *DataPointObservabilityMode) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type Event ¶
type Event struct { EventConfiguration *string `json:"eventConfiguration,omitempty"` EventNotifier string `json:"eventNotifier"` Name string `json:"name"` ObservabilityMode *EventObservabilityMode `json:"observabilityMode,omitempty"` Topic *Topic `json:"topic,omitempty"` }
type EventObservabilityMode ¶
type EventObservabilityMode string
const ( EventObservabilityModeLog EventObservabilityMode = "Log" EventObservabilityModeNone EventObservabilityMode = "None" )
func (*EventObservabilityMode) UnmarshalJSON ¶
func (s *EventObservabilityMode) UnmarshalJSON(bytes []byte) error
type ExtendedLocation ¶
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type MessageSchemaReference ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type Topic ¶
type Topic struct { Path string `json:"path"` Retain *TopicRetainType `json:"retain,omitempty"` }
type TopicRetainType ¶
type TopicRetainType string
const ( TopicRetainTypeKeep TopicRetainType = "Keep" TopicRetainTypeNever TopicRetainType = "Never" )
func (*TopicRetainType) UnmarshalJSON ¶
func (s *TopicRetainType) UnmarshalJSON(bytes []byte) error
type TopicUpdate ¶
type TopicUpdate struct { Path *string `json:"path,omitempty"` Retain *TopicRetainType `json:"retain,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_asset.go
- method_createorreplace.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_asset.go
- model_assetproperties.go
- model_assetstatus.go
- model_assetstatusdataset.go
- model_assetstatuserror.go
- model_assetstatusevent.go
- model_assetupdate.go
- model_assetupdateproperties.go
- model_datapoint.go
- model_dataset.go
- model_event.go
- model_extendedlocation.go
- model_messageschemareference.go
- model_topic.go
- model_topicupdate.go
- predicates.go
- version.go