azure-arm-eventhub
Advanced tools
Comparing version 1.1.0-preview to 1.2.0-preview
@@ -27,4 +27,6 @@ /* | ||
* 'Failed' | ||
* @member {string} [partnerNamespace] Primary/Secondary eventhub namespace | ||
* name, which is part of GEO DR pairning | ||
* @member {string} [partnerNamespace] ARM Id of the Primary/Secondary | ||
* eventhub namespace name, which is part of GEO DR pairning | ||
* @member {string} [alternateName] Alternate name specified when alias and | ||
* namespace names are same. | ||
* @member {string} [role] role of namespace in GEO DR - possible values | ||
@@ -92,2 +94,9 @@ * 'Primary' or 'PrimaryNotReplicating' or 'Secondary'. Possible values | ||
}, | ||
alternateName: { | ||
required: false, | ||
serializedName: 'properties.alternateName', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
role: { | ||
@@ -94,0 +103,0 @@ required: false, |
@@ -23,3 +23,3 @@ /* | ||
* Create a AuthorizationRule. | ||
* @member {array} [rights] The rights associated with the rule. | ||
* @member {array} rights The rights associated with the rule. | ||
*/ | ||
@@ -69,3 +69,3 @@ constructor() { | ||
rights: { | ||
required: false, | ||
required: true, | ||
serializedName: 'properties.rights', | ||
@@ -72,0 +72,0 @@ type: { |
@@ -25,3 +25,4 @@ /* | ||
* @member {string} [encoding] Enumerates the possible values for the | ||
* encoding format of capture description. Possible values include: 'Avro', | ||
* encoding format of capture description. Note: 'AvroDeflate' will be | ||
* deprecated in New API Version. Possible values include: 'Avro', | ||
* 'AvroDeflate' | ||
@@ -28,0 +29,0 @@ * @member {number} [intervalInSeconds] The time window allows you to set the |
@@ -38,4 +38,5 @@ /* | ||
* @member {string} [captureDescription.encoding] Enumerates the possible | ||
* values for the encoding format of capture description. Possible values | ||
* include: 'Avro', 'AvroDeflate' | ||
* values for the encoding format of capture description. Note: 'AvroDeflate' | ||
* will be deprecated in New API Version. Possible values include: 'Avro', | ||
* 'AvroDeflate' | ||
* @member {number} [captureDescription.intervalInSeconds] The time window | ||
@@ -138,3 +139,2 @@ * allows you to set the frequency with which the capture to Azure Blobs will | ||
constraints: { | ||
InclusiveMaximum: 7, | ||
InclusiveMinimum: 1 | ||
@@ -150,3 +150,2 @@ }, | ||
constraints: { | ||
InclusiveMaximum: 32, | ||
InclusiveMinimum: 1 | ||
@@ -153,0 +152,0 @@ }, |
@@ -110,6 +110,6 @@ /* | ||
* | ||
* @member {array} [rights] The rights associated with the rule. | ||
* @member {array} rights The rights associated with the rule. | ||
*/ | ||
export interface AuthorizationRule extends Resource { | ||
rights?: string[]; | ||
rights: string[]; | ||
} | ||
@@ -196,4 +196,4 @@ | ||
* @member {string} [encoding] Enumerates the possible values for the encoding | ||
* format of capture description. Possible values include: 'Avro', | ||
* 'AvroDeflate' | ||
* format of capture description. Note: 'AvroDeflate' will be deprecated in New | ||
* API Version. Possible values include: 'Avro', 'AvroDeflate' | ||
* @member {number} [intervalInSeconds] The time window allows you to set the | ||
@@ -246,4 +246,5 @@ * frequency with which the capture to Azure Blobs will happen, value should | ||
* @member {string} [captureDescription.encoding] Enumerates the possible | ||
* values for the encoding format of capture description. Possible values | ||
* include: 'Avro', 'AvroDeflate' | ||
* values for the encoding format of capture description. Note: 'AvroDeflate' | ||
* will be deprecated in New API Version. Possible values include: 'Avro', | ||
* 'AvroDeflate' | ||
* @member {number} [captureDescription.intervalInSeconds] The time window | ||
@@ -392,4 +393,6 @@ * allows you to set the frequency with which the capture to Azure Blobs will | ||
* 'Failed' | ||
* @member {string} [partnerNamespace] Primary/Secondary eventhub namespace | ||
* name, which is part of GEO DR pairning | ||
* @member {string} [partnerNamespace] ARM Id of the Primary/Secondary eventhub | ||
* namespace name, which is part of GEO DR pairning | ||
* @member {string} [alternateName] Alternate name specified when alias and | ||
* namespace names are same. | ||
* @member {string} [role] role of namespace in GEO DR - possible values | ||
@@ -402,2 +405,3 @@ * 'Primary' or 'PrimaryNotReplicating' or 'Secondary'. Possible values | ||
partnerNamespace?: string; | ||
alternateName?: string; | ||
readonly role?: string; | ||
@@ -404,0 +408,0 @@ } |
@@ -381,3 +381,3 @@ /* | ||
let statusCode = response.statusCode; | ||
if (statusCode !== 204 && statusCode !== 200) { | ||
if (statusCode !== 200 && statusCode !== 204) { | ||
let error = new Error(responseBody); | ||
@@ -384,0 +384,0 @@ error.statusCode = response.statusCode; |
@@ -8,3 +8,3 @@ { | ||
], | ||
"version": "1.1.0-preview", | ||
"version": "1.2.0-preview", | ||
"description": "Microsoft EventHub Management Client Library for node", | ||
@@ -21,6 +21,6 @@ "tags": [ | ||
"types": "./lib/eventHubManagementClient.d.ts", | ||
"license": "MIT", | ||
"license": "MIT", | ||
"dependencies": { | ||
"ms-rest-azure": "^2.3.3", | ||
"ms-rest": "^2.2.2" | ||
"ms-rest-azure": "^2.5.3", | ||
"ms-rest": "^2.3.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "homepage": "http://github.com/Azure/azure-sdk-for-node", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
791218
18863
Updatedms-rest@^2.3.0
Updatedms-rest-azure@^2.5.3