Documentation ¶
Overview ¶
Package devices implements the Azure ARM Devices service API version 2018-12-01-preview.
Use this API to manage the IoT hubs in your Azure subscription.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AccessRights
- type BaseClient
- type Capabilities
- type CertificateBodyDescription
- type CertificateDescription
- type CertificateListDescription
- type CertificateProperties
- type CertificatePropertiesWithNonce
- type CertificateVerificationDescription
- type CertificateWithNonceDescription
- type CertificatesClient
- func (client CertificatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result CertificateDescription, err error)
- func (client CertificatesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (result CertificateDescription, err error)
- func (client CertificatesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client CertificatesClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result autorest.Response, err error)
- func (client CertificatesClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client CertificatesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client CertificatesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client CertificatesClient) GenerateVerificationCode(ctx context.Context, resourceGroupName string, resourceName string, ...) (result CertificateWithNonceDescription, err error)
- func (client CertificatesClient) GenerateVerificationCodePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client CertificatesClient) GenerateVerificationCodeResponder(resp *http.Response) (result CertificateWithNonceDescription, err error)
- func (client CertificatesClient) GenerateVerificationCodeSender(req *http.Request) (*http.Response, error)
- func (client CertificatesClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result CertificateDescription, err error)
- func (client CertificatesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client CertificatesClient) GetResponder(resp *http.Response) (result CertificateDescription, err error)
- func (client CertificatesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client CertificatesClient) ListByIotHub(ctx context.Context, resourceGroupName string, resourceName string) (result CertificateListDescription, err error)
- func (client CertificatesClient) ListByIotHubPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client CertificatesClient) ListByIotHubResponder(resp *http.Response) (result CertificateListDescription, err error)
- func (client CertificatesClient) ListByIotHubSender(req *http.Request) (*http.Response, error)
- func (client CertificatesClient) Verify(ctx context.Context, resourceGroupName string, resourceName string, ...) (result CertificateDescription, err error)
- func (client CertificatesClient) VerifyPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client CertificatesClient) VerifyResponder(resp *http.Response) (result CertificateDescription, err error)
- func (client CertificatesClient) VerifySender(req *http.Request) (*http.Response, error)
- type CloudToDeviceProperties
- type EndpointHealthData
- type EndpointHealthDataListResult
- type EndpointHealthDataListResultIterator
- func (iter *EndpointHealthDataListResultIterator) Next() error
- func (iter *EndpointHealthDataListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter EndpointHealthDataListResultIterator) NotDone() bool
- func (iter EndpointHealthDataListResultIterator) Response() EndpointHealthDataListResult
- func (iter EndpointHealthDataListResultIterator) Value() EndpointHealthData
- type EndpointHealthDataListResultPage
- func (page *EndpointHealthDataListResultPage) Next() error
- func (page *EndpointHealthDataListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page EndpointHealthDataListResultPage) NotDone() bool
- func (page EndpointHealthDataListResultPage) Response() EndpointHealthDataListResult
- func (page EndpointHealthDataListResultPage) Values() []EndpointHealthData
- type EndpointHealthStatus
- type ErrorDetails
- type EventHubConsumerGroupInfo
- type EventHubConsumerGroupsListResult
- type EventHubConsumerGroupsListResultIterator
- func (iter *EventHubConsumerGroupsListResultIterator) Next() error
- func (iter *EventHubConsumerGroupsListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter EventHubConsumerGroupsListResultIterator) NotDone() bool
- func (iter EventHubConsumerGroupsListResultIterator) Response() EventHubConsumerGroupsListResult
- func (iter EventHubConsumerGroupsListResultIterator) Value() EventHubConsumerGroupInfo
- type EventHubConsumerGroupsListResultPage
- func (page *EventHubConsumerGroupsListResultPage) Next() error
- func (page *EventHubConsumerGroupsListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page EventHubConsumerGroupsListResultPage) NotDone() bool
- func (page EventHubConsumerGroupsListResultPage) Response() EventHubConsumerGroupsListResult
- func (page EventHubConsumerGroupsListResultPage) Values() []EventHubConsumerGroupInfo
- type EventHubProperties
- type ExportDevicesRequest
- type FallbackRouteProperties
- type FeedbackProperties
- type IPFilterActionType
- type IPFilterRule
- type ImportDevicesRequest
- type IotHubCapacity
- type IotHubDescription
- type IotHubDescriptionListResult
- type IotHubDescriptionListResultIterator
- func (iter *IotHubDescriptionListResultIterator) Next() error
- func (iter *IotHubDescriptionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter IotHubDescriptionListResultIterator) NotDone() bool
- func (iter IotHubDescriptionListResultIterator) Response() IotHubDescriptionListResult
- func (iter IotHubDescriptionListResultIterator) Value() IotHubDescription
- type IotHubDescriptionListResultPage
- func (page *IotHubDescriptionListResultPage) Next() error
- func (page *IotHubDescriptionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page IotHubDescriptionListResultPage) NotDone() bool
- func (page IotHubDescriptionListResultPage) Response() IotHubDescriptionListResult
- func (page IotHubDescriptionListResultPage) Values() []IotHubDescription
- type IotHubNameAvailabilityInfo
- type IotHubNameUnavailabilityReason
- type IotHubProperties
- type IotHubPropertiesDeviceStreams
- type IotHubQuotaMetricInfo
- type IotHubQuotaMetricInfoListResult
- type IotHubQuotaMetricInfoListResultIterator
- func (iter *IotHubQuotaMetricInfoListResultIterator) Next() error
- func (iter *IotHubQuotaMetricInfoListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter IotHubQuotaMetricInfoListResultIterator) NotDone() bool
- func (iter IotHubQuotaMetricInfoListResultIterator) Response() IotHubQuotaMetricInfoListResult
- func (iter IotHubQuotaMetricInfoListResultIterator) Value() IotHubQuotaMetricInfo
- type IotHubQuotaMetricInfoListResultPage
- func (page *IotHubQuotaMetricInfoListResultPage) Next() error
- func (page *IotHubQuotaMetricInfoListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page IotHubQuotaMetricInfoListResultPage) NotDone() bool
- func (page IotHubQuotaMetricInfoListResultPage) Response() IotHubQuotaMetricInfoListResult
- func (page IotHubQuotaMetricInfoListResultPage) Values() []IotHubQuotaMetricInfo
- type IotHubResourceClient
- func (client IotHubResourceClient) CheckNameAvailability(ctx context.Context, operationInputs OperationInputs) (result IotHubNameAvailabilityInfo, err error)
- func (client IotHubResourceClient) CheckNameAvailabilityPreparer(ctx context.Context, operationInputs OperationInputs) (*http.Request, error)
- func (client IotHubResourceClient) CheckNameAvailabilityResponder(resp *http.Response) (result IotHubNameAvailabilityInfo, err error)
- func (client IotHubResourceClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) CreateEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, ...) (result EventHubConsumerGroupInfo, err error)
- func (client IotHubResourceClient) CreateEventHubConsumerGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *http.Response) (result EventHubConsumerGroupInfo, err error)
- func (client IotHubResourceClient) CreateEventHubConsumerGroupSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result IotHubResourceCreateOrUpdateFuture, err error)
- func (client IotHubResourceClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) CreateOrUpdateResponder(resp *http.Response) (result IotHubDescription, err error)
- func (client IotHubResourceClient) CreateOrUpdateSender(req *http.Request) (future IotHubResourceCreateOrUpdateFuture, err error)
- func (client IotHubResourceClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubResourceDeleteFuture, err error)
- func (client IotHubResourceClient) DeleteEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, ...) (result autorest.Response, err error)
- func (client IotHubResourceClient) DeleteEventHubConsumerGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) DeleteEventHubConsumerGroupResponder(resp *http.Response) (result autorest.Response, err error)
- func (client IotHubResourceClient) DeleteEventHubConsumerGroupSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client IotHubResourceClient) DeleteResponder(resp *http.Response) (result SetObject, err error)
- func (client IotHubResourceClient) DeleteSender(req *http.Request) (future IotHubResourceDeleteFuture, err error)
- func (client IotHubResourceClient) ExportDevices(ctx context.Context, resourceGroupName string, resourceName string, ...) (result JobResponse, err error)
- func (client IotHubResourceClient) ExportDevicesPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) ExportDevicesResponder(resp *http.Response) (result JobResponse, err error)
- func (client IotHubResourceClient) ExportDevicesSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubDescription, err error)
- func (client IotHubResourceClient) GetEndpointHealth(ctx context.Context, resourceGroupName string, iotHubName string) (result EndpointHealthDataListResultPage, err error)
- func (client IotHubResourceClient) GetEndpointHealthComplete(ctx context.Context, resourceGroupName string, iotHubName string) (result EndpointHealthDataListResultIterator, err error)
- func (client IotHubResourceClient) GetEndpointHealthPreparer(ctx context.Context, resourceGroupName string, iotHubName string) (*http.Request, error)
- func (client IotHubResourceClient) GetEndpointHealthResponder(resp *http.Response) (result EndpointHealthDataListResult, err error)
- func (client IotHubResourceClient) GetEndpointHealthSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) GetEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, ...) (result EventHubConsumerGroupInfo, err error)
- func (client IotHubResourceClient) GetEventHubConsumerGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) GetEventHubConsumerGroupResponder(resp *http.Response) (result EventHubConsumerGroupInfo, err error)
- func (client IotHubResourceClient) GetEventHubConsumerGroupSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) GetJob(ctx context.Context, resourceGroupName string, resourceName string, ...) (result JobResponse, err error)
- func (client IotHubResourceClient) GetJobPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) GetJobResponder(resp *http.Response) (result JobResponse, err error)
- func (client IotHubResourceClient) GetJobSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) GetKeysForKeyName(ctx context.Context, resourceGroupName string, resourceName string, ...) (result SharedAccessSignatureAuthorizationRule, err error)
- func (client IotHubResourceClient) GetKeysForKeyNamePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) GetKeysForKeyNameResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRule, err error)
- func (client IotHubResourceClient) GetKeysForKeyNameSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client IotHubResourceClient) GetQuotaMetrics(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubQuotaMetricInfoListResultPage, err error)
- func (client IotHubResourceClient) GetQuotaMetricsComplete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubQuotaMetricInfoListResultIterator, err error)
- func (client IotHubResourceClient) GetQuotaMetricsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client IotHubResourceClient) GetQuotaMetricsResponder(resp *http.Response) (result IotHubQuotaMetricInfoListResult, err error)
- func (client IotHubResourceClient) GetQuotaMetricsSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) GetResponder(resp *http.Response) (result IotHubDescription, err error)
- func (client IotHubResourceClient) GetSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) GetStats(ctx context.Context, resourceGroupName string, resourceName string) (result RegistryStatistics, err error)
- func (client IotHubResourceClient) GetStatsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client IotHubResourceClient) GetStatsResponder(resp *http.Response) (result RegistryStatistics, err error)
- func (client IotHubResourceClient) GetStatsSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) GetValidSkus(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubSkuDescriptionListResultPage, err error)
- func (client IotHubResourceClient) GetValidSkusComplete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubSkuDescriptionListResultIterator, err error)
- func (client IotHubResourceClient) GetValidSkusPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client IotHubResourceClient) GetValidSkusResponder(resp *http.Response) (result IotHubSkuDescriptionListResult, err error)
- func (client IotHubResourceClient) GetValidSkusSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) ImportDevices(ctx context.Context, resourceGroupName string, resourceName string, ...) (result JobResponse, err error)
- func (client IotHubResourceClient) ImportDevicesPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) ImportDevicesResponder(resp *http.Response) (result JobResponse, err error)
- func (client IotHubResourceClient) ImportDevicesSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result IotHubDescriptionListResultPage, err error)
- func (client IotHubResourceClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result IotHubDescriptionListResultIterator, err error)
- func (client IotHubResourceClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client IotHubResourceClient) ListByResourceGroupResponder(resp *http.Response) (result IotHubDescriptionListResult, err error)
- func (client IotHubResourceClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) ListBySubscription(ctx context.Context) (result IotHubDescriptionListResultPage, err error)
- func (client IotHubResourceClient) ListBySubscriptionComplete(ctx context.Context) (result IotHubDescriptionListResultIterator, err error)
- func (client IotHubResourceClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client IotHubResourceClient) ListBySubscriptionResponder(resp *http.Response) (result IotHubDescriptionListResult, err error)
- func (client IotHubResourceClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) ListEventHubConsumerGroups(ctx context.Context, resourceGroupName string, resourceName string, ...) (result EventHubConsumerGroupsListResultPage, err error)
- func (client IotHubResourceClient) ListEventHubConsumerGroupsComplete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result EventHubConsumerGroupsListResultIterator, err error)
- func (client IotHubResourceClient) ListEventHubConsumerGroupsPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) ListEventHubConsumerGroupsResponder(resp *http.Response) (result EventHubConsumerGroupsListResult, err error)
- func (client IotHubResourceClient) ListEventHubConsumerGroupsSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) ListJobs(ctx context.Context, resourceGroupName string, resourceName string) (result JobResponseListResultPage, err error)
- func (client IotHubResourceClient) ListJobsComplete(ctx context.Context, resourceGroupName string, resourceName string) (result JobResponseListResultIterator, err error)
- func (client IotHubResourceClient) ListJobsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client IotHubResourceClient) ListJobsResponder(resp *http.Response) (result JobResponseListResult, err error)
- func (client IotHubResourceClient) ListJobsSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) ListKeys(ctx context.Context, resourceGroupName string, resourceName string) (result SharedAccessSignatureAuthorizationRuleListResultPage, err error)
- func (client IotHubResourceClient) ListKeysComplete(ctx context.Context, resourceGroupName string, resourceName string) (result SharedAccessSignatureAuthorizationRuleListResultIterator, err error)
- func (client IotHubResourceClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client IotHubResourceClient) ListKeysResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRuleListResult, err error)
- func (client IotHubResourceClient) ListKeysSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) TestAllRoutes(ctx context.Context, input TestAllRoutesInput, iotHubName string, ...) (result TestAllRoutesResult, err error)
- func (client IotHubResourceClient) TestAllRoutesPreparer(ctx context.Context, input TestAllRoutesInput, iotHubName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) TestAllRoutesResponder(resp *http.Response) (result TestAllRoutesResult, err error)
- func (client IotHubResourceClient) TestAllRoutesSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) TestRoute(ctx context.Context, input TestRouteInput, iotHubName string, ...) (result TestRouteResult, err error)
- func (client IotHubResourceClient) TestRoutePreparer(ctx context.Context, input TestRouteInput, iotHubName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) TestRouteResponder(resp *http.Response) (result TestRouteResult, err error)
- func (client IotHubResourceClient) TestRouteSender(req *http.Request) (*http.Response, error)
- func (client IotHubResourceClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result IotHubResourceUpdateFuture, err error)
- func (client IotHubResourceClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client IotHubResourceClient) UpdateResponder(resp *http.Response) (result IotHubDescription, err error)
- func (client IotHubResourceClient) UpdateSender(req *http.Request) (future IotHubResourceUpdateFuture, err error)
- type IotHubResourceCreateOrUpdateFuture
- type IotHubResourceDeleteFuture
- type IotHubResourceUpdateFuture
- type IotHubScaleType
- type IotHubSku
- type IotHubSkuDescription
- type IotHubSkuDescriptionListResult
- type IotHubSkuDescriptionListResultIterator
- func (iter *IotHubSkuDescriptionListResultIterator) Next() error
- func (iter *IotHubSkuDescriptionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter IotHubSkuDescriptionListResultIterator) NotDone() bool
- func (iter IotHubSkuDescriptionListResultIterator) Response() IotHubSkuDescriptionListResult
- func (iter IotHubSkuDescriptionListResultIterator) Value() IotHubSkuDescription
- type IotHubSkuDescriptionListResultPage
- func (page *IotHubSkuDescriptionListResultPage) Next() error
- func (page *IotHubSkuDescriptionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page IotHubSkuDescriptionListResultPage) NotDone() bool
- func (page IotHubSkuDescriptionListResultPage) Response() IotHubSkuDescriptionListResult
- func (page IotHubSkuDescriptionListResultPage) Values() []IotHubSkuDescription
- type IotHubSkuInfo
- type IotHubSkuTier
- type JobResponse
- type JobResponseListResult
- type JobResponseListResultIterator
- func (iter *JobResponseListResultIterator) Next() error
- func (iter *JobResponseListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter JobResponseListResultIterator) NotDone() bool
- func (iter JobResponseListResultIterator) Response() JobResponseListResult
- func (iter JobResponseListResultIterator) Value() JobResponse
- type JobResponseListResultPage
- func (page *JobResponseListResultPage) Next() error
- func (page *JobResponseListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page JobResponseListResultPage) NotDone() bool
- func (page JobResponseListResultPage) Response() JobResponseListResult
- func (page JobResponseListResultPage) Values() []JobResponse
- type JobStatus
- type JobType
- type MatchedRoute
- type MessagingEndpointProperties
- type Name
- type Operation
- type OperationDisplay
- type OperationInputs
- type OperationListResult
- type OperationListResultIterator
- func (iter *OperationListResultIterator) Next() error
- func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationListResultIterator) NotDone() bool
- func (iter OperationListResultIterator) Response() OperationListResult
- func (iter OperationListResultIterator) Value() Operation
- type OperationListResultPage
- func (page *OperationListResultPage) Next() error
- func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationListResultPage) NotDone() bool
- func (page OperationListResultPage) Response() OperationListResult
- func (page OperationListResultPage) Values() []Operation
- type OperationMonitoringLevel
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OperationsMonitoringProperties
- type RegistryStatistics
- type Resource
- type ResourceProviderCommonClient
- func (client ResourceProviderCommonClient) GetSubscriptionQuota(ctx context.Context) (result UserSubscriptionQuotaListResult, err error)
- func (client ResourceProviderCommonClient) GetSubscriptionQuotaPreparer(ctx context.Context) (*http.Request, error)
- func (client ResourceProviderCommonClient) GetSubscriptionQuotaResponder(resp *http.Response) (result UserSubscriptionQuotaListResult, err error)
- func (client ResourceProviderCommonClient) GetSubscriptionQuotaSender(req *http.Request) (*http.Response, error)
- type RouteCompilationError
- type RouteErrorPosition
- type RouteErrorRange
- type RouteErrorSeverity
- type RouteProperties
- type RoutingEndpoints
- type RoutingEventHubProperties
- type RoutingMessage
- type RoutingProperties
- type RoutingServiceBusQueueEndpointProperties
- type RoutingServiceBusTopicEndpointProperties
- type RoutingSource
- type RoutingStorageContainerProperties
- type RoutingTwin
- type RoutingTwinProperties
- type SetObject
- type SharedAccessSignatureAuthorizationRule
- type SharedAccessSignatureAuthorizationRuleListResult
- type SharedAccessSignatureAuthorizationRuleListResultIterator
- func (iter *SharedAccessSignatureAuthorizationRuleListResultIterator) Next() error
- func (iter *SharedAccessSignatureAuthorizationRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) NotDone() bool
- func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) Response() SharedAccessSignatureAuthorizationRuleListResult
- func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) Value() SharedAccessSignatureAuthorizationRule
- type SharedAccessSignatureAuthorizationRuleListResultPage
- func (page *SharedAccessSignatureAuthorizationRuleListResultPage) Next() error
- func (page *SharedAccessSignatureAuthorizationRuleListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SharedAccessSignatureAuthorizationRuleListResultPage) NotDone() bool
- func (page SharedAccessSignatureAuthorizationRuleListResultPage) Response() SharedAccessSignatureAuthorizationRuleListResult
- func (page SharedAccessSignatureAuthorizationRuleListResultPage) Values() []SharedAccessSignatureAuthorizationRule
- type StorageEndpointProperties
- type TagsResource
- type TestAllRoutesInput
- type TestAllRoutesResult
- type TestResultStatus
- type TestRouteInput
- type TestRouteResult
- type TestRouteResultDetails
- type UserSubscriptionQuota
- type UserSubscriptionQuotaListResult
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Devices
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AccessRights ¶
type AccessRights string
AccessRights enumerates the values for access rights.
const ( // DeviceConnect ... DeviceConnect AccessRights = "DeviceConnect" // RegistryRead ... RegistryRead AccessRights = "RegistryRead" // RegistryReadDeviceConnect ... RegistryReadDeviceConnect AccessRights = "RegistryRead, DeviceConnect" // RegistryReadRegistryWrite ... RegistryReadRegistryWrite AccessRights = "RegistryRead, RegistryWrite" // RegistryReadRegistryWriteDeviceConnect ... RegistryReadRegistryWriteDeviceConnect AccessRights = "RegistryRead, RegistryWrite, DeviceConnect" // RegistryReadRegistryWriteServiceConnect ... RegistryReadRegistryWriteServiceConnect AccessRights = "RegistryRead, RegistryWrite, ServiceConnect" // RegistryReadRegistryWriteServiceConnectDeviceConnect ... RegistryReadRegistryWriteServiceConnectDeviceConnect AccessRights = "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect" // RegistryReadServiceConnect ... RegistryReadServiceConnect AccessRights = "RegistryRead, ServiceConnect" // RegistryReadServiceConnectDeviceConnect ... RegistryReadServiceConnectDeviceConnect AccessRights = "RegistryRead, ServiceConnect, DeviceConnect" // RegistryWrite ... RegistryWrite AccessRights = "RegistryWrite" // RegistryWriteDeviceConnect ... RegistryWriteDeviceConnect AccessRights = "RegistryWrite, DeviceConnect" // RegistryWriteServiceConnect ... RegistryWriteServiceConnect AccessRights = "RegistryWrite, ServiceConnect" // RegistryWriteServiceConnectDeviceConnect ... RegistryWriteServiceConnectDeviceConnect AccessRights = "RegistryWrite, ServiceConnect, DeviceConnect" // ServiceConnect ... ServiceConnect AccessRights = "ServiceConnect" // ServiceConnectDeviceConnect ... ServiceConnectDeviceConnect AccessRights = "ServiceConnect, DeviceConnect" )
func PossibleAccessRightsValues ¶
func PossibleAccessRightsValues() []AccessRights
PossibleAccessRightsValues returns an array of possible values for the AccessRights const type.
type BaseClient ¶
BaseClient is the base client for Devices.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
type Capabilities ¶
type Capabilities string
Capabilities enumerates the values for capabilities.
const ( // DeviceManagement ... DeviceManagement Capabilities = "DeviceManagement" // None ... None Capabilities = "None" )
func PossibleCapabilitiesValues ¶
func PossibleCapabilitiesValues() []Capabilities
PossibleCapabilitiesValues returns an array of possible values for the Capabilities const type.
type CertificateBodyDescription ¶
type CertificateBodyDescription struct { // Certificate - base-64 representation of the X509 leaf certificate .cer file or just .pem file content. Certificate *string `json:"certificate,omitempty"` }
CertificateBodyDescription the JSON-serialized X509 Certificate.
type CertificateDescription ¶
type CertificateDescription struct { autorest.Response `json:"-"` Properties *CertificateProperties `json:"properties,omitempty"` // ID - The resource identifier. ID *string `json:"id,omitempty"` // Name - The name of the certificate. Name *string `json:"name,omitempty"` // Etag - The entity tag. Etag *string `json:"etag,omitempty"` // Type - The resource type. Type *string `json:"type,omitempty"` }
CertificateDescription the X509 Certificate.
type CertificateListDescription ¶
type CertificateListDescription struct { autorest.Response `json:"-"` // Value - The array of Certificate objects. Value *[]CertificateDescription `json:"value,omitempty"` }
CertificateListDescription the JSON-serialized array of Certificate objects.
type CertificateProperties ¶
type CertificateProperties struct { // Subject - The certificate's subject name. Subject *string `json:"subject,omitempty"` // Expiry - The certificate's expiration date and time. Expiry *date.TimeRFC1123 `json:"expiry,omitempty"` // Thumbprint - The certificate's thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` // IsVerified - Determines whether certificate has been verified. IsVerified *bool `json:"isVerified,omitempty"` // Created - The certificate's create date and time. Created *date.TimeRFC1123 `json:"created,omitempty"` // Updated - The certificate's last update date and time. Updated *date.TimeRFC1123 `json:"updated,omitempty"` // Certificate - The certificate content Certificate *string `json:"certificate,omitempty"` }
CertificateProperties the description of an X509 CA Certificate.
type CertificatePropertiesWithNonce ¶
type CertificatePropertiesWithNonce struct { // Subject - The certificate's subject name. Subject *string `json:"subject,omitempty"` // Expiry - The certificate's expiration date and time. Expiry *date.TimeRFC1123 `json:"expiry,omitempty"` // Thumbprint - The certificate's thumbprint. Thumbprint *string `json:"thumbprint,omitempty"` // IsVerified - Determines whether certificate has been verified. IsVerified *bool `json:"isVerified,omitempty"` // Created - The certificate's create date and time. Created *date.TimeRFC1123 `json:"created,omitempty"` // Updated - The certificate's last update date and time. Updated *date.TimeRFC1123 `json:"updated,omitempty"` // VerificationCode - The certificate's verification code that will be used for proof of possession. VerificationCode *string `json:"verificationCode,omitempty"` // Certificate - The certificate content Certificate *string `json:"certificate,omitempty"` }
CertificatePropertiesWithNonce the description of an X509 CA Certificate including the challenge nonce issued for the Proof-Of-Possession flow.
type CertificateVerificationDescription ¶
type CertificateVerificationDescription struct { // Certificate - base-64 representation of X509 certificate .cer file or just .pem file content. Certificate *string `json:"certificate,omitempty"` }
CertificateVerificationDescription the JSON-serialized leaf certificate
type CertificateWithNonceDescription ¶
type CertificateWithNonceDescription struct { autorest.Response `json:"-"` Properties *CertificatePropertiesWithNonce `json:"properties,omitempty"` // ID - The resource identifier. ID *string `json:"id,omitempty"` // Name - The name of the certificate. Name *string `json:"name,omitempty"` // Etag - The entity tag. Etag *string `json:"etag,omitempty"` // Type - The resource type. Type *string `json:"type,omitempty"` }
CertificateWithNonceDescription the X509 Certificate.
type CertificatesClient ¶
type CertificatesClient struct {
BaseClient
}
CertificatesClient is the use this API to manage the IoT hubs in your Azure subscription.
func NewCertificatesClient ¶
func NewCertificatesClient(subscriptionID string) CertificatesClient
NewCertificatesClient creates an instance of the CertificatesClient client.
func NewCertificatesClientWithBaseURI ¶
func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient
NewCertificatesClientWithBaseURI creates an instance of the CertificatesClient client.
func (CertificatesClient) CreateOrUpdate ¶
func (client CertificatesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, certificateDescription CertificateBodyDescription, ifMatch string) (result CertificateDescription, err error)
CreateOrUpdate adds new or replaces existing certificate. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. certificateName - the name of the certificate certificateDescription - the certificate body. ifMatch - eTag of the Certificate. Do not specify for creating a brand new certificate. Required to update an existing certificate.
func (CertificatesClient) CreateOrUpdatePreparer ¶
func (client CertificatesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, certificateDescription CertificateBodyDescription, ifMatch string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (CertificatesClient) CreateOrUpdateResponder ¶
func (client CertificatesClient) CreateOrUpdateResponder(resp *http.Response) (result CertificateDescription, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (CertificatesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (CertificatesClient) Delete ¶
func (client CertificatesClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, ifMatch string) (result autorest.Response, err error)
Delete deletes an existing X509 certificate or does nothing if it does not exist. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. certificateName - the name of the certificate ifMatch - eTag of the Certificate.
func (CertificatesClient) DeletePreparer ¶
func (client CertificatesClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, ifMatch string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (CertificatesClient) DeleteResponder ¶
func (client CertificatesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (CertificatesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (CertificatesClient) GenerateVerificationCode ¶
func (client CertificatesClient) GenerateVerificationCode(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, ifMatch string) (result CertificateWithNonceDescription, err error)
GenerateVerificationCode generates verification code for proof of possession flow. The verification code will be used to generate a leaf certificate. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. certificateName - the name of the certificate ifMatch - eTag of the Certificate.
func (CertificatesClient) GenerateVerificationCodePreparer ¶
func (client CertificatesClient) GenerateVerificationCodePreparer(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, ifMatch string) (*http.Request, error)
GenerateVerificationCodePreparer prepares the GenerateVerificationCode request.
func (CertificatesClient) GenerateVerificationCodeResponder ¶
func (client CertificatesClient) GenerateVerificationCodeResponder(resp *http.Response) (result CertificateWithNonceDescription, err error)
GenerateVerificationCodeResponder handles the response to the GenerateVerificationCode request. The method always closes the http.Response Body.
func (CertificatesClient) GenerateVerificationCodeSender ¶
func (client CertificatesClient) GenerateVerificationCodeSender(req *http.Request) (*http.Response, error)
GenerateVerificationCodeSender sends the GenerateVerificationCode request. The method will close the http.Response Body if it receives an error.
func (CertificatesClient) Get ¶
func (client CertificatesClient) Get(ctx context.Context, resourceGroupName string, resourceName string, certificateName string) (result CertificateDescription, err error)
Get returns the certificate. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. certificateName - the name of the certificate
func (CertificatesClient) GetPreparer ¶
func (client CertificatesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, certificateName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (CertificatesClient) GetResponder ¶
func (client CertificatesClient) GetResponder(resp *http.Response) (result CertificateDescription, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (CertificatesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (CertificatesClient) ListByIotHub ¶
func (client CertificatesClient) ListByIotHub(ctx context.Context, resourceGroupName string, resourceName string) (result CertificateListDescription, err error)
ListByIotHub returns the list of certificates. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub.
func (CertificatesClient) ListByIotHubPreparer ¶
func (client CertificatesClient) ListByIotHubPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListByIotHubPreparer prepares the ListByIotHub request.
func (CertificatesClient) ListByIotHubResponder ¶
func (client CertificatesClient) ListByIotHubResponder(resp *http.Response) (result CertificateListDescription, err error)
ListByIotHubResponder handles the response to the ListByIotHub request. The method always closes the http.Response Body.
func (CertificatesClient) ListByIotHubSender ¶
ListByIotHubSender sends the ListByIotHub request. The method will close the http.Response Body if it receives an error.
func (CertificatesClient) Verify ¶
func (client CertificatesClient) Verify(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, certificateVerificationBody CertificateVerificationDescription, ifMatch string) (result CertificateDescription, err error)
Verify verifies the certificate's private key possession by providing the leaf cert issued by the verifying pre uploaded certificate. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. certificateName - the name of the certificate certificateVerificationBody - the name of the certificate ifMatch - eTag of the Certificate.
func (CertificatesClient) VerifyPreparer ¶
func (client CertificatesClient) VerifyPreparer(ctx context.Context, resourceGroupName string, resourceName string, certificateName string, certificateVerificationBody CertificateVerificationDescription, ifMatch string) (*http.Request, error)
VerifyPreparer prepares the Verify request.
func (CertificatesClient) VerifyResponder ¶
func (client CertificatesClient) VerifyResponder(resp *http.Response) (result CertificateDescription, err error)
VerifyResponder handles the response to the Verify request. The method always closes the http.Response Body.
func (CertificatesClient) VerifySender ¶
VerifySender sends the Verify request. The method will close the http.Response Body if it receives an error.
type CloudToDeviceProperties ¶
type CloudToDeviceProperties struct { // MaxDeliveryCount - The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` // DefaultTTLAsIso8601 - The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. DefaultTTLAsIso8601 *string `json:"defaultTtlAsIso8601,omitempty"` Feedback *FeedbackProperties `json:"feedback,omitempty"` }
CloudToDeviceProperties the IoT hub cloud-to-device messaging properties.
type EndpointHealthData ¶
type EndpointHealthData struct { // EndpointID - Id of the endpoint EndpointID *string `json:"endpointId,omitempty"` // HealthStatus - Health status. Possible values include: 'Unknown', 'Healthy', 'Unhealthy', 'Dead' HealthStatus EndpointHealthStatus `json:"healthStatus,omitempty"` }
EndpointHealthData the health data for an endpoint
type EndpointHealthDataListResult ¶
type EndpointHealthDataListResult struct { autorest.Response `json:"-"` // Value - JSON-serialized array of Endpoint health data Value *[]EndpointHealthData `json:"value,omitempty"` // NextLink - Link to more results NextLink *string `json:"nextLink,omitempty"` }
EndpointHealthDataListResult the JSON-serialized array of EndpointHealthData objects with a next link.
func (EndpointHealthDataListResult) IsEmpty ¶
func (ehdlr EndpointHealthDataListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type EndpointHealthDataListResultIterator ¶
type EndpointHealthDataListResultIterator struct {
// contains filtered or unexported fields
}
EndpointHealthDataListResultIterator provides access to a complete listing of EndpointHealthData values.
func NewEndpointHealthDataListResultIterator ¶
func NewEndpointHealthDataListResultIterator(page EndpointHealthDataListResultPage) EndpointHealthDataListResultIterator
Creates a new instance of the EndpointHealthDataListResultIterator type.
func (*EndpointHealthDataListResultIterator) Next ¶
func (iter *EndpointHealthDataListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*EndpointHealthDataListResultIterator) NextWithContext ¶
func (iter *EndpointHealthDataListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (EndpointHealthDataListResultIterator) NotDone ¶
func (iter EndpointHealthDataListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (EndpointHealthDataListResultIterator) Response ¶
func (iter EndpointHealthDataListResultIterator) Response() EndpointHealthDataListResult
Response returns the raw server response from the last page request.
func (EndpointHealthDataListResultIterator) Value ¶
func (iter EndpointHealthDataListResultIterator) Value() EndpointHealthData
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type EndpointHealthDataListResultPage ¶
type EndpointHealthDataListResultPage struct {
// contains filtered or unexported fields
}
EndpointHealthDataListResultPage contains a page of EndpointHealthData values.
func NewEndpointHealthDataListResultPage ¶
func NewEndpointHealthDataListResultPage(getNextPage func(context.Context, EndpointHealthDataListResult) (EndpointHealthDataListResult, error)) EndpointHealthDataListResultPage
Creates a new instance of the EndpointHealthDataListResultPage type.
func (*EndpointHealthDataListResultPage) Next ¶
func (page *EndpointHealthDataListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*EndpointHealthDataListResultPage) NextWithContext ¶
func (page *EndpointHealthDataListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (EndpointHealthDataListResultPage) NotDone ¶
func (page EndpointHealthDataListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (EndpointHealthDataListResultPage) Response ¶
func (page EndpointHealthDataListResultPage) Response() EndpointHealthDataListResult
Response returns the raw server response from the last page request.
func (EndpointHealthDataListResultPage) Values ¶
func (page EndpointHealthDataListResultPage) Values() []EndpointHealthData
Values returns the slice of values for the current page or nil if there are no values.
type EndpointHealthStatus ¶
type EndpointHealthStatus string
EndpointHealthStatus enumerates the values for endpoint health status.
const ( // Dead ... Dead EndpointHealthStatus = "dead" // Healthy ... Healthy EndpointHealthStatus = "healthy" // Unhealthy ... Unhealthy EndpointHealthStatus = "unhealthy" // Unknown ... Unknown EndpointHealthStatus = "unknown" )
func PossibleEndpointHealthStatusValues ¶
func PossibleEndpointHealthStatusValues() []EndpointHealthStatus
PossibleEndpointHealthStatusValues returns an array of possible values for the EndpointHealthStatus const type.
type ErrorDetails ¶
type ErrorDetails struct { // Code - The error code. Code *string `json:"code,omitempty"` // HTTPStatusCode - The HTTP status code. HTTPStatusCode *string `json:"httpStatusCode,omitempty"` // Message - The error message. Message *string `json:"message,omitempty"` // Details - The error details. Details *string `json:"details,omitempty"` }
ErrorDetails error details.
type EventHubConsumerGroupInfo ¶
type EventHubConsumerGroupInfo struct { autorest.Response `json:"-"` // Properties - The tags. Properties map[string]*string `json:"properties"` // ID - The Event Hub-compatible consumer group identifier. ID *string `json:"id,omitempty"` // Name - The Event Hub-compatible consumer group name. Name *string `json:"name,omitempty"` // Type - the resource type. Type *string `json:"type,omitempty"` // Etag - The etag. Etag *string `json:"etag,omitempty"` }
EventHubConsumerGroupInfo the properties of the EventHubConsumerGroupInfo object.
func (EventHubConsumerGroupInfo) MarshalJSON ¶
func (ehcgi EventHubConsumerGroupInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EventHubConsumerGroupInfo.
type EventHubConsumerGroupsListResult ¶
type EventHubConsumerGroupsListResult struct { autorest.Response `json:"-"` // Value - List of consumer groups objects Value *[]EventHubConsumerGroupInfo `json:"value,omitempty"` // NextLink - The next link. NextLink *string `json:"nextLink,omitempty"` }
EventHubConsumerGroupsListResult the JSON-serialized array of Event Hub-compatible consumer group names with a next link.
func (EventHubConsumerGroupsListResult) IsEmpty ¶
func (ehcglr EventHubConsumerGroupsListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type EventHubConsumerGroupsListResultIterator ¶
type EventHubConsumerGroupsListResultIterator struct {
// contains filtered or unexported fields
}
EventHubConsumerGroupsListResultIterator provides access to a complete listing of EventHubConsumerGroupInfo values.
func NewEventHubConsumerGroupsListResultIterator ¶
func NewEventHubConsumerGroupsListResultIterator(page EventHubConsumerGroupsListResultPage) EventHubConsumerGroupsListResultIterator
Creates a new instance of the EventHubConsumerGroupsListResultIterator type.
func (*EventHubConsumerGroupsListResultIterator) Next ¶
func (iter *EventHubConsumerGroupsListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*EventHubConsumerGroupsListResultIterator) NextWithContext ¶
func (iter *EventHubConsumerGroupsListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (EventHubConsumerGroupsListResultIterator) NotDone ¶
func (iter EventHubConsumerGroupsListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (EventHubConsumerGroupsListResultIterator) Response ¶
func (iter EventHubConsumerGroupsListResultIterator) Response() EventHubConsumerGroupsListResult
Response returns the raw server response from the last page request.
func (EventHubConsumerGroupsListResultIterator) Value ¶
func (iter EventHubConsumerGroupsListResultIterator) Value() EventHubConsumerGroupInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type EventHubConsumerGroupsListResultPage ¶
type EventHubConsumerGroupsListResultPage struct {
// contains filtered or unexported fields
}
EventHubConsumerGroupsListResultPage contains a page of EventHubConsumerGroupInfo values.
func NewEventHubConsumerGroupsListResultPage ¶
func NewEventHubConsumerGroupsListResultPage(getNextPage func(context.Context, EventHubConsumerGroupsListResult) (EventHubConsumerGroupsListResult, error)) EventHubConsumerGroupsListResultPage
Creates a new instance of the EventHubConsumerGroupsListResultPage type.
func (*EventHubConsumerGroupsListResultPage) Next ¶
func (page *EventHubConsumerGroupsListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*EventHubConsumerGroupsListResultPage) NextWithContext ¶
func (page *EventHubConsumerGroupsListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (EventHubConsumerGroupsListResultPage) NotDone ¶
func (page EventHubConsumerGroupsListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (EventHubConsumerGroupsListResultPage) Response ¶
func (page EventHubConsumerGroupsListResultPage) Response() EventHubConsumerGroupsListResult
Response returns the raw server response from the last page request.
func (EventHubConsumerGroupsListResultPage) Values ¶
func (page EventHubConsumerGroupsListResultPage) Values() []EventHubConsumerGroupInfo
Values returns the slice of values for the current page or nil if there are no values.
type EventHubProperties ¶
type EventHubProperties struct { // RetentionTimeInDays - The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages RetentionTimeInDays *int64 `json:"retentionTimeInDays,omitempty"` // PartitionCount - The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages. PartitionCount *int32 `json:"partitionCount,omitempty"` // PartitionIds - The partition ids in the Event Hub-compatible endpoint. PartitionIds *[]string `json:"partitionIds,omitempty"` // Path - The Event Hub-compatible name. Path *string `json:"path,omitempty"` // Endpoint - The Event Hub-compatible endpoint. Endpoint *string `json:"endpoint,omitempty"` }
EventHubProperties the properties of the provisioned Event Hub-compatible endpoint used by the IoT hub.
type ExportDevicesRequest ¶
type ExportDevicesRequest struct { // ExportBlobContainerURI - The export blob container URI. ExportBlobContainerURI *string `json:"exportBlobContainerUri,omitempty"` // ExcludeKeys - The value indicating whether keys should be excluded during export. ExcludeKeys *bool `json:"excludeKeys,omitempty"` }
ExportDevicesRequest use to provide parameters when requesting an export of all devices in the IoT hub.
type FallbackRouteProperties ¶
type FallbackRouteProperties struct { // Name - The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. Name *string `json:"name,omitempty"` // Source - The source to which the routing rule is to be applied to. For example, DeviceMessages Source *string `json:"source,omitempty"` // Condition - The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language Condition *string `json:"condition,omitempty"` // EndpointNames - The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed. EndpointNames *[]string `json:"endpointNames,omitempty"` // IsEnabled - Used to specify whether the fallback route is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` }
FallbackRouteProperties the properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint.
type FeedbackProperties ¶
type FeedbackProperties struct { // LockDurationAsIso8601 - The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. LockDurationAsIso8601 *string `json:"lockDurationAsIso8601,omitempty"` // TTLAsIso8601 - The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. TTLAsIso8601 *string `json:"ttlAsIso8601,omitempty"` // MaxDeliveryCount - The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages. MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` }
FeedbackProperties the properties of the feedback queue for cloud-to-device messages.
type IPFilterActionType ¶
type IPFilterActionType string
IPFilterActionType enumerates the values for ip filter action type.
const ( // Accept ... Accept IPFilterActionType = "Accept" // Reject ... Reject IPFilterActionType = "Reject" )
func PossibleIPFilterActionTypeValues ¶
func PossibleIPFilterActionTypeValues() []IPFilterActionType
PossibleIPFilterActionTypeValues returns an array of possible values for the IPFilterActionType const type.
type IPFilterRule ¶
type IPFilterRule struct { // FilterName - The name of the IP filter rule. FilterName *string `json:"filterName,omitempty"` // Action - The desired action for requests captured by this rule. Possible values include: 'Accept', 'Reject' Action IPFilterActionType `json:"action,omitempty"` // IPMask - A string that contains the IP address range in CIDR notation for the rule. IPMask *string `json:"ipMask,omitempty"` }
IPFilterRule the IP filter rules for the IoT hub.
type ImportDevicesRequest ¶
type ImportDevicesRequest struct { // InputBlobContainerURI - The input blob container URI. InputBlobContainerURI *string `json:"inputBlobContainerUri,omitempty"` // OutputBlobContainerURI - The output blob container URI. OutputBlobContainerURI *string `json:"outputBlobContainerUri,omitempty"` }
ImportDevicesRequest use to provide parameters when requesting an import of all devices in the hub.
type IotHubCapacity ¶
type IotHubCapacity struct { // Minimum - The minimum number of units. Minimum *int64 `json:"minimum,omitempty"` // Maximum - The maximum number of units. Maximum *int64 `json:"maximum,omitempty"` // Default - The default number of units. Default *int64 `json:"default,omitempty"` // ScaleType - The type of the scaling enabled. Possible values include: 'IotHubScaleTypeAutomatic', 'IotHubScaleTypeManual', 'IotHubScaleTypeNone' ScaleType IotHubScaleType `json:"scaleType,omitempty"` }
IotHubCapacity ioT Hub capacity information.
type IotHubDescription ¶
type IotHubDescription struct { autorest.Response `json:"-"` // Etag - The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. Etag *string `json:"etag,omitempty"` // Properties - IotHub properties Properties *IotHubProperties `json:"properties,omitempty"` // Sku - IotHub SKU info Sku *IotHubSkuInfo `json:"sku,omitempty"` // ID - The resource identifier. ID *string `json:"id,omitempty"` // Name - The resource name. Name *string `json:"name,omitempty"` // Type - The resource type. Type *string `json:"type,omitempty"` // Location - The resource location. Location *string `json:"location,omitempty"` // Tags - The resource tags. Tags map[string]*string `json:"tags"` }
IotHubDescription the description of the IoT hub.
func (IotHubDescription) MarshalJSON ¶
func (ihd IotHubDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IotHubDescription.
type IotHubDescriptionListResult ¶
type IotHubDescriptionListResult struct { autorest.Response `json:"-"` // Value - The array of IotHubDescription objects. Value *[]IotHubDescription `json:"value,omitempty"` // NextLink - The next link. NextLink *string `json:"nextLink,omitempty"` }
IotHubDescriptionListResult the JSON-serialized array of IotHubDescription objects with a next link.
func (IotHubDescriptionListResult) IsEmpty ¶
func (ihdlr IotHubDescriptionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type IotHubDescriptionListResultIterator ¶
type IotHubDescriptionListResultIterator struct {
// contains filtered or unexported fields
}
IotHubDescriptionListResultIterator provides access to a complete listing of IotHubDescription values.
func NewIotHubDescriptionListResultIterator ¶
func NewIotHubDescriptionListResultIterator(page IotHubDescriptionListResultPage) IotHubDescriptionListResultIterator
Creates a new instance of the IotHubDescriptionListResultIterator type.
func (*IotHubDescriptionListResultIterator) Next ¶
func (iter *IotHubDescriptionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IotHubDescriptionListResultIterator) NextWithContext ¶
func (iter *IotHubDescriptionListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (IotHubDescriptionListResultIterator) NotDone ¶
func (iter IotHubDescriptionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (IotHubDescriptionListResultIterator) Response ¶
func (iter IotHubDescriptionListResultIterator) Response() IotHubDescriptionListResult
Response returns the raw server response from the last page request.
func (IotHubDescriptionListResultIterator) Value ¶
func (iter IotHubDescriptionListResultIterator) Value() IotHubDescription
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type IotHubDescriptionListResultPage ¶
type IotHubDescriptionListResultPage struct {
// contains filtered or unexported fields
}
IotHubDescriptionListResultPage contains a page of IotHubDescription values.
func NewIotHubDescriptionListResultPage ¶
func NewIotHubDescriptionListResultPage(getNextPage func(context.Context, IotHubDescriptionListResult) (IotHubDescriptionListResult, error)) IotHubDescriptionListResultPage
Creates a new instance of the IotHubDescriptionListResultPage type.
func (*IotHubDescriptionListResultPage) Next ¶
func (page *IotHubDescriptionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IotHubDescriptionListResultPage) NextWithContext ¶
func (page *IotHubDescriptionListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (IotHubDescriptionListResultPage) NotDone ¶
func (page IotHubDescriptionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (IotHubDescriptionListResultPage) Response ¶
func (page IotHubDescriptionListResultPage) Response() IotHubDescriptionListResult
Response returns the raw server response from the last page request.
func (IotHubDescriptionListResultPage) Values ¶
func (page IotHubDescriptionListResultPage) Values() []IotHubDescription
Values returns the slice of values for the current page or nil if there are no values.
type IotHubNameAvailabilityInfo ¶
type IotHubNameAvailabilityInfo struct { autorest.Response `json:"-"` // NameAvailable - The value which indicates whether the provided name is available. NameAvailable *bool `json:"nameAvailable,omitempty"` // Reason - The reason for unavailability. Possible values include: 'Invalid', 'AlreadyExists' Reason IotHubNameUnavailabilityReason `json:"reason,omitempty"` // Message - The detailed reason message. Message *string `json:"message,omitempty"` }
IotHubNameAvailabilityInfo the properties indicating whether a given IoT hub name is available.
type IotHubNameUnavailabilityReason ¶
type IotHubNameUnavailabilityReason string
IotHubNameUnavailabilityReason enumerates the values for iot hub name unavailability reason.
const ( // AlreadyExists ... AlreadyExists IotHubNameUnavailabilityReason = "AlreadyExists" // Invalid ... Invalid IotHubNameUnavailabilityReason = "Invalid" )
func PossibleIotHubNameUnavailabilityReasonValues ¶
func PossibleIotHubNameUnavailabilityReasonValues() []IotHubNameUnavailabilityReason
PossibleIotHubNameUnavailabilityReasonValues returns an array of possible values for the IotHubNameUnavailabilityReason const type.
type IotHubProperties ¶
type IotHubProperties struct { // AuthorizationPolicies - The shared access policies you can use to secure a connection to the IoT hub. AuthorizationPolicies *[]SharedAccessSignatureAuthorizationRule `json:"authorizationPolicies,omitempty"` // IPFilterRules - The IP filter rules. IPFilterRules *[]IPFilterRule `json:"ipFilterRules,omitempty"` // ProvisioningState - The provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // State - Thehub state state. State *string `json:"state,omitempty"` // HostName - The name of the host. HostName *string `json:"hostName,omitempty"` // EventHubEndpoints - The Event Hub-compatible endpoint properties. The possible keys to this dictionary are events and operationsMonitoringEvents. Both of these keys have to be present in the dictionary while making create or update calls for the IoT hub. EventHubEndpoints map[string]*EventHubProperties `json:"eventHubEndpoints"` Routing *RoutingProperties `json:"routing,omitempty"` // StorageEndpoints - The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. StorageEndpoints map[string]*StorageEndpointProperties `json:"storageEndpoints"` // MessagingEndpoints - The messaging endpoint properties for the file upload notification queue. MessagingEndpoints map[string]*MessagingEndpointProperties `json:"messagingEndpoints"` // EnableFileUploadNotifications - If True, file upload notifications are enabled. EnableFileUploadNotifications *bool `json:"enableFileUploadNotifications,omitempty"` CloudToDevice *CloudToDeviceProperties `json:"cloudToDevice,omitempty"` // Comments - IoT hub comments. Comments *string `json:"comments,omitempty"` OperationsMonitoringProperties *OperationsMonitoringProperties `json:"operationsMonitoringProperties,omitempty"` // DeviceStreams - The device streams properties of iothub. DeviceStreams *IotHubPropertiesDeviceStreams `json:"deviceStreams,omitempty"` // Features - The capabilities and features enabled for the IoT hub. Possible values include: 'None', 'DeviceManagement' Features Capabilities `json:"features,omitempty"` }
IotHubProperties the properties of an IoT hub.
func (IotHubProperties) MarshalJSON ¶
func (ihp IotHubProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IotHubProperties.
type IotHubPropertiesDeviceStreams ¶
type IotHubPropertiesDeviceStreams struct { // StreamingEndpoints - List of Device Streams Endpoints. StreamingEndpoints *[]string `json:"streamingEndpoints,omitempty"` }
IotHubPropertiesDeviceStreams the device streams properties of iothub.
type IotHubQuotaMetricInfo ¶
type IotHubQuotaMetricInfo struct { // Name - The name of the quota metric. Name *string `json:"name,omitempty"` // CurrentValue - The current value for the quota metric. CurrentValue *int64 `json:"currentValue,omitempty"` // MaxValue - The maximum value of the quota metric. MaxValue *int64 `json:"maxValue,omitempty"` }
IotHubQuotaMetricInfo quota metrics properties.
type IotHubQuotaMetricInfoListResult ¶
type IotHubQuotaMetricInfoListResult struct { autorest.Response `json:"-"` // Value - The array of quota metrics objects. Value *[]IotHubQuotaMetricInfo `json:"value,omitempty"` // NextLink - The next link. NextLink *string `json:"nextLink,omitempty"` }
IotHubQuotaMetricInfoListResult the JSON-serialized array of IotHubQuotaMetricInfo objects with a next link.
func (IotHubQuotaMetricInfoListResult) IsEmpty ¶
func (ihqmilr IotHubQuotaMetricInfoListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type IotHubQuotaMetricInfoListResultIterator ¶
type IotHubQuotaMetricInfoListResultIterator struct {
// contains filtered or unexported fields
}
IotHubQuotaMetricInfoListResultIterator provides access to a complete listing of IotHubQuotaMetricInfo values.
func NewIotHubQuotaMetricInfoListResultIterator ¶
func NewIotHubQuotaMetricInfoListResultIterator(page IotHubQuotaMetricInfoListResultPage) IotHubQuotaMetricInfoListResultIterator
Creates a new instance of the IotHubQuotaMetricInfoListResultIterator type.
func (*IotHubQuotaMetricInfoListResultIterator) Next ¶
func (iter *IotHubQuotaMetricInfoListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IotHubQuotaMetricInfoListResultIterator) NextWithContext ¶
func (iter *IotHubQuotaMetricInfoListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (IotHubQuotaMetricInfoListResultIterator) NotDone ¶
func (iter IotHubQuotaMetricInfoListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (IotHubQuotaMetricInfoListResultIterator) Response ¶
func (iter IotHubQuotaMetricInfoListResultIterator) Response() IotHubQuotaMetricInfoListResult
Response returns the raw server response from the last page request.
func (IotHubQuotaMetricInfoListResultIterator) Value ¶
func (iter IotHubQuotaMetricInfoListResultIterator) Value() IotHubQuotaMetricInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type IotHubQuotaMetricInfoListResultPage ¶
type IotHubQuotaMetricInfoListResultPage struct {
// contains filtered or unexported fields
}
IotHubQuotaMetricInfoListResultPage contains a page of IotHubQuotaMetricInfo values.
func NewIotHubQuotaMetricInfoListResultPage ¶
func NewIotHubQuotaMetricInfoListResultPage(getNextPage func(context.Context, IotHubQuotaMetricInfoListResult) (IotHubQuotaMetricInfoListResult, error)) IotHubQuotaMetricInfoListResultPage
Creates a new instance of the IotHubQuotaMetricInfoListResultPage type.
func (*IotHubQuotaMetricInfoListResultPage) Next ¶
func (page *IotHubQuotaMetricInfoListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IotHubQuotaMetricInfoListResultPage) NextWithContext ¶
func (page *IotHubQuotaMetricInfoListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (IotHubQuotaMetricInfoListResultPage) NotDone ¶
func (page IotHubQuotaMetricInfoListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (IotHubQuotaMetricInfoListResultPage) Response ¶
func (page IotHubQuotaMetricInfoListResultPage) Response() IotHubQuotaMetricInfoListResult
Response returns the raw server response from the last page request.
func (IotHubQuotaMetricInfoListResultPage) Values ¶
func (page IotHubQuotaMetricInfoListResultPage) Values() []IotHubQuotaMetricInfo
Values returns the slice of values for the current page or nil if there are no values.
type IotHubResourceClient ¶
type IotHubResourceClient struct {
BaseClient
}
IotHubResourceClient is the use this API to manage the IoT hubs in your Azure subscription.
func NewIotHubResourceClient ¶
func NewIotHubResourceClient(subscriptionID string) IotHubResourceClient
NewIotHubResourceClient creates an instance of the IotHubResourceClient client.
func NewIotHubResourceClientWithBaseURI ¶
func NewIotHubResourceClientWithBaseURI(baseURI string, subscriptionID string) IotHubResourceClient
NewIotHubResourceClientWithBaseURI creates an instance of the IotHubResourceClient client.
func (IotHubResourceClient) CheckNameAvailability ¶
func (client IotHubResourceClient) CheckNameAvailability(ctx context.Context, operationInputs OperationInputs) (result IotHubNameAvailabilityInfo, err error)
CheckNameAvailability check if an IoT hub name is available. Parameters: operationInputs - set the name parameter in the OperationInputs structure to the name of the IoT hub to check.
func (IotHubResourceClient) CheckNameAvailabilityPreparer ¶
func (client IotHubResourceClient) CheckNameAvailabilityPreparer(ctx context.Context, operationInputs OperationInputs) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
func (IotHubResourceClient) CheckNameAvailabilityResponder ¶
func (client IotHubResourceClient) CheckNameAvailabilityResponder(resp *http.Response) (result IotHubNameAvailabilityInfo, err error)
CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.
func (IotHubResourceClient) CheckNameAvailabilitySender ¶
func (client IotHubResourceClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) CreateEventHubConsumerGroup ¶
func (client IotHubResourceClient) CreateEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (result EventHubConsumerGroupInfo, err error)
CreateEventHubConsumerGroup add a consumer group to an Event Hub-compatible endpoint in an IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. eventHubEndpointName - the name of the Event Hub-compatible endpoint in the IoT hub. name - the name of the consumer group to add.
func (IotHubResourceClient) CreateEventHubConsumerGroupPreparer ¶
func (client IotHubResourceClient) CreateEventHubConsumerGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (*http.Request, error)
CreateEventHubConsumerGroupPreparer prepares the CreateEventHubConsumerGroup request.
func (IotHubResourceClient) CreateEventHubConsumerGroupResponder ¶
func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *http.Response) (result EventHubConsumerGroupInfo, err error)
CreateEventHubConsumerGroupResponder handles the response to the CreateEventHubConsumerGroup request. The method always closes the http.Response Body.
func (IotHubResourceClient) CreateEventHubConsumerGroupSender ¶
func (client IotHubResourceClient) CreateEventHubConsumerGroupSender(req *http.Request) (*http.Response, error)
CreateEventHubConsumerGroupSender sends the CreateEventHubConsumerGroup request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) CreateOrUpdate ¶
func (client IotHubResourceClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, iotHubDescription IotHubDescription, ifMatch string) (result IotHubResourceCreateOrUpdateFuture, err error)
CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update the IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. iotHubDescription - the IoT hub metadata and security metadata. ifMatch - eTag of the IoT Hub. Do not specify for creating a brand new IoT Hub. Required to update an existing IoT Hub.
func (IotHubResourceClient) CreateOrUpdatePreparer ¶
func (client IotHubResourceClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, iotHubDescription IotHubDescription, ifMatch string) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (IotHubResourceClient) CreateOrUpdateResponder ¶
func (client IotHubResourceClient) CreateOrUpdateResponder(resp *http.Response) (result IotHubDescription, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (IotHubResourceClient) CreateOrUpdateSender ¶
func (client IotHubResourceClient) CreateOrUpdateSender(req *http.Request) (future IotHubResourceCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) Delete ¶
func (client IotHubResourceClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubResourceDeleteFuture, err error)
Delete delete an IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub.
func (IotHubResourceClient) DeleteEventHubConsumerGroup ¶
func (client IotHubResourceClient) DeleteEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (result autorest.Response, err error)
DeleteEventHubConsumerGroup delete a consumer group from an Event Hub-compatible endpoint in an IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. eventHubEndpointName - the name of the Event Hub-compatible endpoint in the IoT hub. name - the name of the consumer group to delete.
func (IotHubResourceClient) DeleteEventHubConsumerGroupPreparer ¶
func (client IotHubResourceClient) DeleteEventHubConsumerGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (*http.Request, error)
DeleteEventHubConsumerGroupPreparer prepares the DeleteEventHubConsumerGroup request.
func (IotHubResourceClient) DeleteEventHubConsumerGroupResponder ¶
func (client IotHubResourceClient) DeleteEventHubConsumerGroupResponder(resp *http.Response) (result autorest.Response, err error)
DeleteEventHubConsumerGroupResponder handles the response to the DeleteEventHubConsumerGroup request. The method always closes the http.Response Body.
func (IotHubResourceClient) DeleteEventHubConsumerGroupSender ¶
func (client IotHubResourceClient) DeleteEventHubConsumerGroupSender(req *http.Request) (*http.Response, error)
DeleteEventHubConsumerGroupSender sends the DeleteEventHubConsumerGroup request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) DeletePreparer ¶
func (client IotHubResourceClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (IotHubResourceClient) DeleteResponder ¶
func (client IotHubResourceClient) DeleteResponder(resp *http.Response) (result SetObject, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (IotHubResourceClient) DeleteSender ¶
func (client IotHubResourceClient) DeleteSender(req *http.Request) (future IotHubResourceDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) ExportDevices ¶
func (client IotHubResourceClient) ExportDevices(ctx context.Context, resourceGroupName string, resourceName string, exportDevicesParameters ExportDevicesRequest) (result JobResponse, err error)
ExportDevices exports all the device identities in the IoT hub identity registry to an Azure Storage blob container. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. exportDevicesParameters - the parameters that specify the export devices operation.
func (IotHubResourceClient) ExportDevicesPreparer ¶
func (client IotHubResourceClient) ExportDevicesPreparer(ctx context.Context, resourceGroupName string, resourceName string, exportDevicesParameters ExportDevicesRequest) (*http.Request, error)
ExportDevicesPreparer prepares the ExportDevices request.
func (IotHubResourceClient) ExportDevicesResponder ¶
func (client IotHubResourceClient) ExportDevicesResponder(resp *http.Response) (result JobResponse, err error)
ExportDevicesResponder handles the response to the ExportDevices request. The method always closes the http.Response Body.
func (IotHubResourceClient) ExportDevicesSender ¶
ExportDevicesSender sends the ExportDevices request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) Get ¶
func (client IotHubResourceClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubDescription, err error)
Get get the non-security related metadata of an IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub.
func (IotHubResourceClient) GetEndpointHealth ¶
func (client IotHubResourceClient) GetEndpointHealth(ctx context.Context, resourceGroupName string, iotHubName string) (result EndpointHealthDataListResultPage, err error)
GetEndpointHealth get the health for routing endpoints.
func (IotHubResourceClient) GetEndpointHealthComplete ¶
func (client IotHubResourceClient) GetEndpointHealthComplete(ctx context.Context, resourceGroupName string, iotHubName string) (result EndpointHealthDataListResultIterator, err error)
GetEndpointHealthComplete enumerates all values, automatically crossing page boundaries as required.
func (IotHubResourceClient) GetEndpointHealthPreparer ¶
func (client IotHubResourceClient) GetEndpointHealthPreparer(ctx context.Context, resourceGroupName string, iotHubName string) (*http.Request, error)
GetEndpointHealthPreparer prepares the GetEndpointHealth request.
func (IotHubResourceClient) GetEndpointHealthResponder ¶
func (client IotHubResourceClient) GetEndpointHealthResponder(resp *http.Response) (result EndpointHealthDataListResult, err error)
GetEndpointHealthResponder handles the response to the GetEndpointHealth request. The method always closes the http.Response Body.
func (IotHubResourceClient) GetEndpointHealthSender ¶
func (client IotHubResourceClient) GetEndpointHealthSender(req *http.Request) (*http.Response, error)
GetEndpointHealthSender sends the GetEndpointHealth request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) GetEventHubConsumerGroup ¶
func (client IotHubResourceClient) GetEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (result EventHubConsumerGroupInfo, err error)
GetEventHubConsumerGroup get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. eventHubEndpointName - the name of the Event Hub-compatible endpoint in the IoT hub. name - the name of the consumer group to retrieve.
func (IotHubResourceClient) GetEventHubConsumerGroupPreparer ¶
func (client IotHubResourceClient) GetEventHubConsumerGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (*http.Request, error)
GetEventHubConsumerGroupPreparer prepares the GetEventHubConsumerGroup request.
func (IotHubResourceClient) GetEventHubConsumerGroupResponder ¶
func (client IotHubResourceClient) GetEventHubConsumerGroupResponder(resp *http.Response) (result EventHubConsumerGroupInfo, err error)
GetEventHubConsumerGroupResponder handles the response to the GetEventHubConsumerGroup request. The method always closes the http.Response Body.
func (IotHubResourceClient) GetEventHubConsumerGroupSender ¶
func (client IotHubResourceClient) GetEventHubConsumerGroupSender(req *http.Request) (*http.Response, error)
GetEventHubConsumerGroupSender sends the GetEventHubConsumerGroup request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) GetJob ¶
func (client IotHubResourceClient) GetJob(ctx context.Context, resourceGroupName string, resourceName string, jobID string) (result JobResponse, err error)
GetJob get the details of a job from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. jobID - the job identifier.
func (IotHubResourceClient) GetJobPreparer ¶
func (client IotHubResourceClient) GetJobPreparer(ctx context.Context, resourceGroupName string, resourceName string, jobID string) (*http.Request, error)
GetJobPreparer prepares the GetJob request.
func (IotHubResourceClient) GetJobResponder ¶
func (client IotHubResourceClient) GetJobResponder(resp *http.Response) (result JobResponse, err error)
GetJobResponder handles the response to the GetJob request. The method always closes the http.Response Body.
func (IotHubResourceClient) GetJobSender ¶
GetJobSender sends the GetJob request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) GetKeysForKeyName ¶
func (client IotHubResourceClient) GetKeysForKeyName(ctx context.Context, resourceGroupName string, resourceName string, keyName string) (result SharedAccessSignatureAuthorizationRule, err error)
GetKeysForKeyName get a shared access policy by name from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. keyName - the name of the shared access policy.
func (IotHubResourceClient) GetKeysForKeyNamePreparer ¶
func (client IotHubResourceClient) GetKeysForKeyNamePreparer(ctx context.Context, resourceGroupName string, resourceName string, keyName string) (*http.Request, error)
GetKeysForKeyNamePreparer prepares the GetKeysForKeyName request.
func (IotHubResourceClient) GetKeysForKeyNameResponder ¶
func (client IotHubResourceClient) GetKeysForKeyNameResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRule, err error)
GetKeysForKeyNameResponder handles the response to the GetKeysForKeyName request. The method always closes the http.Response Body.
func (IotHubResourceClient) GetKeysForKeyNameSender ¶
func (client IotHubResourceClient) GetKeysForKeyNameSender(req *http.Request) (*http.Response, error)
GetKeysForKeyNameSender sends the GetKeysForKeyName request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) GetPreparer ¶
func (client IotHubResourceClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (IotHubResourceClient) GetQuotaMetrics ¶
func (client IotHubResourceClient) GetQuotaMetrics(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubQuotaMetricInfoListResultPage, err error)
GetQuotaMetrics get the quota metrics for an IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub.
func (IotHubResourceClient) GetQuotaMetricsComplete ¶
func (client IotHubResourceClient) GetQuotaMetricsComplete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubQuotaMetricInfoListResultIterator, err error)
GetQuotaMetricsComplete enumerates all values, automatically crossing page boundaries as required.
func (IotHubResourceClient) GetQuotaMetricsPreparer ¶
func (client IotHubResourceClient) GetQuotaMetricsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetQuotaMetricsPreparer prepares the GetQuotaMetrics request.
func (IotHubResourceClient) GetQuotaMetricsResponder ¶
func (client IotHubResourceClient) GetQuotaMetricsResponder(resp *http.Response) (result IotHubQuotaMetricInfoListResult, err error)
GetQuotaMetricsResponder handles the response to the GetQuotaMetrics request. The method always closes the http.Response Body.
func (IotHubResourceClient) GetQuotaMetricsSender ¶
GetQuotaMetricsSender sends the GetQuotaMetrics request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) GetResponder ¶
func (client IotHubResourceClient) GetResponder(resp *http.Response) (result IotHubDescription, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (IotHubResourceClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) GetStats ¶
func (client IotHubResourceClient) GetStats(ctx context.Context, resourceGroupName string, resourceName string) (result RegistryStatistics, err error)
GetStats get the statistics from an IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub.
func (IotHubResourceClient) GetStatsPreparer ¶
func (client IotHubResourceClient) GetStatsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetStatsPreparer prepares the GetStats request.
func (IotHubResourceClient) GetStatsResponder ¶
func (client IotHubResourceClient) GetStatsResponder(resp *http.Response) (result RegistryStatistics, err error)
GetStatsResponder handles the response to the GetStats request. The method always closes the http.Response Body.
func (IotHubResourceClient) GetStatsSender ¶
GetStatsSender sends the GetStats request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) GetValidSkus ¶
func (client IotHubResourceClient) GetValidSkus(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubSkuDescriptionListResultPage, err error)
GetValidSkus get the list of valid SKUs for an IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub.
func (IotHubResourceClient) GetValidSkusComplete ¶
func (client IotHubResourceClient) GetValidSkusComplete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubSkuDescriptionListResultIterator, err error)
GetValidSkusComplete enumerates all values, automatically crossing page boundaries as required.
func (IotHubResourceClient) GetValidSkusPreparer ¶
func (client IotHubResourceClient) GetValidSkusPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetValidSkusPreparer prepares the GetValidSkus request.
func (IotHubResourceClient) GetValidSkusResponder ¶
func (client IotHubResourceClient) GetValidSkusResponder(resp *http.Response) (result IotHubSkuDescriptionListResult, err error)
GetValidSkusResponder handles the response to the GetValidSkus request. The method always closes the http.Response Body.
func (IotHubResourceClient) GetValidSkusSender ¶
GetValidSkusSender sends the GetValidSkus request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) ImportDevices ¶
func (client IotHubResourceClient) ImportDevices(ctx context.Context, resourceGroupName string, resourceName string, importDevicesParameters ImportDevicesRequest) (result JobResponse, err error)
ImportDevices import, update, or delete device identities in the IoT hub identity registry from a blob. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. importDevicesParameters - the parameters that specify the import devices operation.
func (IotHubResourceClient) ImportDevicesPreparer ¶
func (client IotHubResourceClient) ImportDevicesPreparer(ctx context.Context, resourceGroupName string, resourceName string, importDevicesParameters ImportDevicesRequest) (*http.Request, error)
ImportDevicesPreparer prepares the ImportDevices request.
func (IotHubResourceClient) ImportDevicesResponder ¶
func (client IotHubResourceClient) ImportDevicesResponder(resp *http.Response) (result JobResponse, err error)
ImportDevicesResponder handles the response to the ImportDevices request. The method always closes the http.Response Body.
func (IotHubResourceClient) ImportDevicesSender ¶
ImportDevicesSender sends the ImportDevices request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) ListByResourceGroup ¶
func (client IotHubResourceClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result IotHubDescriptionListResultPage, err error)
ListByResourceGroup get all the IoT hubs in a resource group. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub.
func (IotHubResourceClient) ListByResourceGroupComplete ¶
func (client IotHubResourceClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result IotHubDescriptionListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (IotHubResourceClient) ListByResourceGroupPreparer ¶
func (client IotHubResourceClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (IotHubResourceClient) ListByResourceGroupResponder ¶
func (client IotHubResourceClient) ListByResourceGroupResponder(resp *http.Response) (result IotHubDescriptionListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (IotHubResourceClient) ListByResourceGroupSender ¶
func (client IotHubResourceClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) ListBySubscription ¶
func (client IotHubResourceClient) ListBySubscription(ctx context.Context) (result IotHubDescriptionListResultPage, err error)
ListBySubscription get all the IoT hubs in a subscription.
func (IotHubResourceClient) ListBySubscriptionComplete ¶
func (client IotHubResourceClient) ListBySubscriptionComplete(ctx context.Context) (result IotHubDescriptionListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (IotHubResourceClient) ListBySubscriptionPreparer ¶
func (client IotHubResourceClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (IotHubResourceClient) ListBySubscriptionResponder ¶
func (client IotHubResourceClient) ListBySubscriptionResponder(resp *http.Response) (result IotHubDescriptionListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (IotHubResourceClient) ListBySubscriptionSender ¶
func (client IotHubResourceClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) ListEventHubConsumerGroups ¶
func (client IotHubResourceClient) ListEventHubConsumerGroups(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string) (result EventHubConsumerGroupsListResultPage, err error)
ListEventHubConsumerGroups get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub. eventHubEndpointName - the name of the Event Hub-compatible endpoint.
func (IotHubResourceClient) ListEventHubConsumerGroupsComplete ¶
func (client IotHubResourceClient) ListEventHubConsumerGroupsComplete(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string) (result EventHubConsumerGroupsListResultIterator, err error)
ListEventHubConsumerGroupsComplete enumerates all values, automatically crossing page boundaries as required.
func (IotHubResourceClient) ListEventHubConsumerGroupsPreparer ¶
func (client IotHubResourceClient) ListEventHubConsumerGroupsPreparer(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string) (*http.Request, error)
ListEventHubConsumerGroupsPreparer prepares the ListEventHubConsumerGroups request.
func (IotHubResourceClient) ListEventHubConsumerGroupsResponder ¶
func (client IotHubResourceClient) ListEventHubConsumerGroupsResponder(resp *http.Response) (result EventHubConsumerGroupsListResult, err error)
ListEventHubConsumerGroupsResponder handles the response to the ListEventHubConsumerGroups request. The method always closes the http.Response Body.
func (IotHubResourceClient) ListEventHubConsumerGroupsSender ¶
func (client IotHubResourceClient) ListEventHubConsumerGroupsSender(req *http.Request) (*http.Response, error)
ListEventHubConsumerGroupsSender sends the ListEventHubConsumerGroups request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) ListJobs ¶
func (client IotHubResourceClient) ListJobs(ctx context.Context, resourceGroupName string, resourceName string) (result JobResponseListResultPage, err error)
ListJobs get a list of all the jobs in an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub.
func (IotHubResourceClient) ListJobsComplete ¶
func (client IotHubResourceClient) ListJobsComplete(ctx context.Context, resourceGroupName string, resourceName string) (result JobResponseListResultIterator, err error)
ListJobsComplete enumerates all values, automatically crossing page boundaries as required.
func (IotHubResourceClient) ListJobsPreparer ¶
func (client IotHubResourceClient) ListJobsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListJobsPreparer prepares the ListJobs request.
func (IotHubResourceClient) ListJobsResponder ¶
func (client IotHubResourceClient) ListJobsResponder(resp *http.Response) (result JobResponseListResult, err error)
ListJobsResponder handles the response to the ListJobs request. The method always closes the http.Response Body.
func (IotHubResourceClient) ListJobsSender ¶
ListJobsSender sends the ListJobs request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) ListKeys ¶
func (client IotHubResourceClient) ListKeys(ctx context.Context, resourceGroupName string, resourceName string) (result SharedAccessSignatureAuthorizationRuleListResultPage, err error)
ListKeys get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security. Parameters: resourceGroupName - the name of the resource group that contains the IoT hub. resourceName - the name of the IoT hub.
func (IotHubResourceClient) ListKeysComplete ¶
func (client IotHubResourceClient) ListKeysComplete(ctx context.Context, resourceGroupName string, resourceName string) (result SharedAccessSignatureAuthorizationRuleListResultIterator, err error)
ListKeysComplete enumerates all values, automatically crossing page boundaries as required.
func (IotHubResourceClient) ListKeysPreparer ¶
func (client IotHubResourceClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListKeysPreparer prepares the ListKeys request.
func (IotHubResourceClient) ListKeysResponder ¶
func (client IotHubResourceClient) ListKeysResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRuleListResult, err error)
ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.
func (IotHubResourceClient) ListKeysSender ¶
ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) TestAllRoutes ¶
func (client IotHubResourceClient) TestAllRoutes(ctx context.Context, input TestAllRoutesInput, iotHubName string, resourceGroupName string) (result TestAllRoutesResult, err error)
TestAllRoutes test all routes configured in this Iot Hub Parameters: input - input for testing all routes iotHubName - iotHub to be tested resourceGroupName - resource group which Iot Hub belongs to
func (IotHubResourceClient) TestAllRoutesPreparer ¶
func (client IotHubResourceClient) TestAllRoutesPreparer(ctx context.Context, input TestAllRoutesInput, iotHubName string, resourceGroupName string) (*http.Request, error)
TestAllRoutesPreparer prepares the TestAllRoutes request.
func (IotHubResourceClient) TestAllRoutesResponder ¶
func (client IotHubResourceClient) TestAllRoutesResponder(resp *http.Response) (result TestAllRoutesResult, err error)
TestAllRoutesResponder handles the response to the TestAllRoutes request. The method always closes the http.Response Body.
func (IotHubResourceClient) TestAllRoutesSender ¶
TestAllRoutesSender sends the TestAllRoutes request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) TestRoute ¶
func (client IotHubResourceClient) TestRoute(ctx context.Context, input TestRouteInput, iotHubName string, resourceGroupName string) (result TestRouteResult, err error)
TestRoute test the new route for this Iot Hub Parameters: input - route that needs to be tested iotHubName - iotHub to be tested resourceGroupName - resource group which Iot Hub belongs to
func (IotHubResourceClient) TestRoutePreparer ¶
func (client IotHubResourceClient) TestRoutePreparer(ctx context.Context, input TestRouteInput, iotHubName string, resourceGroupName string) (*http.Request, error)
TestRoutePreparer prepares the TestRoute request.
func (IotHubResourceClient) TestRouteResponder ¶
func (client IotHubResourceClient) TestRouteResponder(resp *http.Response) (result TestRouteResult, err error)
TestRouteResponder handles the response to the TestRoute request. The method always closes the http.Response Body.
func (IotHubResourceClient) TestRouteSender ¶
TestRouteSender sends the TestRoute request. The method will close the http.Response Body if it receives an error.
func (IotHubResourceClient) Update ¶
func (client IotHubResourceClient) Update(ctx context.Context, resourceGroupName string, resourceName string, iotHubTags TagsResource) (result IotHubResourceUpdateFuture, err error)
Update update an existing IoT Hub tags. to update other fields use the CreateOrUpdate method Parameters: resourceGroupName - resource group identifier. resourceName - name of iot hub to update. iotHubTags - updated tag information to set into the iot hub instance.
func (IotHubResourceClient) UpdatePreparer ¶
func (client IotHubResourceClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, iotHubTags TagsResource) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (IotHubResourceClient) UpdateResponder ¶
func (client IotHubResourceClient) UpdateResponder(resp *http.Response) (result IotHubDescription, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (IotHubResourceClient) UpdateSender ¶
func (client IotHubResourceClient) UpdateSender(req *http.Request) (future IotHubResourceUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type IotHubResourceCreateOrUpdateFuture ¶
IotHubResourceCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*IotHubResourceCreateOrUpdateFuture) Result ¶
func (future *IotHubResourceCreateOrUpdateFuture) Result(client IotHubResourceClient) (ihd IotHubDescription, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type IotHubResourceDeleteFuture ¶
IotHubResourceDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*IotHubResourceDeleteFuture) Result ¶
func (future *IotHubResourceDeleteFuture) Result(client IotHubResourceClient) (so SetObject, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type IotHubResourceUpdateFuture ¶
IotHubResourceUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*IotHubResourceUpdateFuture) Result ¶
func (future *IotHubResourceUpdateFuture) Result(client IotHubResourceClient) (ihd IotHubDescription, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type IotHubScaleType ¶
type IotHubScaleType string
IotHubScaleType enumerates the values for iot hub scale type.
const ( // IotHubScaleTypeAutomatic ... IotHubScaleTypeAutomatic IotHubScaleType = "Automatic" // IotHubScaleTypeManual ... IotHubScaleTypeManual IotHubScaleType = "Manual" // IotHubScaleTypeNone ... IotHubScaleTypeNone IotHubScaleType = "None" )
func PossibleIotHubScaleTypeValues ¶
func PossibleIotHubScaleTypeValues() []IotHubScaleType
PossibleIotHubScaleTypeValues returns an array of possible values for the IotHubScaleType const type.
type IotHubSku ¶
type IotHubSku string
IotHubSku enumerates the values for iot hub sku.
func PossibleIotHubSkuValues ¶
func PossibleIotHubSkuValues() []IotHubSku
PossibleIotHubSkuValues returns an array of possible values for the IotHubSku const type.
type IotHubSkuDescription ¶
type IotHubSkuDescription struct { // ResourceType - The type of the resource. ResourceType *string `json:"resourceType,omitempty"` // Sku - The type of the resource. Sku *IotHubSkuInfo `json:"sku,omitempty"` // Capacity - IotHub capacity Capacity *IotHubCapacity `json:"capacity,omitempty"` }
IotHubSkuDescription SKU properties.
type IotHubSkuDescriptionListResult ¶
type IotHubSkuDescriptionListResult struct { autorest.Response `json:"-"` // Value - The array of IotHubSkuDescription. Value *[]IotHubSkuDescription `json:"value,omitempty"` // NextLink - The next link. NextLink *string `json:"nextLink,omitempty"` }
IotHubSkuDescriptionListResult the JSON-serialized array of IotHubSkuDescription objects with a next link.
func (IotHubSkuDescriptionListResult) IsEmpty ¶
func (ihsdlr IotHubSkuDescriptionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type IotHubSkuDescriptionListResultIterator ¶
type IotHubSkuDescriptionListResultIterator struct {
// contains filtered or unexported fields
}
IotHubSkuDescriptionListResultIterator provides access to a complete listing of IotHubSkuDescription values.
func NewIotHubSkuDescriptionListResultIterator ¶
func NewIotHubSkuDescriptionListResultIterator(page IotHubSkuDescriptionListResultPage) IotHubSkuDescriptionListResultIterator
Creates a new instance of the IotHubSkuDescriptionListResultIterator type.
func (*IotHubSkuDescriptionListResultIterator) Next ¶
func (iter *IotHubSkuDescriptionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IotHubSkuDescriptionListResultIterator) NextWithContext ¶
func (iter *IotHubSkuDescriptionListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (IotHubSkuDescriptionListResultIterator) NotDone ¶
func (iter IotHubSkuDescriptionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (IotHubSkuDescriptionListResultIterator) Response ¶
func (iter IotHubSkuDescriptionListResultIterator) Response() IotHubSkuDescriptionListResult
Response returns the raw server response from the last page request.
func (IotHubSkuDescriptionListResultIterator) Value ¶
func (iter IotHubSkuDescriptionListResultIterator) Value() IotHubSkuDescription
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type IotHubSkuDescriptionListResultPage ¶
type IotHubSkuDescriptionListResultPage struct {
// contains filtered or unexported fields
}
IotHubSkuDescriptionListResultPage contains a page of IotHubSkuDescription values.
func NewIotHubSkuDescriptionListResultPage ¶
func NewIotHubSkuDescriptionListResultPage(getNextPage func(context.Context, IotHubSkuDescriptionListResult) (IotHubSkuDescriptionListResult, error)) IotHubSkuDescriptionListResultPage
Creates a new instance of the IotHubSkuDescriptionListResultPage type.
func (*IotHubSkuDescriptionListResultPage) Next ¶
func (page *IotHubSkuDescriptionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*IotHubSkuDescriptionListResultPage) NextWithContext ¶
func (page *IotHubSkuDescriptionListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (IotHubSkuDescriptionListResultPage) NotDone ¶
func (page IotHubSkuDescriptionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (IotHubSkuDescriptionListResultPage) Response ¶
func (page IotHubSkuDescriptionListResultPage) Response() IotHubSkuDescriptionListResult
Response returns the raw server response from the last page request.
func (IotHubSkuDescriptionListResultPage) Values ¶
func (page IotHubSkuDescriptionListResultPage) Values() []IotHubSkuDescription
Values returns the slice of values for the current page or nil if there are no values.
type IotHubSkuInfo ¶
type IotHubSkuInfo struct { // Name - The name of the SKU. Possible values include: 'F1', 'S1', 'S2', 'S3', 'B1', 'B2', 'B3' Name IotHubSku `json:"name,omitempty"` // Tier - The billing tier for the IoT hub. Possible values include: 'Free', 'Standard', 'Basic' Tier IotHubSkuTier `json:"tier,omitempty"` // Capacity - The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits. Capacity *int64 `json:"capacity,omitempty"` }
IotHubSkuInfo information about the SKU of the IoT hub.
type IotHubSkuTier ¶
type IotHubSkuTier string
IotHubSkuTier enumerates the values for iot hub sku tier.
const ( // Basic ... Basic IotHubSkuTier = "Basic" // Free ... Free IotHubSkuTier = "Free" // Standard ... Standard IotHubSkuTier = "Standard" )
func PossibleIotHubSkuTierValues ¶
func PossibleIotHubSkuTierValues() []IotHubSkuTier
PossibleIotHubSkuTierValues returns an array of possible values for the IotHubSkuTier const type.
type JobResponse ¶
type JobResponse struct { autorest.Response `json:"-"` // JobID - The job identifier. JobID *string `json:"jobId,omitempty"` // StartTimeUtc - The start time of the job. StartTimeUtc *date.TimeRFC1123 `json:"startTimeUtc,omitempty"` // EndTimeUtc - The time the job stopped processing. EndTimeUtc *date.TimeRFC1123 `json:"endTimeUtc,omitempty"` // Type - The type of the job. Possible values include: 'JobTypeUnknown', 'JobTypeExport', 'JobTypeImport', 'JobTypeBackup', 'JobTypeReadDeviceProperties', 'JobTypeWriteDeviceProperties', 'JobTypeUpdateDeviceConfiguration', 'JobTypeRebootDevice', 'JobTypeFactoryResetDevice', 'JobTypeFirmwareUpdate' Type JobType `json:"type,omitempty"` // Status - The status of the job. Possible values include: 'JobStatusUnknown', 'JobStatusEnqueued', 'JobStatusRunning', 'JobStatusCompleted', 'JobStatusFailed', 'JobStatusCancelled' Status JobStatus `json:"status,omitempty"` // FailureReason - If status == failed, this string containing the reason for the failure. FailureReason *string `json:"failureReason,omitempty"` // StatusMessage - The status message for the job. StatusMessage *string `json:"statusMessage,omitempty"` // ParentJobID - The job identifier of the parent job, if any. ParentJobID *string `json:"parentJobId,omitempty"` }
JobResponse the properties of the Job Response object.
type JobResponseListResult ¶
type JobResponseListResult struct { autorest.Response `json:"-"` // Value - The array of JobResponse objects. Value *[]JobResponse `json:"value,omitempty"` // NextLink - The next link. NextLink *string `json:"nextLink,omitempty"` }
JobResponseListResult the JSON-serialized array of JobResponse objects with a next link.
func (JobResponseListResult) IsEmpty ¶
func (jrlr JobResponseListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type JobResponseListResultIterator ¶
type JobResponseListResultIterator struct {
// contains filtered or unexported fields
}
JobResponseListResultIterator provides access to a complete listing of JobResponse values.
func NewJobResponseListResultIterator ¶
func NewJobResponseListResultIterator(page JobResponseListResultPage) JobResponseListResultIterator
Creates a new instance of the JobResponseListResultIterator type.
func (*JobResponseListResultIterator) Next ¶
func (iter *JobResponseListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobResponseListResultIterator) NextWithContext ¶
func (iter *JobResponseListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (JobResponseListResultIterator) NotDone ¶
func (iter JobResponseListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (JobResponseListResultIterator) Response ¶
func (iter JobResponseListResultIterator) Response() JobResponseListResult
Response returns the raw server response from the last page request.
func (JobResponseListResultIterator) Value ¶
func (iter JobResponseListResultIterator) Value() JobResponse
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type JobResponseListResultPage ¶
type JobResponseListResultPage struct {
// contains filtered or unexported fields
}
JobResponseListResultPage contains a page of JobResponse values.
func NewJobResponseListResultPage ¶
func NewJobResponseListResultPage(getNextPage func(context.Context, JobResponseListResult) (JobResponseListResult, error)) JobResponseListResultPage
Creates a new instance of the JobResponseListResultPage type.
func (*JobResponseListResultPage) Next ¶
func (page *JobResponseListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*JobResponseListResultPage) NextWithContext ¶
func (page *JobResponseListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (JobResponseListResultPage) NotDone ¶
func (page JobResponseListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (JobResponseListResultPage) Response ¶
func (page JobResponseListResultPage) Response() JobResponseListResult
Response returns the raw server response from the last page request.
func (JobResponseListResultPage) Values ¶
func (page JobResponseListResultPage) Values() []JobResponse
Values returns the slice of values for the current page or nil if there are no values.
type JobStatus ¶
type JobStatus string
JobStatus enumerates the values for job status.
const ( // JobStatusCancelled ... JobStatusCancelled JobStatus = "cancelled" // JobStatusCompleted ... JobStatusCompleted JobStatus = "completed" // JobStatusEnqueued ... JobStatusEnqueued JobStatus = "enqueued" // JobStatusFailed ... JobStatusFailed JobStatus = "failed" // JobStatusRunning ... JobStatusRunning JobStatus = "running" // JobStatusUnknown ... JobStatusUnknown JobStatus = "unknown" )
func PossibleJobStatusValues ¶
func PossibleJobStatusValues() []JobStatus
PossibleJobStatusValues returns an array of possible values for the JobStatus const type.
type JobType ¶
type JobType string
JobType enumerates the values for job type.
const ( // JobTypeBackup ... JobTypeBackup JobType = "backup" // JobTypeExport ... JobTypeExport JobType = "export" // JobTypeFactoryResetDevice ... JobTypeFactoryResetDevice JobType = "factoryResetDevice" // JobTypeFirmwareUpdate ... JobTypeFirmwareUpdate JobType = "firmwareUpdate" // JobTypeImport ... JobTypeImport JobType = "import" // JobTypeReadDeviceProperties ... JobTypeReadDeviceProperties JobType = "readDeviceProperties" // JobTypeRebootDevice ... JobTypeRebootDevice JobType = "rebootDevice" // JobTypeUnknown ... JobTypeUnknown JobType = "unknown" // JobTypeUpdateDeviceConfiguration ... JobTypeUpdateDeviceConfiguration JobType = "updateDeviceConfiguration" // JobTypeWriteDeviceProperties ... JobTypeWriteDeviceProperties JobType = "writeDeviceProperties" )
func PossibleJobTypeValues ¶
func PossibleJobTypeValues() []JobType
PossibleJobTypeValues returns an array of possible values for the JobType const type.
type MatchedRoute ¶
type MatchedRoute struct { // Properties - Properties of routes that matched Properties *RouteProperties `json:"properties,omitempty"` }
MatchedRoute routes that matched
type MessagingEndpointProperties ¶
type MessagingEndpointProperties struct { // LockDurationAsIso8601 - The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. LockDurationAsIso8601 *string `json:"lockDurationAsIso8601,omitempty"` // TTLAsIso8601 - The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. TTLAsIso8601 *string `json:"ttlAsIso8601,omitempty"` // MaxDeliveryCount - The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload. MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"` }
MessagingEndpointProperties the properties of the messaging endpoints used by this IoT hub.
type Name ¶
type Name struct { // Value - IotHub type Value *string `json:"value,omitempty"` // LocalizedValue - Localized value of name LocalizedValue *string `json:"localizedValue,omitempty"` }
Name name of Iot Hub type
type Operation ¶
type Operation struct { // Name - Operation name: {provider}/{resource}/{read | write | action | delete} Name *string `json:"name,omitempty"` // Display - The object that represents the operation. Display *OperationDisplay `json:"display,omitempty"` }
Operation ioT Hub REST API operation
type OperationDisplay ¶
type OperationDisplay struct { // Provider - Service provider: Microsoft Devices Provider *string `json:"provider,omitempty"` // Resource - Resource Type: IotHubs Resource *string `json:"resource,omitempty"` // Operation - Name of the operation Operation *string `json:"operation,omitempty"` // Description - Description of the operation Description *string `json:"description,omitempty"` }
OperationDisplay the object that represents the operation.
type OperationInputs ¶
type OperationInputs struct { // Name - The name of the IoT hub to check. Name *string `json:"name,omitempty"` }
OperationInputs input values.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - List of IoT Hub operations supported by the Microsoft.Devices resource provider. Value *[]Operation `json:"value,omitempty"` // NextLink - URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` }
OperationListResult result of the request to list IoT Hub operations. It contains a list of operations and a URL link to get the next set of results.
func (OperationListResult) IsEmpty ¶
func (olr OperationListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListResultIterator ¶
type OperationListResultIterator struct {
// contains filtered or unexported fields
}
OperationListResultIterator provides access to a complete listing of Operation values.
func NewOperationListResultIterator ¶
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
Creates a new instance of the OperationListResultIterator type.
func (*OperationListResultIterator) Next ¶
func (iter *OperationListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultIterator) NextWithContext ¶
func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationListResultIterator) NotDone ¶
func (iter OperationListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListResultIterator) Response ¶
func (iter OperationListResultIterator) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultIterator) Value ¶
func (iter OperationListResultIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListResultPage ¶
type OperationListResultPage struct {
// contains filtered or unexported fields
}
OperationListResultPage contains a page of Operation values.
func NewOperationListResultPage ¶
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
Creates a new instance of the OperationListResultPage type.
func (*OperationListResultPage) Next ¶
func (page *OperationListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListResultPage) NextWithContext ¶
func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationListResultPage) NotDone ¶
func (page OperationListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListResultPage) Response ¶
func (page OperationListResultPage) Response() OperationListResult
Response returns the raw server response from the last page request.
func (OperationListResultPage) Values ¶
func (page OperationListResultPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationMonitoringLevel ¶
type OperationMonitoringLevel string
OperationMonitoringLevel enumerates the values for operation monitoring level.
const ( // OperationMonitoringLevelError ... OperationMonitoringLevelError OperationMonitoringLevel = "Error" // OperationMonitoringLevelErrorInformation ... OperationMonitoringLevelErrorInformation OperationMonitoringLevel = "Error, Information" // OperationMonitoringLevelInformation ... OperationMonitoringLevelInformation OperationMonitoringLevel = "Information" // OperationMonitoringLevelNone ... OperationMonitoringLevelNone OperationMonitoringLevel = "None" )
func PossibleOperationMonitoringLevelValues ¶
func PossibleOperationMonitoringLevelValues() []OperationMonitoringLevel
PossibleOperationMonitoringLevelValues returns an array of possible values for the OperationMonitoringLevel const type.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the use this API to manage the IoT hubs in your Azure subscription.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
List lists all of the available IoT Hub REST API operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type OperationsMonitoringProperties ¶
type OperationsMonitoringProperties struct {
Events map[string]*OperationMonitoringLevel `json:"events"`
}
OperationsMonitoringProperties the operations monitoring properties for the IoT hub. The possible keys to the dictionary are Connections, DeviceTelemetry, C2DCommands, DeviceIdentityOperations, FileUploadOperations, Routes, D2CTwinOperations, C2DTwinOperations, TwinQueries, JobsOperations, DirectMethods.
func (OperationsMonitoringProperties) MarshalJSON ¶
func (omp OperationsMonitoringProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationsMonitoringProperties.
type RegistryStatistics ¶
type RegistryStatistics struct { autorest.Response `json:"-"` // TotalDeviceCount - The total count of devices in the identity registry. TotalDeviceCount *int64 `json:"totalDeviceCount,omitempty"` // EnabledDeviceCount - The count of enabled devices in the identity registry. EnabledDeviceCount *int64 `json:"enabledDeviceCount,omitempty"` // DisabledDeviceCount - The count of disabled devices in the identity registry. DisabledDeviceCount *int64 `json:"disabledDeviceCount,omitempty"` }
RegistryStatistics identity registry statistics.
type Resource ¶
type Resource struct { // ID - The resource identifier. ID *string `json:"id,omitempty"` // Name - The resource name. Name *string `json:"name,omitempty"` // Type - The resource type. Type *string `json:"type,omitempty"` // Location - The resource location. Location *string `json:"location,omitempty"` // Tags - The resource tags. Tags map[string]*string `json:"tags"` }
Resource the common properties of an Azure resource.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceProviderCommonClient ¶
type ResourceProviderCommonClient struct {
BaseClient
}
ResourceProviderCommonClient is the use this API to manage the IoT hubs in your Azure subscription.
func NewResourceProviderCommonClient ¶
func NewResourceProviderCommonClient(subscriptionID string) ResourceProviderCommonClient
NewResourceProviderCommonClient creates an instance of the ResourceProviderCommonClient client.
func NewResourceProviderCommonClientWithBaseURI ¶
func NewResourceProviderCommonClientWithBaseURI(baseURI string, subscriptionID string) ResourceProviderCommonClient
NewResourceProviderCommonClientWithBaseURI creates an instance of the ResourceProviderCommonClient client.
func (ResourceProviderCommonClient) GetSubscriptionQuota ¶
func (client ResourceProviderCommonClient) GetSubscriptionQuota(ctx context.Context) (result UserSubscriptionQuotaListResult, err error)
GetSubscriptionQuota get the number of free and paid iot hubs in the subscription
func (ResourceProviderCommonClient) GetSubscriptionQuotaPreparer ¶
func (client ResourceProviderCommonClient) GetSubscriptionQuotaPreparer(ctx context.Context) (*http.Request, error)
GetSubscriptionQuotaPreparer prepares the GetSubscriptionQuota request.
func (ResourceProviderCommonClient) GetSubscriptionQuotaResponder ¶
func (client ResourceProviderCommonClient) GetSubscriptionQuotaResponder(resp *http.Response) (result UserSubscriptionQuotaListResult, err error)
GetSubscriptionQuotaResponder handles the response to the GetSubscriptionQuota request. The method always closes the http.Response Body.
func (ResourceProviderCommonClient) GetSubscriptionQuotaSender ¶
func (client ResourceProviderCommonClient) GetSubscriptionQuotaSender(req *http.Request) (*http.Response, error)
GetSubscriptionQuotaSender sends the GetSubscriptionQuota request. The method will close the http.Response Body if it receives an error.
type RouteCompilationError ¶
type RouteCompilationError struct { // Message - Route error message Message *string `json:"message,omitempty"` // Severity - Severity of the route error. Possible values include: 'Error', 'Warning' Severity RouteErrorSeverity `json:"severity,omitempty"` // Location - Location where the route error happened Location *RouteErrorRange `json:"location,omitempty"` }
RouteCompilationError compilation error when evaluating route
type RouteErrorPosition ¶
type RouteErrorPosition struct { // Line - Line where the route error happened Line *int32 `json:"line,omitempty"` // Column - Column where the route error happened Column *int32 `json:"column,omitempty"` }
RouteErrorPosition position where the route error happened
type RouteErrorRange ¶
type RouteErrorRange struct { // Start - Start where the route error happened Start *RouteErrorPosition `json:"start,omitempty"` // End - End where the route error happened End *RouteErrorPosition `json:"end,omitempty"` }
RouteErrorRange range of route errors
type RouteErrorSeverity ¶
type RouteErrorSeverity string
RouteErrorSeverity enumerates the values for route error severity.
const ( // Error ... Error RouteErrorSeverity = "error" // Warning ... Warning RouteErrorSeverity = "warning" )
func PossibleRouteErrorSeverityValues ¶
func PossibleRouteErrorSeverityValues() []RouteErrorSeverity
PossibleRouteErrorSeverityValues returns an array of possible values for the RouteErrorSeverity const type.
type RouteProperties ¶
type RouteProperties struct { // Name - The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique. Name *string `json:"name,omitempty"` // Source - The source that the routing rule is to be applied to, such as DeviceMessages. Possible values include: 'RoutingSourceInvalid', 'RoutingSourceDeviceMessages', 'RoutingSourceTwinChangeEvents', 'RoutingSourceDeviceLifecycleEvents', 'RoutingSourceDeviceJobLifecycleEvents' Source RoutingSource `json:"source,omitempty"` // Condition - The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language Condition *string `json:"condition,omitempty"` // EndpointNames - The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed. EndpointNames *[]string `json:"endpointNames,omitempty"` // IsEnabled - Used to specify whether a route is enabled. IsEnabled *bool `json:"isEnabled,omitempty"` }
RouteProperties the properties of a routing rule that your IoT hub uses to route messages to endpoints.
type RoutingEndpoints ¶
type RoutingEndpoints struct { // ServiceBusQueues - The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules. ServiceBusQueues *[]RoutingServiceBusQueueEndpointProperties `json:"serviceBusQueues,omitempty"` // ServiceBusTopics - The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules. ServiceBusTopics *[]RoutingServiceBusTopicEndpointProperties `json:"serviceBusTopics,omitempty"` // EventHubs - The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint. EventHubs *[]RoutingEventHubProperties `json:"eventHubs,omitempty"` // StorageContainers - The list of storage container endpoints that IoT hub routes messages to, based on the routing rules. StorageContainers *[]RoutingStorageContainerProperties `json:"storageContainers,omitempty"` }
RoutingEndpoints the properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs.
type RoutingEventHubProperties ¶
type RoutingEventHubProperties struct { // ConnectionString - The connection string of the event hub endpoint. ConnectionString *string `json:"connectionString,omitempty"` // Name - The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. Name *string `json:"name,omitempty"` // SubscriptionID - The subscription identifier of the event hub endpoint. SubscriptionID *string `json:"subscriptionId,omitempty"` // ResourceGroup - The name of the resource group of the event hub endpoint. ResourceGroup *string `json:"resourceGroup,omitempty"` }
RoutingEventHubProperties the properties related to an event hub endpoint.
type RoutingMessage ¶
type RoutingMessage struct { // Body - Body of routing message Body *string `json:"body,omitempty"` // AppProperties - App properties AppProperties map[string]*string `json:"appProperties"` // SystemProperties - System properties SystemProperties map[string]*string `json:"systemProperties"` }
RoutingMessage routing message
func (RoutingMessage) MarshalJSON ¶
func (rm RoutingMessage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RoutingMessage.
type RoutingProperties ¶
type RoutingProperties struct { Endpoints *RoutingEndpoints `json:"endpoints,omitempty"` // Routes - The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs. Routes *[]RouteProperties `json:"routes,omitempty"` // FallbackRoute - The properties of the route that is used as a fall-back route when none of the conditions specified in the 'routes' section are met. This is an optional parameter. When this property is not set, the messages which do not meet any of the conditions specified in the 'routes' section get routed to the built-in eventhub endpoint. FallbackRoute *FallbackRouteProperties `json:"fallbackRoute,omitempty"` }
RoutingProperties the routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging
type RoutingServiceBusQueueEndpointProperties ¶
type RoutingServiceBusQueueEndpointProperties struct { // ConnectionString - The connection string of the service bus queue endpoint. ConnectionString *string `json:"connectionString,omitempty"` // Name - The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name. Name *string `json:"name,omitempty"` // SubscriptionID - The subscription identifier of the service bus queue endpoint. SubscriptionID *string `json:"subscriptionId,omitempty"` // ResourceGroup - The name of the resource group of the service bus queue endpoint. ResourceGroup *string `json:"resourceGroup,omitempty"` }
RoutingServiceBusQueueEndpointProperties the properties related to service bus queue endpoint types.
type RoutingServiceBusTopicEndpointProperties ¶
type RoutingServiceBusTopicEndpointProperties struct { // ConnectionString - The connection string of the service bus topic endpoint. ConnectionString *string `json:"connectionString,omitempty"` // Name - The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name. Name *string `json:"name,omitempty"` // SubscriptionID - The subscription identifier of the service bus topic endpoint. SubscriptionID *string `json:"subscriptionId,omitempty"` // ResourceGroup - The name of the resource group of the service bus topic endpoint. ResourceGroup *string `json:"resourceGroup,omitempty"` }
RoutingServiceBusTopicEndpointProperties the properties related to service bus topic endpoint types.
type RoutingSource ¶
type RoutingSource string
RoutingSource enumerates the values for routing source.
const ( // RoutingSourceDeviceJobLifecycleEvents ... RoutingSourceDeviceJobLifecycleEvents RoutingSource = "DeviceJobLifecycleEvents" // RoutingSourceDeviceLifecycleEvents ... RoutingSourceDeviceLifecycleEvents RoutingSource = "DeviceLifecycleEvents" // RoutingSourceDeviceMessages ... RoutingSourceDeviceMessages RoutingSource = "DeviceMessages" // RoutingSourceInvalid ... RoutingSourceInvalid RoutingSource = "Invalid" // RoutingSourceTwinChangeEvents ... RoutingSourceTwinChangeEvents RoutingSource = "TwinChangeEvents" )
func PossibleRoutingSourceValues ¶
func PossibleRoutingSourceValues() []RoutingSource
PossibleRoutingSourceValues returns an array of possible values for the RoutingSource const type.
type RoutingStorageContainerProperties ¶
type RoutingStorageContainerProperties struct { // ConnectionString - The connection string of the storage account. ConnectionString *string `json:"connectionString,omitempty"` // Name - The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, operationsMonitoringEvents, fileNotifications, $default. Endpoint names must be unique across endpoint types. Name *string `json:"name,omitempty"` // SubscriptionID - The subscription identifier of the storage account. SubscriptionID *string `json:"subscriptionId,omitempty"` // ResourceGroup - The name of the resource group of the storage account. ResourceGroup *string `json:"resourceGroup,omitempty"` // ContainerName - The name of storage container in the storage account. ContainerName *string `json:"containerName,omitempty"` // FileNameFormat - File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered. FileNameFormat *string `json:"fileNameFormat,omitempty"` // BatchFrequencyInSeconds - Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds. BatchFrequencyInSeconds *int32 `json:"batchFrequencyInSeconds,omitempty"` // MaxChunkSizeInBytes - Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB). MaxChunkSizeInBytes *int32 `json:"maxChunkSizeInBytes,omitempty"` // Encoding - Encoding that is used to serialize messages to blobs. Supported values are 'avro' and 'avrodeflate'. Default value is 'avro'. Encoding *string `json:"encoding,omitempty"` }
RoutingStorageContainerProperties the properties related to a storage container endpoint.
type RoutingTwin ¶
type RoutingTwin struct { // Tags - Twin Tags Tags interface{} `json:"tags,omitempty"` Properties *RoutingTwinProperties `json:"properties,omitempty"` }
RoutingTwin twin reference input parameter. This is an optional parameter
type RoutingTwinProperties ¶
type RoutingTwinProperties struct { // Desired - Twin desired properties Desired interface{} `json:"desired,omitempty"` // Reported - Twin desired properties Reported interface{} `json:"reported,omitempty"` }
RoutingTwinProperties ...
type SharedAccessSignatureAuthorizationRule ¶
type SharedAccessSignatureAuthorizationRule struct { string `json:"keyName,omitempty"` PrimaryKey *string `json:"primaryKey,omitempty"` SecondaryKey *string `json:"secondaryKey,omitempty"` Rights AccessRights `json:"rights,omitempty"` }KeyName *
SharedAccessSignatureAuthorizationRule the properties of an IoT hub shared access policy.
type SharedAccessSignatureAuthorizationRuleListResult ¶
type SharedAccessSignatureAuthorizationRuleListResult struct { SharedAccessSignatureAuthorizationRule `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }Value *[]
SharedAccessSignatureAuthorizationRuleListResult the list of shared access policies with a next link.
func (SharedAccessSignatureAuthorizationRuleListResult) IsEmpty ¶
func (sasarlr SharedAccessSignatureAuthorizationRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SharedAccessSignatureAuthorizationRuleListResultIterator ¶
type SharedAccessSignatureAuthorizationRuleListResultIterator struct {
// contains filtered or unexported fields
}
SharedAccessSignatureAuthorizationRuleListResultIterator provides access to a complete listing of SharedAccessSignatureAuthorizationRule values.
func NewSharedAccessSignatureAuthorizationRuleListResultIterator ¶
func NewSharedAccessSignatureAuthorizationRuleListResultIterator(page SharedAccessSignatureAuthorizationRuleListResultPage) SharedAccessSignatureAuthorizationRuleListResultIterator
Creates a new instance of the SharedAccessSignatureAuthorizationRuleListResultIterator type.
func (*SharedAccessSignatureAuthorizationRuleListResultIterator) Next ¶
func (iter *SharedAccessSignatureAuthorizationRuleListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SharedAccessSignatureAuthorizationRuleListResultIterator) NextWithContext ¶
func (iter *SharedAccessSignatureAuthorizationRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SharedAccessSignatureAuthorizationRuleListResultIterator) NotDone ¶
func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SharedAccessSignatureAuthorizationRuleListResultIterator) Response ¶
func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) Response() SharedAccessSignatureAuthorizationRuleListResult
Response returns the raw server response from the last page request.
func (SharedAccessSignatureAuthorizationRuleListResultIterator) Value ¶
func (iter SharedAccessSignatureAuthorizationRuleListResultIterator) Value() SharedAccessSignatureAuthorizationRule
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SharedAccessSignatureAuthorizationRuleListResultPage ¶
type SharedAccessSignatureAuthorizationRuleListResultPage struct {
// contains filtered or unexported fields
}
SharedAccessSignatureAuthorizationRuleListResultPage contains a page of SharedAccessSignatureAuthorizationRule values.
func NewSharedAccessSignatureAuthorizationRuleListResultPage ¶
func NewSharedAccessSignatureAuthorizationRuleListResultPage(getNextPage func(context.Context, SharedAccessSignatureAuthorizationRuleListResult) (SharedAccessSignatureAuthorizationRuleListResult, error)) SharedAccessSignatureAuthorizationRuleListResultPage
Creates a new instance of the SharedAccessSignatureAuthorizationRuleListResultPage type.
func (*SharedAccessSignatureAuthorizationRuleListResultPage) Next ¶
func (page *SharedAccessSignatureAuthorizationRuleListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SharedAccessSignatureAuthorizationRuleListResultPage) NextWithContext ¶
func (page *SharedAccessSignatureAuthorizationRuleListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SharedAccessSignatureAuthorizationRuleListResultPage) NotDone ¶
func (page SharedAccessSignatureAuthorizationRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SharedAccessSignatureAuthorizationRuleListResultPage) Response ¶
func (page SharedAccessSignatureAuthorizationRuleListResultPage) Response() SharedAccessSignatureAuthorizationRuleListResult
Response returns the raw server response from the last page request.
func (SharedAccessSignatureAuthorizationRuleListResultPage) Values ¶
func (page SharedAccessSignatureAuthorizationRuleListResultPage) Values() []SharedAccessSignatureAuthorizationRule
Values returns the slice of values for the current page or nil if there are no values.
type StorageEndpointProperties ¶
type StorageEndpointProperties struct { // SasTTLAsIso8601 - The period of time for which the the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options. SasTTLAsIso8601 *string `json:"sasTtlAsIso8601,omitempty"` // ConnectionString - The connection string for the Azure Storage account to which files are uploaded. ConnectionString *string `json:"connectionString,omitempty"` // ContainerName - The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified. ContainerName *string `json:"containerName,omitempty"` }
StorageEndpointProperties the properties of the Azure Storage endpoint for file upload.
type TagsResource ¶
TagsResource a container holding only the Tags for a resource, allowing the user to update the tags on an IoT Hub instance.
func (TagsResource) MarshalJSON ¶
func (tr TagsResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsResource.
type TestAllRoutesInput ¶
type TestAllRoutesInput struct { // RoutingSource - Routing source. Possible values include: 'RoutingSourceInvalid', 'RoutingSourceDeviceMessages', 'RoutingSourceTwinChangeEvents', 'RoutingSourceDeviceLifecycleEvents', 'RoutingSourceDeviceJobLifecycleEvents' RoutingSource RoutingSource `json:"routingSource,omitempty"` // Message - Routing message Message *RoutingMessage `json:"message,omitempty"` // Twin - Routing Twin Reference Twin *RoutingTwin `json:"twin,omitempty"` }
TestAllRoutesInput input for testing all routes
type TestAllRoutesResult ¶
type TestAllRoutesResult struct { autorest.Response `json:"-"` // Routes - JSON-serialized array of matched routes Routes *[]MatchedRoute `json:"routes,omitempty"` }
TestAllRoutesResult result of testing all routes
type TestResultStatus ¶
type TestResultStatus string
TestResultStatus enumerates the values for test result status.
const ( // False ... False TestResultStatus = "false" // True ... True TestResultStatus = "true" // Undefined ... Undefined TestResultStatus = "undefined" )
func PossibleTestResultStatusValues ¶
func PossibleTestResultStatusValues() []TestResultStatus
PossibleTestResultStatusValues returns an array of possible values for the TestResultStatus const type.
type TestRouteInput ¶
type TestRouteInput struct { // Message - Routing message Message *RoutingMessage `json:"message,omitempty"` // Route - Route properties Route *RouteProperties `json:"route,omitempty"` // Twin - Routing Twin Reference Twin *RoutingTwin `json:"twin,omitempty"` }
TestRouteInput input for testing route
type TestRouteResult ¶
type TestRouteResult struct { autorest.Response `json:"-"` // Result - Result of testing route. Possible values include: 'Undefined', 'False', 'True' Result TestResultStatus `json:"result,omitempty"` // Details - Detailed result of testing route Details *TestRouteResultDetails `json:"details,omitempty"` }
TestRouteResult result of testing one route
type TestRouteResultDetails ¶
type TestRouteResultDetails struct { // CompilationErrors - JSON-serialized list of route compilation errors CompilationErrors *[]RouteCompilationError `json:"compilationErrors,omitempty"` }
TestRouteResultDetails detailed result of testing a route
type UserSubscriptionQuota ¶
type UserSubscriptionQuota struct { // ID - IotHub type id ID *string `json:"id,omitempty"` // Type - Response type Type *string `json:"type,omitempty"` // Unit - Unit of IotHub type Unit *string `json:"unit,omitempty"` // CurrentValue - Current number of IotHub type CurrentValue *int32 `json:"currentValue,omitempty"` // Limit - Numerical limit on IotHub type Limit *int32 `json:"limit,omitempty"` // Name - IotHub type Name *Name `json:"name,omitempty"` }
UserSubscriptionQuota user subscription quota response
type UserSubscriptionQuotaListResult ¶
type UserSubscriptionQuotaListResult struct { autorest.Response `json:"-"` Value *[]UserSubscriptionQuota `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
UserSubscriptionQuotaListResult json-serialized array of User subscription quota response