Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/@azure/arm-iothub/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
24 changes: 20 additions & 4 deletions packages/@azure/arm-iothub/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,11 @@ export interface RoutingStorageContainerProperties {
*/
maxChunkSizeInBytes?: number;
/**
* @member {string} [encoding] Encoding that is used to serialize messages to
* blobs. Supported values are 'avro' and 'avrodeflate'. Default value is
* 'avro'.
* @member {Encoding} [encoding] Encoding that is used to serialize messages
* to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default
* value is 'avro'. Possible values include: 'Avro', 'AvroDeflate', 'JSON'
*/
encoding?: string;
encoding?: Encoding;
}

/**
Expand Down Expand Up @@ -2128,6 +2128,22 @@ export enum RouteErrorSeverity {
Warning = 'warning',
}

/**
* Defines values for Encoding.
* Possible values include: 'Avro', 'AvroDeflate', 'JSON'
* There could be more values for this enum apart from the ones defined here.If
* you want to set a value that is not from the known values then you can do
* the following:
* let param: Encoding = <Encoding>"someUnknownValueThatWillStillBeValid";
* @readonly
* @enum {string}
*/
export enum Encoding {
Avro = 'Avro',
AvroDeflate = 'AvroDeflate',
JSON = 'JSON',
}

/**
* Contains response data for the list operation.
*/
Expand Down