Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForTopicRetainType() []string
- func ValidateDiscoveredAssetID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrReplaceOperationResponse
- type DeleteOperationResponse
- type DiscoveredAsset
- type DiscoveredAssetId
- type DiscoveredAssetOperationPredicate
- type DiscoveredAssetProperties
- type DiscoveredAssetUpdate
- type DiscoveredAssetUpdateProperties
- type DiscoveredAssetsClient
- func (c DiscoveredAssetsClient) CreateOrReplace(ctx context.Context, id DiscoveredAssetId, input DiscoveredAsset) (result CreateOrReplaceOperationResponse, err error)
- func (c DiscoveredAssetsClient) CreateOrReplaceThenPoll(ctx context.Context, id DiscoveredAssetId, input DiscoveredAsset) error
- func (c DiscoveredAssetsClient) Delete(ctx context.Context, id DiscoveredAssetId) (result DeleteOperationResponse, err error)
- func (c DiscoveredAssetsClient) DeleteThenPoll(ctx context.Context, id DiscoveredAssetId) error
- func (c DiscoveredAssetsClient) Get(ctx context.Context, id DiscoveredAssetId) (result GetOperationResponse, err error)
- func (c DiscoveredAssetsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c DiscoveredAssetsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c DiscoveredAssetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c DiscoveredAssetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c DiscoveredAssetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c DiscoveredAssetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c DiscoveredAssetsClient) Update(ctx context.Context, id DiscoveredAssetId, input DiscoveredAssetUpdate) (result UpdateOperationResponse, err error)
- func (c DiscoveredAssetsClient) UpdateThenPoll(ctx context.Context, id DiscoveredAssetId, input DiscoveredAssetUpdate) error
- type DiscoveredDataPoint
- type DiscoveredDataset
- type DiscoveredEvent
- type ExtendedLocation
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type Topic
- type TopicRetainType
- type TopicUpdate
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForTopicRetainType ¶
func PossibleValuesForTopicRetainType() []string
func ValidateDiscoveredAssetID ¶
ValidateDiscoveredAssetID checks that 'input' can be parsed as a Discovered Asset ID
Types ¶
type DeleteOperationResponse ¶
type DiscoveredAsset ¶
type DiscoveredAsset struct { ExtendedLocation ExtendedLocation `json:"extendedLocation"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DiscoveredAssetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DiscoveredAssetId ¶
type DiscoveredAssetId struct { SubscriptionId string ResourceGroupName string DiscoveredAssetName string }
DiscoveredAssetId is a struct representing the Resource ID for a Discovered Asset
func NewDiscoveredAssetID ¶
func NewDiscoveredAssetID(subscriptionId string, resourceGroupName string, discoveredAssetName string) DiscoveredAssetId
NewDiscoveredAssetID returns a new DiscoveredAssetId struct
func ParseDiscoveredAssetID ¶
func ParseDiscoveredAssetID(input string) (*DiscoveredAssetId, error)
ParseDiscoveredAssetID parses 'input' into a DiscoveredAssetId
func ParseDiscoveredAssetIDInsensitively ¶
func ParseDiscoveredAssetIDInsensitively(input string) (*DiscoveredAssetId, error)
ParseDiscoveredAssetIDInsensitively parses 'input' case-insensitively into a DiscoveredAssetId note: this method should only be used for API response data and not user input
func (*DiscoveredAssetId) FromParseResult ¶
func (id *DiscoveredAssetId) FromParseResult(input resourceids.ParseResult) error
func (DiscoveredAssetId) ID ¶
func (id DiscoveredAssetId) ID() string
ID returns the formatted Discovered Asset ID
func (DiscoveredAssetId) Segments ¶
func (id DiscoveredAssetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Discovered Asset ID
func (DiscoveredAssetId) String ¶
func (id DiscoveredAssetId) String() string
String returns a human-readable description of this Discovered Asset ID
type DiscoveredAssetOperationPredicate ¶
type DiscoveredAssetOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (DiscoveredAssetOperationPredicate) Matches ¶
func (p DiscoveredAssetOperationPredicate) Matches(input DiscoveredAsset) bool
type DiscoveredAssetProperties ¶
type DiscoveredAssetProperties struct { AssetEndpointProfileRef string `json:"assetEndpointProfileRef"` Datasets *[]DiscoveredDataset `json:"datasets,omitempty"` DefaultDatasetsConfiguration *string `json:"defaultDatasetsConfiguration,omitempty"` DefaultEventsConfiguration *string `json:"defaultEventsConfiguration,omitempty"` DefaultTopic *Topic `json:"defaultTopic,omitempty"` DiscoveryId string `json:"discoveryId"` DocumentationUri *string `json:"documentationUri,omitempty"` Events *[]DiscoveredEvent `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"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` SoftwareRevision *string `json:"softwareRevision,omitempty"` Version int64 `json:"version"` }
type DiscoveredAssetUpdate ¶
type DiscoveredAssetUpdate struct { Properties *DiscoveredAssetUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DiscoveredAssetUpdateProperties ¶
type DiscoveredAssetUpdateProperties struct { Datasets *[]DiscoveredDataset `json:"datasets,omitempty"` DefaultDatasetsConfiguration *string `json:"defaultDatasetsConfiguration,omitempty"` DefaultEventsConfiguration *string `json:"defaultEventsConfiguration,omitempty"` DefaultTopic *TopicUpdate `json:"defaultTopic,omitempty"` DiscoveryId *string `json:"discoveryId,omitempty"` DocumentationUri *string `json:"documentationUri,omitempty"` Events *[]DiscoveredEvent `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"` Version *int64 `json:"version,omitempty"` }
type DiscoveredAssetsClient ¶
type DiscoveredAssetsClient struct {
Client *resourcemanager.Client
}
func NewDiscoveredAssetsClientWithBaseURI ¶
func NewDiscoveredAssetsClientWithBaseURI(sdkApi sdkEnv.Api) (*DiscoveredAssetsClient, error)
func (DiscoveredAssetsClient) CreateOrReplace ¶
func (c DiscoveredAssetsClient) CreateOrReplace(ctx context.Context, id DiscoveredAssetId, input DiscoveredAsset) (result CreateOrReplaceOperationResponse, err error)
CreateOrReplace ...
func (DiscoveredAssetsClient) CreateOrReplaceThenPoll ¶
func (c DiscoveredAssetsClient) CreateOrReplaceThenPoll(ctx context.Context, id DiscoveredAssetId, input DiscoveredAsset) error
CreateOrReplaceThenPoll performs CreateOrReplace then polls until it's completed
func (DiscoveredAssetsClient) Delete ¶
func (c DiscoveredAssetsClient) Delete(ctx context.Context, id DiscoveredAssetId) (result DeleteOperationResponse, err error)
Delete ...
func (DiscoveredAssetsClient) DeleteThenPoll ¶
func (c DiscoveredAssetsClient) DeleteThenPoll(ctx context.Context, id DiscoveredAssetId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DiscoveredAssetsClient) Get ¶
func (c DiscoveredAssetsClient) Get(ctx context.Context, id DiscoveredAssetId) (result GetOperationResponse, err error)
Get ...
func (DiscoveredAssetsClient) ListByResourceGroup ¶
func (c DiscoveredAssetsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DiscoveredAssetsClient) ListByResourceGroupComplete ¶
func (c DiscoveredAssetsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (DiscoveredAssetsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DiscoveredAssetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DiscoveredAssetOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DiscoveredAssetsClient) ListBySubscription ¶
func (c DiscoveredAssetsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DiscoveredAssetsClient) ListBySubscriptionComplete ¶
func (c DiscoveredAssetsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (DiscoveredAssetsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DiscoveredAssetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DiscoveredAssetOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DiscoveredAssetsClient) Update ¶
func (c DiscoveredAssetsClient) Update(ctx context.Context, id DiscoveredAssetId, input DiscoveredAssetUpdate) (result UpdateOperationResponse, err error)
Update ...
func (DiscoveredAssetsClient) UpdateThenPoll ¶
func (c DiscoveredAssetsClient) UpdateThenPoll(ctx context.Context, id DiscoveredAssetId, input DiscoveredAssetUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type DiscoveredDataPoint ¶
type DiscoveredDataPoint struct { DataPointConfiguration *string `json:"dataPointConfiguration,omitempty"` DataSource string `json:"dataSource"` LastUpdatedOn *string `json:"lastUpdatedOn,omitempty"` Name string `json:"name"` }
func (*DiscoveredDataPoint) GetLastUpdatedOnAsTime ¶
func (o *DiscoveredDataPoint) GetLastUpdatedOnAsTime() (*time.Time, error)
func (*DiscoveredDataPoint) SetLastUpdatedOnAsTime ¶
func (o *DiscoveredDataPoint) SetLastUpdatedOnAsTime(input time.Time)
type DiscoveredDataset ¶
type DiscoveredDataset struct { DataPoints *[]DiscoveredDataPoint `json:"dataPoints,omitempty"` DatasetConfiguration *string `json:"datasetConfiguration,omitempty"` Name string `json:"name"` Topic *Topic `json:"topic,omitempty"` }
type DiscoveredEvent ¶
type DiscoveredEvent struct { EventConfiguration *string `json:"eventConfiguration,omitempty"` EventNotifier string `json:"eventNotifier"` LastUpdatedOn *string `json:"lastUpdatedOn,omitempty"` Name string `json:"name"` Topic *Topic `json:"topic,omitempty"` }
func (*DiscoveredEvent) GetLastUpdatedOnAsTime ¶
func (o *DiscoveredEvent) GetLastUpdatedOnAsTime() (*time.Time, error)
func (*DiscoveredEvent) SetLastUpdatedOnAsTime ¶
func (o *DiscoveredEvent) SetLastUpdatedOnAsTime(input time.Time)
type ExtendedLocation ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DiscoveredAsset }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []DiscoveredAsset }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DiscoveredAsset }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []DiscoveredAsset }
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DiscoveredAsset }
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"` }
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_discoveredasset.go
- method_createorreplace.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_discoveredasset.go
- model_discoveredassetproperties.go
- model_discoveredassetupdate.go
- model_discoveredassetupdateproperties.go
- model_discovereddatapoint.go
- model_discovereddataset.go
- model_discoveredevent.go
- model_extendedlocation.go
- model_topic.go
- model_topicupdate.go
- predicates.go
- version.go