vendor: update all dependencies to latest versions
This commit is contained in:
+176
-90
@@ -14,9 +14,8 @@ package iothub
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
|
||||
// Changes may cause incorrect behavior and will be lost if the code is
|
||||
// regenerated.
|
||||
// Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
||||
|
||||
import (
|
||||
"github.com/Azure/go-autorest/autorest"
|
||||
@@ -33,43 +32,36 @@ const (
|
||||
DeviceConnect AccessRights = "DeviceConnect"
|
||||
// RegistryRead specifies the registry read state for access rights.
|
||||
RegistryRead AccessRights = "RegistryRead"
|
||||
// RegistryReadDeviceConnect specifies the registry read device connect
|
||||
// state for access rights.
|
||||
// RegistryReadDeviceConnect specifies the registry read device connect state for access rights.
|
||||
RegistryReadDeviceConnect AccessRights = "RegistryRead, DeviceConnect"
|
||||
// RegistryReadRegistryWrite specifies the registry read registry write
|
||||
// state for access rights.
|
||||
// RegistryReadRegistryWrite specifies the registry read registry write state for access rights.
|
||||
RegistryReadRegistryWrite AccessRights = "RegistryRead, RegistryWrite"
|
||||
// RegistryReadRegistryWriteDeviceConnect specifies the registry read
|
||||
// registry write device connect state for access rights.
|
||||
// RegistryReadRegistryWriteDeviceConnect specifies the registry read registry write device connect state for access
|
||||
// rights.
|
||||
RegistryReadRegistryWriteDeviceConnect AccessRights = "RegistryRead, RegistryWrite, DeviceConnect"
|
||||
// RegistryReadRegistryWriteServiceConnect specifies the registry read
|
||||
// registry write service connect state for access rights.
|
||||
// RegistryReadRegistryWriteServiceConnect specifies the registry read registry write service connect state for access
|
||||
// rights.
|
||||
RegistryReadRegistryWriteServiceConnect AccessRights = "RegistryRead, RegistryWrite, ServiceConnect"
|
||||
// RegistryReadRegistryWriteServiceConnectDeviceConnect specifies the
|
||||
// registry read registry write service connect device connect state for
|
||||
// access rights.
|
||||
// RegistryReadRegistryWriteServiceConnectDeviceConnect specifies the registry read registry write service connect
|
||||
// device connect state for access rights.
|
||||
RegistryReadRegistryWriteServiceConnectDeviceConnect AccessRights = "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect"
|
||||
// RegistryReadServiceConnect specifies the registry read service connect
|
||||
// state for access rights.
|
||||
// RegistryReadServiceConnect specifies the registry read service connect state for access rights.
|
||||
RegistryReadServiceConnect AccessRights = "RegistryRead, ServiceConnect"
|
||||
// RegistryReadServiceConnectDeviceConnect specifies the registry read
|
||||
// service connect device connect state for access rights.
|
||||
// RegistryReadServiceConnectDeviceConnect specifies the registry read service connect device connect state for access
|
||||
// rights.
|
||||
RegistryReadServiceConnectDeviceConnect AccessRights = "RegistryRead, ServiceConnect, DeviceConnect"
|
||||
// RegistryWrite specifies the registry write state for access rights.
|
||||
RegistryWrite AccessRights = "RegistryWrite"
|
||||
// RegistryWriteDeviceConnect specifies the registry write device connect
|
||||
// state for access rights.
|
||||
// RegistryWriteDeviceConnect specifies the registry write device connect state for access rights.
|
||||
RegistryWriteDeviceConnect AccessRights = "RegistryWrite, DeviceConnect"
|
||||
// RegistryWriteServiceConnect specifies the registry write service connect
|
||||
// state for access rights.
|
||||
// RegistryWriteServiceConnect specifies the registry write service connect state for access rights.
|
||||
RegistryWriteServiceConnect AccessRights = "RegistryWrite, ServiceConnect"
|
||||
// RegistryWriteServiceConnectDeviceConnect specifies the registry write
|
||||
// service connect device connect state for access rights.
|
||||
// RegistryWriteServiceConnectDeviceConnect specifies the registry write service connect device connect state for
|
||||
// access rights.
|
||||
RegistryWriteServiceConnectDeviceConnect AccessRights = "RegistryWrite, ServiceConnect, DeviceConnect"
|
||||
// ServiceConnect specifies the service connect state for access rights.
|
||||
ServiceConnect AccessRights = "ServiceConnect"
|
||||
// ServiceConnectDeviceConnect specifies the service connect device connect
|
||||
// state for access rights.
|
||||
// ServiceConnectDeviceConnect specifies the service connect device connect state for access rights.
|
||||
ServiceConnectDeviceConnect AccessRights = "ServiceConnect, DeviceConnect"
|
||||
)
|
||||
|
||||
@@ -119,67 +111,69 @@ const (
|
||||
JobTypeBackup JobType = "backup"
|
||||
// JobTypeExport specifies the job type export state for job type.
|
||||
JobTypeExport JobType = "export"
|
||||
// JobTypeFactoryResetDevice specifies the job type factory reset device
|
||||
// state for job type.
|
||||
// JobTypeFactoryResetDevice specifies the job type factory reset device state for job type.
|
||||
JobTypeFactoryResetDevice JobType = "factoryResetDevice"
|
||||
// JobTypeFirmwareUpdate specifies the job type firmware update state for
|
||||
// job type.
|
||||
// JobTypeFirmwareUpdate specifies the job type firmware update state for job type.
|
||||
JobTypeFirmwareUpdate JobType = "firmwareUpdate"
|
||||
// JobTypeImport specifies the job type import state for job type.
|
||||
JobTypeImport JobType = "import"
|
||||
// JobTypeReadDeviceProperties specifies the job type read device
|
||||
// properties state for job type.
|
||||
// JobTypeReadDeviceProperties specifies the job type read device properties state for job type.
|
||||
JobTypeReadDeviceProperties JobType = "readDeviceProperties"
|
||||
// JobTypeRebootDevice specifies the job type reboot device state for job
|
||||
// type.
|
||||
// JobTypeRebootDevice specifies the job type reboot device state for job type.
|
||||
JobTypeRebootDevice JobType = "rebootDevice"
|
||||
// JobTypeUnknown specifies the job type unknown state for job type.
|
||||
JobTypeUnknown JobType = "unknown"
|
||||
// JobTypeUpdateDeviceConfiguration specifies the job type update device
|
||||
// configuration state for job type.
|
||||
// JobTypeUpdateDeviceConfiguration specifies the job type update device configuration state for job type.
|
||||
JobTypeUpdateDeviceConfiguration JobType = "updateDeviceConfiguration"
|
||||
// JobTypeWriteDeviceProperties specifies the job type write device
|
||||
// properties state for job type.
|
||||
// JobTypeWriteDeviceProperties specifies the job type write device properties state for job type.
|
||||
JobTypeWriteDeviceProperties JobType = "writeDeviceProperties"
|
||||
)
|
||||
|
||||
// NameUnavailabilityReason enumerates the values for name unavailability
|
||||
// reason.
|
||||
// NameUnavailabilityReason enumerates the values for name unavailability reason.
|
||||
type NameUnavailabilityReason string
|
||||
|
||||
const (
|
||||
// AlreadyExists specifies the already exists state for name unavailability
|
||||
// reason.
|
||||
// AlreadyExists specifies the already exists state for name unavailability reason.
|
||||
AlreadyExists NameUnavailabilityReason = "AlreadyExists"
|
||||
// Invalid specifies the invalid state for name unavailability reason.
|
||||
Invalid NameUnavailabilityReason = "Invalid"
|
||||
)
|
||||
|
||||
// OperationMonitoringLevel enumerates the values for operation monitoring
|
||||
// level.
|
||||
// OperationMonitoringLevel enumerates the values for operation monitoring level.
|
||||
type OperationMonitoringLevel string
|
||||
|
||||
const (
|
||||
// OperationMonitoringLevelError specifies the operation monitoring level
|
||||
// error state for operation monitoring level.
|
||||
// OperationMonitoringLevelError specifies the operation monitoring level error state for operation monitoring level.
|
||||
OperationMonitoringLevelError OperationMonitoringLevel = "Error"
|
||||
// OperationMonitoringLevelErrorInformation specifies the operation
|
||||
// monitoring level error information state for operation monitoring level.
|
||||
// OperationMonitoringLevelErrorInformation specifies the operation monitoring level error information state for
|
||||
// operation monitoring level.
|
||||
OperationMonitoringLevelErrorInformation OperationMonitoringLevel = "Error, Information"
|
||||
// OperationMonitoringLevelInformation specifies the operation monitoring
|
||||
// level information state for operation monitoring level.
|
||||
// OperationMonitoringLevelInformation specifies the operation monitoring level information state for operation
|
||||
// monitoring level.
|
||||
OperationMonitoringLevelInformation OperationMonitoringLevel = "Information"
|
||||
// OperationMonitoringLevelNone specifies the operation monitoring level
|
||||
// none state for operation monitoring level.
|
||||
// OperationMonitoringLevelNone specifies the operation monitoring level none state for operation monitoring level.
|
||||
OperationMonitoringLevelNone OperationMonitoringLevel = "None"
|
||||
)
|
||||
|
||||
// RoutingSource enumerates the values for routing source.
|
||||
type RoutingSource string
|
||||
|
||||
const (
|
||||
// DeviceJobLifecycleEvents specifies the device job lifecycle events state for routing source.
|
||||
DeviceJobLifecycleEvents RoutingSource = "DeviceJobLifecycleEvents"
|
||||
// DeviceLifecycleEvents specifies the device lifecycle events state for routing source.
|
||||
DeviceLifecycleEvents RoutingSource = "DeviceLifecycleEvents"
|
||||
// DeviceMessages specifies the device messages state for routing source.
|
||||
DeviceMessages RoutingSource = "DeviceMessages"
|
||||
// TwinChangeEvents specifies the twin change events state for routing source.
|
||||
TwinChangeEvents RoutingSource = "TwinChangeEvents"
|
||||
)
|
||||
|
||||
// ScaleType enumerates the values for scale type.
|
||||
type ScaleType string
|
||||
|
||||
const (
|
||||
// ScaleTypeAutomatic specifies the scale type automatic state for scale
|
||||
// type.
|
||||
// ScaleTypeAutomatic specifies the scale type automatic state for scale type.
|
||||
ScaleTypeAutomatic ScaleType = "Automatic"
|
||||
// ScaleTypeManual specifies the scale type manual state for scale type.
|
||||
ScaleTypeManual ScaleType = "Manual"
|
||||
@@ -241,8 +235,7 @@ type Description struct {
|
||||
Sku *SkuInfo `json:"sku,omitempty"`
|
||||
}
|
||||
|
||||
// DescriptionListResult is the JSON-serialized array of IotHubDescription
|
||||
// objects with a next link.
|
||||
// DescriptionListResult is the JSON-serialized array of IotHubDescription objects with a next link.
|
||||
type DescriptionListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]Description `json:"value,omitempty"`
|
||||
@@ -269,8 +262,7 @@ type ErrorDetails struct {
|
||||
Details *string `json:"Details,omitempty"`
|
||||
}
|
||||
|
||||
// EventHubConsumerGroupInfo is the properties of the EventHubConsumerGroupInfo
|
||||
// object.
|
||||
// EventHubConsumerGroupInfo is the properties of the EventHubConsumerGroupInfo object.
|
||||
type EventHubConsumerGroupInfo struct {
|
||||
autorest.Response `json:"-"`
|
||||
Tags *map[string]*string `json:"tags,omitempty"`
|
||||
@@ -278,8 +270,8 @@ type EventHubConsumerGroupInfo struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
// EventHubConsumerGroupsListResult is the JSON-serialized array of Event
|
||||
// Hub-compatible consumer group names with a next link.
|
||||
// EventHubConsumerGroupsListResult is the JSON-serialized array of Event Hub-compatible consumer group names with a
|
||||
// next link.
|
||||
type EventHubConsumerGroupsListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]string `json:"value,omitempty"`
|
||||
@@ -298,8 +290,7 @@ func (client EventHubConsumerGroupsListResult) EventHubConsumerGroupsListResultP
|
||||
autorest.WithBaseURL(to.String(client.NextLink)))
|
||||
}
|
||||
|
||||
// EventHubProperties is the properties of the provisioned Event Hub-compatible
|
||||
// endpoint used by the IoT hub.
|
||||
// EventHubProperties is the properties of the provisioned Event Hub-compatible endpoint used by the IoT hub.
|
||||
type EventHubProperties struct {
|
||||
RetentionTimeInDays *int64 `json:"retentionTimeInDays,omitempty"`
|
||||
PartitionCount *int32 `json:"partitionCount,omitempty"`
|
||||
@@ -308,23 +299,29 @@ type EventHubProperties struct {
|
||||
Endpoint *string `json:"endpoint,omitempty"`
|
||||
}
|
||||
|
||||
// ExportDevicesRequest is use to provide parameters when requesting an export
|
||||
// of all devices in the IoT hub.
|
||||
// ExportDevicesRequest is use to provide parameters when requesting an export of all devices in the IoT hub.
|
||||
type ExportDevicesRequest struct {
|
||||
ExportBlobContainerURI *string `json:"ExportBlobContainerUri,omitempty"`
|
||||
ExcludeKeys *bool `json:"ExcludeKeys,omitempty"`
|
||||
}
|
||||
|
||||
// FeedbackProperties is the properties of the feedback queue for
|
||||
// cloud-to-device messages.
|
||||
// FallbackRouteProperties is the properties of the fallback route. IoT Hub uses these properties when it routes
|
||||
// messages to the fallback endpoint.
|
||||
type FallbackRouteProperties struct {
|
||||
Source *string `json:"source,omitempty"`
|
||||
Condition *string `json:"condition,omitempty"`
|
||||
EndpointNames *[]string `json:"endpointNames,omitempty"`
|
||||
IsEnabled *bool `json:"isEnabled,omitempty"`
|
||||
}
|
||||
|
||||
// FeedbackProperties is the properties of the feedback queue for cloud-to-device messages.
|
||||
type FeedbackProperties struct {
|
||||
LockDurationAsIso8601 *string `json:"lockDurationAsIso8601,omitempty"`
|
||||
TTLAsIso8601 *string `json:"ttlAsIso8601,omitempty"`
|
||||
MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"`
|
||||
}
|
||||
|
||||
// ImportDevicesRequest is use to provide parameters when requesting an import
|
||||
// of all devices in the hub.
|
||||
// ImportDevicesRequest is use to provide parameters when requesting an import of all devices in the hub.
|
||||
type ImportDevicesRequest struct {
|
||||
InputBlobContainerURI *string `json:"InputBlobContainerUri,omitempty"`
|
||||
OutputBlobContainerURI *string `json:"OutputBlobContainerUri,omitempty"`
|
||||
@@ -350,8 +347,7 @@ type JobResponse struct {
|
||||
ParentJobID *string `json:"parentJobId,omitempty"`
|
||||
}
|
||||
|
||||
// JobResponseListResult is the JSON-serialized array of JobResponse objects
|
||||
// with a next link.
|
||||
// JobResponseListResult is the JSON-serialized array of JobResponse objects with a next link.
|
||||
type JobResponseListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]JobResponse `json:"value,omitempty"`
|
||||
@@ -370,16 +366,14 @@ func (client JobResponseListResult) JobResponseListResultPreparer() (*http.Reque
|
||||
autorest.WithBaseURL(to.String(client.NextLink)))
|
||||
}
|
||||
|
||||
// MessagingEndpointProperties is the properties of the messaging endpoints
|
||||
// used by this IoT hub.
|
||||
// MessagingEndpointProperties is the properties of the messaging endpoints used by this IoT hub.
|
||||
type MessagingEndpointProperties struct {
|
||||
LockDurationAsIso8601 *string `json:"lockDurationAsIso8601,omitempty"`
|
||||
TTLAsIso8601 *string `json:"ttlAsIso8601,omitempty"`
|
||||
MaxDeliveryCount *int32 `json:"maxDeliveryCount,omitempty"`
|
||||
}
|
||||
|
||||
// NameAvailabilityInfo is the properties indicating whether a given IoT hub
|
||||
// name is available.
|
||||
// NameAvailabilityInfo is the properties indicating whether a given IoT hub name is available.
|
||||
type NameAvailabilityInfo struct {
|
||||
autorest.Response `json:"-"`
|
||||
NameAvailable *bool `json:"nameAvailable,omitempty"`
|
||||
@@ -387,15 +381,47 @@ type NameAvailabilityInfo struct {
|
||||
Message *string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
// Operation is ioT Hub REST API operation
|
||||
type Operation struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Display *OperationDisplay `json:"display,omitempty"`
|
||||
}
|
||||
|
||||
// OperationDisplay is the object that represents the operation.
|
||||
type OperationDisplay struct {
|
||||
Provider *string `json:"provider,omitempty"`
|
||||
Resource *string `json:"resource,omitempty"`
|
||||
Operation *string `json:"operation,omitempty"`
|
||||
}
|
||||
|
||||
// OperationInputs is input values.
|
||||
type OperationInputs struct {
|
||||
Name *string `json:"Name,omitempty"`
|
||||
}
|
||||
|
||||
// OperationsMonitoringProperties is the operations monitoring properties for
|
||||
// the IoT hub. The possible keys to the dictionary are Connections,
|
||||
// DeviceTelemetry, C2DCommands, DeviceIdentityOperations,
|
||||
// FileUploadOperations.
|
||||
// OperationListResult is 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.
|
||||
type OperationListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]Operation `json:"value,omitempty"`
|
||||
NextLink *string `json:"nextLink,omitempty"`
|
||||
}
|
||||
|
||||
// OperationListResultPreparer prepares a request to retrieve the next set of results. It returns
|
||||
// nil if no more results exist.
|
||||
func (client OperationListResult) OperationListResultPreparer() (*http.Request, error) {
|
||||
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
|
||||
return nil, nil
|
||||
}
|
||||
return autorest.Prepare(&http.Request{},
|
||||
autorest.AsJSON(),
|
||||
autorest.AsGet(),
|
||||
autorest.WithBaseURL(to.String(client.NextLink)))
|
||||
}
|
||||
|
||||
// OperationsMonitoringProperties is 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.
|
||||
type OperationsMonitoringProperties struct {
|
||||
Events *map[string]*OperationMonitoringLevel `json:"events,omitempty"`
|
||||
}
|
||||
@@ -407,6 +433,7 @@ type Properties struct {
|
||||
ProvisioningState *string `json:"provisioningState,omitempty"`
|
||||
HostName *string `json:"hostName,omitempty"`
|
||||
EventHubEndpoints *map[string]*EventHubProperties `json:"eventHubEndpoints,omitempty"`
|
||||
Routing *RoutingProperties `json:"routing,omitempty"`
|
||||
StorageEndpoints *map[string]*StorageEndpointProperties `json:"storageEndpoints,omitempty"`
|
||||
MessagingEndpoints *map[string]*MessagingEndpointProperties `json:"messagingEndpoints,omitempty"`
|
||||
EnableFileUploadNotifications *bool `json:"enableFileUploadNotifications,omitempty"`
|
||||
@@ -423,8 +450,7 @@ type QuotaMetricInfo struct {
|
||||
MaxValue *int64 `json:"MaxValue,omitempty"`
|
||||
}
|
||||
|
||||
// QuotaMetricInfoListResult is the JSON-serialized array of
|
||||
// IotHubQuotaMetricInfo objects with a next link.
|
||||
// QuotaMetricInfoListResult is the JSON-serialized array of IotHubQuotaMetricInfo objects with a next link.
|
||||
type QuotaMetricInfoListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]QuotaMetricInfo `json:"value,omitempty"`
|
||||
@@ -451,7 +477,7 @@ type RegistryStatistics struct {
|
||||
DisabledDeviceCount *int64 `json:"disabledDeviceCount,omitempty"`
|
||||
}
|
||||
|
||||
// Resource is
|
||||
// Resource is the common properties of an Azure resource.
|
||||
type Resource struct {
|
||||
ID *string `json:"id,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
@@ -460,14 +486,77 @@ type Resource struct {
|
||||
Tags *map[string]*string `json:"tags,omitempty"`
|
||||
}
|
||||
|
||||
// RouteProperties is the properties of a routing rule that your IoT hub uses to route messages to endpoints.
|
||||
type RouteProperties struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Source RoutingSource `json:"source,omitempty"`
|
||||
Condition *string `json:"condition,omitempty"`
|
||||
EndpointNames *[]string `json:"endpointNames,omitempty"`
|
||||
IsEnabled *bool `json:"isEnabled,omitempty"`
|
||||
}
|
||||
|
||||
// RoutingEndpoints is 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 RoutingEndpoints struct {
|
||||
ServiceBusQueues *[]RoutingServiceBusQueueEndpointProperties `json:"serviceBusQueues,omitempty"`
|
||||
ServiceBusTopics *[]RoutingServiceBusTopicEndpointProperties `json:"serviceBusTopics,omitempty"`
|
||||
EventHubs *[]RoutingEventHubProperties `json:"eventHubs,omitempty"`
|
||||
StorageContainers *[]RoutingStorageContainerProperties `json:"storageContainers,omitempty"`
|
||||
}
|
||||
|
||||
// RoutingEventHubProperties is the properties related to an event hub endpoint.
|
||||
type RoutingEventHubProperties struct {
|
||||
ConnectionString *string `json:"connectionString,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
SubscriptionID *string `json:"subscriptionId,omitempty"`
|
||||
ResourceGroup *string `json:"resourceGroup,omitempty"`
|
||||
}
|
||||
|
||||
// RoutingProperties is the routing related properties of the IoT hub. See:
|
||||
// https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging
|
||||
type RoutingProperties struct {
|
||||
Endpoints *RoutingEndpoints `json:"endpoints,omitempty"`
|
||||
Routes *[]RouteProperties `json:"routes,omitempty"`
|
||||
FallbackRoute *FallbackRouteProperties `json:"fallbackRoute,omitempty"`
|
||||
}
|
||||
|
||||
// RoutingServiceBusQueueEndpointProperties is the properties related to service bus queue endpoint types.
|
||||
type RoutingServiceBusQueueEndpointProperties struct {
|
||||
ConnectionString *string `json:"connectionString,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
SubscriptionID *string `json:"subscriptionId,omitempty"`
|
||||
ResourceGroup *string `json:"resourceGroup,omitempty"`
|
||||
}
|
||||
|
||||
// RoutingServiceBusTopicEndpointProperties is the properties related to service bus topic endpoint types.
|
||||
type RoutingServiceBusTopicEndpointProperties struct {
|
||||
ConnectionString *string `json:"connectionString,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
SubscriptionID *string `json:"subscriptionId,omitempty"`
|
||||
ResourceGroup *string `json:"resourceGroup,omitempty"`
|
||||
}
|
||||
|
||||
// RoutingStorageContainerProperties is the properties related to a storage container endpoint.
|
||||
type RoutingStorageContainerProperties struct {
|
||||
ConnectionString *string `json:"connectionString,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
SubscriptionID *string `json:"subscriptionId,omitempty"`
|
||||
ResourceGroup *string `json:"resourceGroup,omitempty"`
|
||||
ContainerName *string `json:"containerName,omitempty"`
|
||||
FileNameFormat *string `json:"fileNameFormat,omitempty"`
|
||||
BatchFrequencyInSeconds *int32 `json:"batchFrequencyInSeconds,omitempty"`
|
||||
MaxChunkSizeInBytes *int32 `json:"maxChunkSizeInBytes,omitempty"`
|
||||
Encoding *string `json:"encoding,omitempty"`
|
||||
}
|
||||
|
||||
// SetObject is
|
||||
type SetObject struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *map[string]interface{} `json:"value,omitempty"`
|
||||
}
|
||||
|
||||
// SharedAccessSignatureAuthorizationRule is the properties of an IoT hub
|
||||
// shared access policy.
|
||||
// SharedAccessSignatureAuthorizationRule is the properties of an IoT hub shared access policy.
|
||||
type SharedAccessSignatureAuthorizationRule struct {
|
||||
autorest.Response `json:"-"`
|
||||
KeyName *string `json:"keyName,omitempty"`
|
||||
@@ -476,8 +565,7 @@ type SharedAccessSignatureAuthorizationRule struct {
|
||||
Rights AccessRights `json:"rights,omitempty"`
|
||||
}
|
||||
|
||||
// SharedAccessSignatureAuthorizationRuleListResult is the list of shared
|
||||
// access policies with a next link.
|
||||
// SharedAccessSignatureAuthorizationRuleListResult is the list of shared access policies with a next link.
|
||||
type SharedAccessSignatureAuthorizationRuleListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]SharedAccessSignatureAuthorizationRule `json:"value,omitempty"`
|
||||
@@ -496,15 +584,14 @@ func (client SharedAccessSignatureAuthorizationRuleListResult) SharedAccessSigna
|
||||
autorest.WithBaseURL(to.String(client.NextLink)))
|
||||
}
|
||||
|
||||
// SkuDescription is sKU properties.
|
||||
// SkuDescription is SKU properties.
|
||||
type SkuDescription struct {
|
||||
ResourceType *string `json:"resourceType,omitempty"`
|
||||
Sku *SkuInfo `json:"sku,omitempty"`
|
||||
Capacity *Capacity `json:"capacity,omitempty"`
|
||||
}
|
||||
|
||||
// SkuDescriptionListResult is the JSON-serialized array of
|
||||
// IotHubSkuDescription objects with a next link.
|
||||
// SkuDescriptionListResult is the JSON-serialized array of IotHubSkuDescription objects with a next link.
|
||||
type SkuDescriptionListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]SkuDescription `json:"value,omitempty"`
|
||||
@@ -530,8 +617,7 @@ type SkuInfo struct {
|
||||
Capacity *int64 `json:"capacity,omitempty"`
|
||||
}
|
||||
|
||||
// StorageEndpointProperties is the properties of the Azure Storage endpoint
|
||||
// for file upload.
|
||||
// StorageEndpointProperties is the properties of the Azure Storage endpoint for file upload.
|
||||
type StorageEndpointProperties struct {
|
||||
SasTTLAsIso8601 *string `json:"sasTtlAsIso8601,omitempty"`
|
||||
ConnectionString *string `json:"connectionString,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user