Skip to content

Commit f7a3d95

Browse files
author
SDKAuto
committed
CodeGen from PR 11694 in Azure/azure-rest-api-specs
Merge 4b7f13f308b278c210d2fe852529ab0f0b196be2 into bff6f9c01368a8c6ede04175d8dfa8e4a710cf6c
1 parent 3c171e4 commit f7a3d95

File tree

4 files changed

+60
-8
lines changed

4 files changed

+60
-8
lines changed

sdk/databoxedge/mgmt-v2020_05_01_preview/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.3.2</version>
15-
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-databoxedge</artifactId>
1818
<version>1.0.0-beta</version>

sdk/databoxedge/mgmt-v2020_05_01_preview/src/main/java/com/microsoft/azure/management/databoxedge/v2020_05_01_preview/implementation/DataBoxEdgeDeviceInner.java

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
package com.microsoft.azure.management.databoxedge.v2020_05_01_preview.implementation;
1010

1111
import java.util.Map;
12-
13-
import com.microsoft.azure.Resource;
1412
import com.microsoft.azure.management.databoxedge.v2020_05_01_preview.DataBoxEdgeDeviceStatus;
1513
import com.microsoft.azure.management.databoxedge.v2020_05_01_preview.DeviceType;
1614
import java.util.List;
@@ -23,7 +21,24 @@
2321
* The Data Box Edge/Gateway device.
2422
*/
2523
@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+
2742
/**
2843
* The SKU type.
2944
*/
@@ -123,6 +138,46 @@ public class DataBoxEdgeDeviceInner extends Resource {
123138
@JsonProperty(value = "properties.nodeCount", access = JsonProperty.Access.WRITE_ONLY)
124139
private Integer nodeCount;
125140

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+
126181
/**
127182
* Get the SKU type.
128183
*

sdk/databoxedge/mgmt-v2020_05_01_preview/src/main/java/com/microsoft/azure/management/databoxedge/v2020_05_01_preview/implementation/RoleInner.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.fasterxml.jackson.annotation.JsonTypeName;
1313
import com.fasterxml.jackson.annotation.JsonSubTypes;
1414
import com.microsoft.azure.management.databoxedge.v2020_05_01_preview.ARMBaseModel;
15-
import com.microsoft.azure.management.databoxedge.v2020_05_01_preview.IoTRole;
1615

1716
/**
1817
* Compute role.

sdk/databoxedge/mgmt-v2020_05_01_preview/src/main/java/com/microsoft/azure/management/databoxedge/v2020_05_01_preview/implementation/TriggerInner.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
import com.fasterxml.jackson.annotation.JsonTypeName;
1313
import com.fasterxml.jackson.annotation.JsonSubTypes;
1414
import com.microsoft.azure.management.databoxedge.v2020_05_01_preview.ARMBaseModel;
15-
import com.microsoft.azure.management.databoxedge.v2020_05_01_preview.FileEventTrigger;
16-
import com.microsoft.azure.management.databoxedge.v2020_05_01_preview.PeriodicTimerEventTrigger;
1715

1816
/**
1917
* Trigger details.

0 commit comments

Comments
 (0)