|
9 | 9 | package com.microsoft.azure.management.databoxedge.v2020_05_01_preview.implementation; |
10 | 10 |
|
11 | 11 | import java.util.Map; |
12 | | - |
13 | | -import com.microsoft.azure.Resource; |
14 | 12 | import com.microsoft.azure.management.databoxedge.v2020_05_01_preview.DataBoxEdgeDeviceStatus; |
15 | 13 | import com.microsoft.azure.management.databoxedge.v2020_05_01_preview.DeviceType; |
16 | 14 | import java.util.List; |
|
23 | 21 | * The Data Box Edge/Gateway device. |
24 | 22 | */ |
25 | 23 | @JsonFlatten |
26 | | -public class DataBoxEdgeDeviceInner extends Resource { |
| 24 | +public class DataBoxEdgeDeviceInner extends ARMBaseModel { |
| 25 | + /** |
| 26 | + * The location of the device. This is a supported and registered Azure |
| 27 | + * geographical region (for example, West US, East US, or Southeast Asia). |
| 28 | + * The geographical region of a device cannot be changed once it is |
| 29 | + * created, but if an identical geographical region is specified on update, |
| 30 | + * the request will succeed. |
| 31 | + */ |
| 32 | + @JsonProperty(value = "location", required = true) |
| 33 | + private String location; |
| 34 | + |
| 35 | + /** |
| 36 | + * The list of tags that describe the device. These tags can be used to |
| 37 | + * view and group this device (across resource groups). |
| 38 | + */ |
| 39 | + @JsonProperty(value = "tags") |
| 40 | + private Map<String, String> tags; |
| 41 | + |
27 | 42 | /** |
28 | 43 | * The SKU type. |
29 | 44 | */ |
@@ -123,6 +138,46 @@ public class DataBoxEdgeDeviceInner extends Resource { |
123 | 138 | @JsonProperty(value = "properties.nodeCount", access = JsonProperty.Access.WRITE_ONLY) |
124 | 139 | private Integer nodeCount; |
125 | 140 |
|
| 141 | + /** |
| 142 | + * Get the location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed. |
| 143 | + * |
| 144 | + * @return the location value |
| 145 | + */ |
| 146 | + public String location() { |
| 147 | + return this.location; |
| 148 | + } |
| 149 | + |
| 150 | + /** |
| 151 | + * Set the location of the device. This is a supported and registered Azure geographical region (for example, West US, East US, or Southeast Asia). The geographical region of a device cannot be changed once it is created, but if an identical geographical region is specified on update, the request will succeed. |
| 152 | + * |
| 153 | + * @param location the location value to set |
| 154 | + * @return the DataBoxEdgeDeviceInner object itself. |
| 155 | + */ |
| 156 | + public DataBoxEdgeDeviceInner withLocation(String location) { |
| 157 | + this.location = location; |
| 158 | + return this; |
| 159 | + } |
| 160 | + |
| 161 | + /** |
| 162 | + * Get the list of tags that describe the device. These tags can be used to view and group this device (across resource groups). |
| 163 | + * |
| 164 | + * @return the tags value |
| 165 | + */ |
| 166 | + public Map<String, String> tags() { |
| 167 | + return this.tags; |
| 168 | + } |
| 169 | + |
| 170 | + /** |
| 171 | + * Set the list of tags that describe the device. These tags can be used to view and group this device (across resource groups). |
| 172 | + * |
| 173 | + * @param tags the tags value to set |
| 174 | + * @return the DataBoxEdgeDeviceInner object itself. |
| 175 | + */ |
| 176 | + public DataBoxEdgeDeviceInner withTags(Map<String, String> tags) { |
| 177 | + this.tags = tags; |
| 178 | + return this; |
| 179 | + } |
| 180 | + |
126 | 181 | /** |
127 | 182 | * Get the SKU type. |
128 | 183 | * |
|
0 commit comments