-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 54258d520274f7bfa3de7b5afe96f5609f889191 (#256)
Adding cluster sku property bag and moving capacity to sku. Also adding metricId property to the custom properties bag.
- Loading branch information
1 parent
4a5f576
commit 423db4a
Showing
11 changed files
with
682 additions
and
6 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
...hub/src/main/java/com/microsoft/azure/management/eventhub/MessagingRegionsProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.eventhub; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The MessagingRegionsProperties model. | ||
*/ | ||
public class MessagingRegionsProperties { | ||
/** | ||
* Region code. | ||
*/ | ||
@JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) | ||
private String code; | ||
|
||
/** | ||
* Full name of the region. | ||
*/ | ||
@JsonProperty(value = "fullName", access = JsonProperty.Access.WRITE_ONLY) | ||
private String fullName; | ||
|
||
/** | ||
* Get the code value. | ||
* | ||
* @return the code value | ||
*/ | ||
public String code() { | ||
return this.code; | ||
} | ||
|
||
/** | ||
* Get the fullName value. | ||
* | ||
* @return the fullName value | ||
*/ | ||
public String fullName() { | ||
return this.fullName; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
113 changes: 113 additions & 0 deletions
113
.../main/java/com/microsoft/azure/management/eventhub/implementation/MessagingPlanInner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.eventhub.implementation; | ||
|
||
import org.joda.time.DateTime; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.microsoft.rest.serializer.JsonFlatten; | ||
|
||
/** | ||
* Messaging. | ||
*/ | ||
@JsonFlatten | ||
public class MessagingPlanInner extends TrackedResourceInner { | ||
/** | ||
* Sku type. | ||
*/ | ||
@JsonProperty(value = "properties.sku") | ||
private Integer sku; | ||
|
||
/** | ||
* Selected event hub unit. | ||
*/ | ||
@JsonProperty(value = "properties.selectedEventHubUnit") | ||
private Integer selectedEventHubUnit; | ||
|
||
/** | ||
* The exact time the messaging plan was updated. | ||
*/ | ||
@JsonProperty(value = "properties.updatedAt", access = JsonProperty.Access.WRITE_ONLY) | ||
private DateTime updatedAt; | ||
|
||
/** | ||
* revision number. | ||
*/ | ||
@JsonProperty(value = "properties.revision") | ||
private Long revision; | ||
|
||
/** | ||
* Get the sku value. | ||
* | ||
* @return the sku value | ||
*/ | ||
public Integer sku() { | ||
return this.sku; | ||
} | ||
|
||
/** | ||
* Set the sku value. | ||
* | ||
* @param sku the sku value to set | ||
* @return the MessagingPlanInner object itself. | ||
*/ | ||
public MessagingPlanInner withSku(Integer sku) { | ||
this.sku = sku; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the selectedEventHubUnit value. | ||
* | ||
* @return the selectedEventHubUnit value | ||
*/ | ||
public Integer selectedEventHubUnit() { | ||
return this.selectedEventHubUnit; | ||
} | ||
|
||
/** | ||
* Set the selectedEventHubUnit value. | ||
* | ||
* @param selectedEventHubUnit the selectedEventHubUnit value to set | ||
* @return the MessagingPlanInner object itself. | ||
*/ | ||
public MessagingPlanInner withSelectedEventHubUnit(Integer selectedEventHubUnit) { | ||
this.selectedEventHubUnit = selectedEventHubUnit; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the updatedAt value. | ||
* | ||
* @return the updatedAt value | ||
*/ | ||
public DateTime updatedAt() { | ||
return this.updatedAt; | ||
} | ||
|
||
/** | ||
* Get the revision value. | ||
* | ||
* @return the revision value | ||
*/ | ||
public Long revision() { | ||
return this.revision; | ||
} | ||
|
||
/** | ||
* Set the revision value. | ||
* | ||
* @param revision the revision value to set | ||
* @return the MessagingPlanInner object itself. | ||
*/ | ||
public MessagingPlanInner withRevision(Long revision) { | ||
this.revision = revision; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.