Versions in this module Expand all Collapse all v0 v0.1.0 Apr 22, 2024 Changes in this version + type ActionType string + const ActionTypeInternal + func PossibleActionTypeValues() []ActionType + type Asset struct + ExtendedLocation *ExtendedLocation + ID *string + Location *string + Name *string + Properties *AssetProperties + SystemData *SystemData + Tags map[string]*string + Type *string + func (a *Asset) UnmarshalJSON(data []byte) error + func (a Asset) MarshalJSON() ([]byte, error) + type AssetEndpointProfile struct + ExtendedLocation *ExtendedLocation + ID *string + Location *string + Name *string + Properties *AssetEndpointProfileProperties + SystemData *SystemData + Tags map[string]*string + Type *string + func (a *AssetEndpointProfile) UnmarshalJSON(data []byte) error + func (a AssetEndpointProfile) MarshalJSON() ([]byte, error) + type AssetEndpointProfileListResult struct + NextLink *string + Value []*AssetEndpointProfile + func (a *AssetEndpointProfileListResult) UnmarshalJSON(data []byte) error + func (a AssetEndpointProfileListResult) MarshalJSON() ([]byte, error) + type AssetEndpointProfileProperties struct + AdditionalConfiguration *string + ProvisioningState *ProvisioningState + TargetAddress *string + TransportAuthentication *TransportAuthentication + UUID *string + UserAuthentication *UserAuthentication + func (a *AssetEndpointProfileProperties) UnmarshalJSON(data []byte) error + func (a AssetEndpointProfileProperties) MarshalJSON() ([]byte, error) + type AssetEndpointProfileUpdate struct + Properties *AssetEndpointProfileUpdateProperties + Tags map[string]*string + func (a *AssetEndpointProfileUpdate) UnmarshalJSON(data []byte) error + func (a AssetEndpointProfileUpdate) MarshalJSON() ([]byte, error) + type AssetEndpointProfileUpdateProperties struct + AdditionalConfiguration *string + TargetAddress *string + TransportAuthentication *TransportAuthenticationUpdate + UserAuthentication *UserAuthenticationUpdate + func (a *AssetEndpointProfileUpdateProperties) UnmarshalJSON(data []byte) error + func (a AssetEndpointProfileUpdateProperties) MarshalJSON() ([]byte, error) + type AssetEndpointProfilesClient struct + func NewAssetEndpointProfilesClient(subscriptionID string, credential azcore.TokenCredential, ...) (*AssetEndpointProfilesClient, error) + func (client *AssetEndpointProfilesClient) BeginCreateOrReplace(ctx context.Context, resourceGroupName string, assetEndpointProfileName string, ...) (*runtime.Poller[AssetEndpointProfilesClientCreateOrReplaceResponse], error) + func (client *AssetEndpointProfilesClient) BeginDelete(ctx context.Context, resourceGroupName string, assetEndpointProfileName string, ...) (*runtime.Poller[AssetEndpointProfilesClientDeleteResponse], error) + func (client *AssetEndpointProfilesClient) BeginUpdate(ctx context.Context, resourceGroupName string, assetEndpointProfileName string, ...) (*runtime.Poller[AssetEndpointProfilesClientUpdateResponse], error) + func (client *AssetEndpointProfilesClient) Get(ctx context.Context, resourceGroupName string, assetEndpointProfileName string, ...) (AssetEndpointProfilesClientGetResponse, error) + func (client *AssetEndpointProfilesClient) NewListByResourceGroupPager(resourceGroupName string, ...) *runtime.Pager[AssetEndpointProfilesClientListByResourceGroupResponse] + func (client *AssetEndpointProfilesClient) NewListBySubscriptionPager(options *AssetEndpointProfilesClientListBySubscriptionOptions) *runtime.Pager[AssetEndpointProfilesClientListBySubscriptionResponse] + type AssetEndpointProfilesClientBeginCreateOrReplaceOptions struct + ResumeToken string + type AssetEndpointProfilesClientBeginDeleteOptions struct + ResumeToken string + type AssetEndpointProfilesClientBeginUpdateOptions struct + ResumeToken string + type AssetEndpointProfilesClientCreateOrReplaceResponse struct + type AssetEndpointProfilesClientDeleteResponse struct + type AssetEndpointProfilesClientGetOptions struct + type AssetEndpointProfilesClientGetResponse struct + type AssetEndpointProfilesClientListByResourceGroupOptions struct + type AssetEndpointProfilesClientListByResourceGroupResponse struct + type AssetEndpointProfilesClientListBySubscriptionOptions struct + type AssetEndpointProfilesClientListBySubscriptionResponse struct + type AssetEndpointProfilesClientUpdateResponse struct + type AssetListResult struct + NextLink *string + Value []*Asset + func (a *AssetListResult) UnmarshalJSON(data []byte) error + func (a AssetListResult) MarshalJSON() ([]byte, error) + type AssetProperties struct + AssetEndpointProfileURI *string + AssetType *string + Attributes map[string]any + DataPoints []*DataPoint + DefaultDataPointsConfiguration *string + DefaultEventsConfiguration *string + Description *string + DisplayName *string + DocumentationURI *string + Enabled *bool + Events []*Event + ExternalAssetID *string + HardwareRevision *string + Manufacturer *string + ManufacturerURI *string + Model *string + ProductCode *string + ProvisioningState *ProvisioningState + SerialNumber *string + SoftwareRevision *string + Status *AssetStatus + UUID *string + Version *int32 + func (a *AssetProperties) UnmarshalJSON(data []byte) error + func (a AssetProperties) MarshalJSON() ([]byte, error) + type AssetStatus struct + Errors []*AssetStatusError + Version *int32 + func (a *AssetStatus) UnmarshalJSON(data []byte) error + func (a AssetStatus) MarshalJSON() ([]byte, error) + type AssetStatusError struct + Code *int32 + Message *string + func (a *AssetStatusError) UnmarshalJSON(data []byte) error + func (a AssetStatusError) MarshalJSON() ([]byte, error) + type AssetUpdate struct + Properties *AssetUpdateProperties + Tags map[string]*string + func (a *AssetUpdate) UnmarshalJSON(data []byte) error + func (a AssetUpdate) MarshalJSON() ([]byte, error) + type AssetUpdateProperties struct + AssetType *string + Attributes map[string]any + DataPoints []*DataPoint + DefaultDataPointsConfiguration *string + DefaultEventsConfiguration *string + Description *string + DisplayName *string + DocumentationURI *string + Enabled *bool + Events []*Event + HardwareRevision *string + Manufacturer *string + ManufacturerURI *string + Model *string + ProductCode *string + SerialNumber *string + SoftwareRevision *string + func (a *AssetUpdateProperties) UnmarshalJSON(data []byte) error + func (a AssetUpdateProperties) MarshalJSON() ([]byte, error) + type AssetsClient struct + func NewAssetsClient(subscriptionID string, credential azcore.TokenCredential, ...) (*AssetsClient, error) + func (client *AssetsClient) BeginCreateOrReplace(ctx context.Context, resourceGroupName string, assetName string, ...) (*runtime.Poller[AssetsClientCreateOrReplaceResponse], error) + func (client *AssetsClient) BeginDelete(ctx context.Context, resourceGroupName string, assetName string, ...) (*runtime.Poller[AssetsClientDeleteResponse], error) + func (client *AssetsClient) BeginUpdate(ctx context.Context, resourceGroupName string, assetName string, ...) (*runtime.Poller[AssetsClientUpdateResponse], error) + func (client *AssetsClient) Get(ctx context.Context, resourceGroupName string, assetName string, ...) (AssetsClientGetResponse, error) + func (client *AssetsClient) NewListByResourceGroupPager(resourceGroupName string, options *AssetsClientListByResourceGroupOptions) *runtime.Pager[AssetsClientListByResourceGroupResponse] + func (client *AssetsClient) NewListBySubscriptionPager(options *AssetsClientListBySubscriptionOptions) *runtime.Pager[AssetsClientListBySubscriptionResponse] + type AssetsClientBeginCreateOrReplaceOptions struct + ResumeToken string + type AssetsClientBeginDeleteOptions struct + ResumeToken string + type AssetsClientBeginUpdateOptions struct + ResumeToken string + type AssetsClientCreateOrReplaceResponse struct + type AssetsClientDeleteResponse struct + type AssetsClientGetOptions struct + type AssetsClientGetResponse struct + type AssetsClientListByResourceGroupOptions struct + type AssetsClientListByResourceGroupResponse struct + type AssetsClientListBySubscriptionOptions struct + type AssetsClientListBySubscriptionResponse struct + type AssetsClientUpdateResponse struct + type ClientFactory struct + func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, ...) (*ClientFactory, error) + func (c *ClientFactory) NewAssetEndpointProfilesClient() *AssetEndpointProfilesClient + func (c *ClientFactory) NewAssetsClient() *AssetsClient + func (c *ClientFactory) NewOperationStatusClient() *OperationStatusClient + func (c *ClientFactory) NewOperationsClient() *OperationsClient + type CreatedByType string + const CreatedByTypeApplication + const CreatedByTypeKey + const CreatedByTypeManagedIdentity + const CreatedByTypeUser + func PossibleCreatedByTypeValues() []CreatedByType + type DataPoint struct + CapabilityID *string + DataPointConfiguration *string + DataSource *string + Name *string + ObservabilityMode *DataPointsObservabilityMode + func (d *DataPoint) UnmarshalJSON(data []byte) error + func (d DataPoint) MarshalJSON() ([]byte, error) + type DataPointsObservabilityMode string + const DataPointsObservabilityModeCounter + const DataPointsObservabilityModeGauge + const DataPointsObservabilityModeHistogram + const DataPointsObservabilityModeLog + const DataPointsObservabilityModeNone + func PossibleDataPointsObservabilityModeValues() []DataPointsObservabilityMode + type ErrorAdditionalInfo struct + Info any + Type *string + func (e *ErrorAdditionalInfo) UnmarshalJSON(data []byte) error + func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error) + type ErrorDetail struct + AdditionalInfo []*ErrorAdditionalInfo + Code *string + Details []*ErrorDetail + Message *string + Target *string + func (e *ErrorDetail) UnmarshalJSON(data []byte) error + func (e ErrorDetail) MarshalJSON() ([]byte, error) + type Event struct + CapabilityID *string + EventConfiguration *string + EventNotifier *string + Name *string + ObservabilityMode *EventsObservabilityMode + func (e *Event) UnmarshalJSON(data []byte) error + func (e Event) MarshalJSON() ([]byte, error) + type EventsObservabilityMode string + const EventsObservabilityModeLog + const EventsObservabilityModeNone + func PossibleEventsObservabilityModeValues() []EventsObservabilityMode + type ExtendedLocation struct + Name *string + Type *string + func (e *ExtendedLocation) UnmarshalJSON(data []byte) error + func (e ExtendedLocation) MarshalJSON() ([]byte, error) + type Operation struct + ActionType *ActionType + Display *OperationDisplay + IsDataAction *bool + Name *string + Origin *Origin + func (o *Operation) UnmarshalJSON(data []byte) error + func (o Operation) MarshalJSON() ([]byte, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + func (o *OperationDisplay) UnmarshalJSON(data []byte) error + func (o OperationDisplay) MarshalJSON() ([]byte, error) + type OperationListResult struct + NextLink *string + Value []*Operation + func (o *OperationListResult) UnmarshalJSON(data []byte) error + func (o OperationListResult) MarshalJSON() ([]byte, error) + type OperationStatusClient struct + func NewOperationStatusClient(subscriptionID string, credential azcore.TokenCredential, ...) (*OperationStatusClient, error) + func (client *OperationStatusClient) Get(ctx context.Context, location string, operationID string, ...) (OperationStatusClientGetResponse, error) + type OperationStatusClientGetOptions struct + type OperationStatusClientGetResponse struct + type OperationStatusResult struct + EndTime *time.Time + Error *ErrorDetail + ID *string + Name *string + Operations []*OperationStatusResult + PercentComplete *float32 + StartTime *time.Time + Status *string + func (o *OperationStatusResult) UnmarshalJSON(data []byte) error + func (o OperationStatusResult) MarshalJSON() ([]byte, error) + type OperationsClient struct + func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error) + func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse] + type OperationsClientListOptions struct + type OperationsClientListResponse struct + type Origin string + const OriginSystem + const OriginUser + const OriginUserSystem + func PossibleOriginValues() []Origin + type OwnCertificate struct + CertPasswordReference *string + CertSecretReference *string + CertThumbprint *string + func (o *OwnCertificate) UnmarshalJSON(data []byte) error + func (o OwnCertificate) MarshalJSON() ([]byte, error) + type ProvisioningState string + const ProvisioningStateAccepted + const ProvisioningStateCanceled + const ProvisioningStateFailed + const ProvisioningStateSucceeded + func PossibleProvisioningStateValues() []ProvisioningState + type SystemData struct + CreatedAt *time.Time + CreatedBy *string + CreatedByType *CreatedByType + LastModifiedAt *time.Time + LastModifiedBy *string + LastModifiedByType *CreatedByType + func (s *SystemData) UnmarshalJSON(data []byte) error + func (s SystemData) MarshalJSON() ([]byte, error) + type TransportAuthentication struct + OwnCertificates []*OwnCertificate + func (t *TransportAuthentication) UnmarshalJSON(data []byte) error + func (t TransportAuthentication) MarshalJSON() ([]byte, error) + type TransportAuthenticationUpdate struct + OwnCertificates []*OwnCertificate + func (t *TransportAuthenticationUpdate) UnmarshalJSON(data []byte) error + func (t TransportAuthenticationUpdate) MarshalJSON() ([]byte, error) + type UserAuthentication struct + Mode *UserAuthenticationMode + UsernamePasswordCredentials *UsernamePasswordCredentials + X509Credentials *X509Credentials + func (u *UserAuthentication) UnmarshalJSON(data []byte) error + func (u UserAuthentication) MarshalJSON() ([]byte, error) + type UserAuthenticationMode string + const UserAuthenticationModeAnonymous + const UserAuthenticationModeCertificate + const UserAuthenticationModeUsernamePassword + func PossibleUserAuthenticationModeValues() []UserAuthenticationMode + type UserAuthenticationUpdate struct + Mode *UserAuthenticationMode + UsernamePasswordCredentials *UsernamePasswordCredentialsUpdate + X509Credentials *X509CredentialsUpdate + func (u *UserAuthenticationUpdate) UnmarshalJSON(data []byte) error + func (u UserAuthenticationUpdate) MarshalJSON() ([]byte, error) + type UsernamePasswordCredentials struct + PasswordReference *string + UsernameReference *string + func (u *UsernamePasswordCredentials) UnmarshalJSON(data []byte) error + func (u UsernamePasswordCredentials) MarshalJSON() ([]byte, error) + type UsernamePasswordCredentialsUpdate struct + PasswordReference *string + UsernameReference *string + func (u *UsernamePasswordCredentialsUpdate) UnmarshalJSON(data []byte) error + func (u UsernamePasswordCredentialsUpdate) MarshalJSON() ([]byte, error) + type X509Credentials struct + CertificateReference *string + func (x *X509Credentials) UnmarshalJSON(data []byte) error + func (x X509Credentials) MarshalJSON() ([]byte, error) + type X509CredentialsUpdate struct + CertificateReference *string + func (x *X509CredentialsUpdate) UnmarshalJSON(data []byte) error + func (x X509CredentialsUpdate) MarshalJSON() ([]byte, error)