Skip to content

Commit 0bb5628

Browse files
author
SDK Automation
committed
Generated from ee67e477dc606aea359b5055aae86e11ce1542f8
Add read only according to comment.
1 parent 04f5f53 commit 0bb5628

23 files changed

+823
-92
lines changed

sdk/resources/mgmt-v2016_06_01/pom.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.3.0</version>
14+
<version>1.1.0</version>
1515
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
17-
<artifactId>azure-mgmt-subscriptions</artifactId>
18-
<version>1.0.0-beta-1</version>
17+
<artifactId>azure-mgmt-resources</artifactId>
18+
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
20-
<name>Microsoft Azure SDK for Management</name>
21-
<description>This package contains Microsoft Management SDK.</description>
22-
<url>https://github.com/Azure/azure-libraries-for-java</url>
20+
<name>Microsoft Azure SDK for Resources Management</name>
21+
<description>This package contains Microsoft Resources Management SDK.</description>
22+
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323
<licenses>
2424
<license>
2525
<name>The MIT License (MIT)</name>
@@ -28,8 +28,8 @@
2828
</license>
2929
</licenses>
3030
<scm>
31-
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
32-
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
31+
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
32+
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
3333
<tag>HEAD</tag>
3434
</scm>
3535
<properties>
@@ -71,6 +71,8 @@
7171
<artifactId>azure-arm-client-runtime</artifactId>
7272
<type>test-jar</type>
7373
<scope>test</scope>
74+
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
75+
<version>1.6.5</version>
7476
</dependency>
7577
</dependencies>
7678
<build>

sdk/resources/mgmt-v2016_06_01/src/main/java/com/microsoft/azure/management/resources/v2016_06_01/Location.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
import com.microsoft.azure.arm.model.HasInner;
1212
import com.microsoft.azure.management.resources.v2016_06_01.implementation.LocationInner;
1313
import com.microsoft.azure.arm.resources.models.HasManager;
14-
import com.microsoft.azure.management.resources.v2016_06_01.implementation.Manager;
14+
import com.microsoft.azure.management.resources.v2016_06_01.implementation.ResourcesManager;
1515

1616
/**
1717
* Type representing Location.
1818
*/
19-
public interface Location extends HasInner<LocationInner>, HasManager<Manager> {
19+
public interface Location extends HasInner<LocationInner>, HasManager<ResourcesManager> {
2020
/**
2121
* @return the displayName value.
2222
*/
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.resources.v2016_06_01;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.arm.resources.models.HasManager;
13+
import com.microsoft.azure.management.resources.v2016_06_01.implementation.ResourcesManager;
14+
import com.microsoft.azure.management.resources.v2016_06_01.implementation.OperationInner;
15+
16+
/**
17+
* Type representing Operation.
18+
*/
19+
public interface Operation extends HasInner<OperationInner>, HasManager<ResourcesManager> {
20+
/**
21+
* @return the display value.
22+
*/
23+
OperationDisplay display();
24+
25+
/**
26+
* @return the name value.
27+
*/
28+
String name();
29+
30+
}
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.resources.v2016_06_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* The object that represents the operation.
15+
*/
16+
public class OperationDisplay {
17+
/**
18+
* Service provider: Microsoft.Resources.
19+
*/
20+
@JsonProperty(value = "provider")
21+
private String provider;
22+
23+
/**
24+
* Resource on which the operation is performed: Profile, endpoint, etc.
25+
*/
26+
@JsonProperty(value = "resource")
27+
private String resource;
28+
29+
/**
30+
* Operation type: Read, write, delete, etc.
31+
*/
32+
@JsonProperty(value = "operation")
33+
private String operation;
34+
35+
/**
36+
* Description of the operation.
37+
*/
38+
@JsonProperty(value = "description")
39+
private String description;
40+
41+
/**
42+
* Get service provider: Microsoft.Resources.
43+
*
44+
* @return the provider value
45+
*/
46+
public String provider() {
47+
return this.provider;
48+
}
49+
50+
/**
51+
* Set service provider: Microsoft.Resources.
52+
*
53+
* @param provider the provider value to set
54+
* @return the OperationDisplay object itself.
55+
*/
56+
public OperationDisplay withProvider(String provider) {
57+
this.provider = provider;
58+
return this;
59+
}
60+
61+
/**
62+
* Get resource on which the operation is performed: Profile, endpoint, etc.
63+
*
64+
* @return the resource value
65+
*/
66+
public String resource() {
67+
return this.resource;
68+
}
69+
70+
/**
71+
* Set resource on which the operation is performed: Profile, endpoint, etc.
72+
*
73+
* @param resource the resource value to set
74+
* @return the OperationDisplay object itself.
75+
*/
76+
public OperationDisplay withResource(String resource) {
77+
this.resource = resource;
78+
return this;
79+
}
80+
81+
/**
82+
* Get operation type: Read, write, delete, etc.
83+
*
84+
* @return the operation value
85+
*/
86+
public String operation() {
87+
return this.operation;
88+
}
89+
90+
/**
91+
* Set operation type: Read, write, delete, etc.
92+
*
93+
* @param operation the operation value to set
94+
* @return the OperationDisplay object itself.
95+
*/
96+
public OperationDisplay withOperation(String operation) {
97+
this.operation = operation;
98+
return this;
99+
}
100+
101+
/**
102+
* Get description of the operation.
103+
*
104+
* @return the description value
105+
*/
106+
public String description() {
107+
return this.description;
108+
}
109+
110+
/**
111+
* Set description of the operation.
112+
*
113+
* @param description the description value to set
114+
* @return the OperationDisplay object itself.
115+
*/
116+
public OperationDisplay withDescription(String description) {
117+
this.description = description;
118+
return this;
119+
}
120+
121+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.resources.v2016_06_01;
10+
11+
import rx.Observable;
12+
import com.microsoft.azure.management.resources.v2016_06_01.implementation.OperationsInner;
13+
import com.microsoft.azure.arm.model.HasInner;
14+
15+
/**
16+
* Type representing Operations.
17+
*/
18+
public interface Operations extends HasInner<OperationsInner> {
19+
/**
20+
* Lists all of the available Microsoft.Resources REST API operations.
21+
*
22+
* @throws IllegalArgumentException thrown if parameters fail the validation
23+
* @return the observable for the request
24+
*/
25+
Observable<Operation> listAsync();
26+
27+
}

sdk/resources/mgmt-v2016_06_01/src/main/java/com/microsoft/azure/management/resources/v2016_06_01/Subscription.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
import com.microsoft.azure.arm.model.HasInner;
1212
import com.microsoft.azure.arm.resources.models.HasManager;
13-
import com.microsoft.azure.management.resources.v2016_06_01.implementation.Manager;
13+
import com.microsoft.azure.management.resources.v2016_06_01.implementation.ResourcesManager;
1414
import com.microsoft.azure.management.resources.v2016_06_01.implementation.SubscriptionInner;
1515

1616
/**
1717
* Type representing Subscription.
1818
*/
19-
public interface Subscription extends HasInner<SubscriptionInner>, HasManager<Manager> {
19+
public interface Subscription extends HasInner<SubscriptionInner>, HasManager<ResourcesManager> {
2020
/**
2121
* @return the authorizationSource value.
2222
*/

sdk/resources/mgmt-v2016_06_01/src/main/java/com/microsoft/azure/management/resources/v2016_06_01/Subscriptions.java

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
package com.microsoft.azure.management.resources.v2016_06_01;
1010

11-
import com.microsoft.azure.PagedList;
12-
import com.microsoft.azure.arm.model.HasInner;
13-
import com.microsoft.azure.management.resources.v2016_06_01.implementation.SubscriptionsInner;
1411
import rx.Observable;
12+
import com.microsoft.azure.management.resources.v2016_06_01.implementation.SubscriptionsInner;
13+
import com.microsoft.azure.arm.model.HasInner;
14+
import com.microsoft.azure.management.resources.v2016_06_01.Location;
1515

1616
/**
1717
* Type representing Subscriptions.
@@ -26,14 +26,6 @@ public interface Subscriptions extends HasInner<SubscriptionsInner> {
2626
*/
2727
Observable<Subscription> getAsync(String subscriptionId);
2828

29-
/**
30-
* Gets all subscriptions for a tenant.
31-
*
32-
* @throws IllegalArgumentException thrown if parameters fail the validation
33-
* @return the observable for the request
34-
*/
35-
PagedList<Subscription> list();
36-
3729
/**
3830
* Gets all subscriptions for a tenant.
3931
*

sdk/resources/mgmt-v2016_06_01/src/main/java/com/microsoft/azure/management/resources/v2016_06_01/TenantIdDescription.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
import com.microsoft.azure.arm.model.HasInner;
1212
import com.microsoft.azure.arm.resources.models.HasManager;
13-
import com.microsoft.azure.management.resources.v2016_06_01.implementation.Manager;
13+
import com.microsoft.azure.management.resources.v2016_06_01.implementation.ResourcesManager;
1414
import com.microsoft.azure.management.resources.v2016_06_01.implementation.TenantIdDescriptionInner;
1515

1616
/**
1717
* Type representing TenantIdDescription.
1818
*/
19-
public interface TenantIdDescription extends HasInner<TenantIdDescriptionInner>, HasManager<Manager> {
19+
public interface TenantIdDescription extends HasInner<TenantIdDescriptionInner>, HasManager<ResourcesManager> {
2020
/**
2121
* @return the id value.
2222
*/

sdk/resources/mgmt-v2016_06_01/src/main/java/com/microsoft/azure/management/resources/v2016_06_01/implementation/LocationImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
import rx.Observable;
1414

1515
class LocationImpl extends WrapperImpl<LocationInner> implements Location {
16-
private final Manager manager;
16+
private final ResourcesManager manager;
1717

18-
LocationImpl(LocationInner inner, Manager manager) {
18+
LocationImpl(LocationInner inner, ResourcesManager manager) {
1919
super(inner);
2020
this.manager = manager;
2121
}
2222

2323
@Override
24-
public Manager manager() {
24+
public ResourcesManager manager() {
2525
return this.manager;
2626
}
2727

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.resources.v2016_06_01.implementation;
10+
11+
import com.microsoft.azure.management.resources.v2016_06_01.Operation;
12+
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
13+
import com.microsoft.azure.management.resources.v2016_06_01.OperationDisplay;
14+
15+
class OperationImpl extends WrapperImpl<OperationInner> implements Operation {
16+
private final ResourcesManager manager;
17+
OperationImpl(OperationInner inner, ResourcesManager manager) {
18+
super(inner);
19+
this.manager = manager;
20+
}
21+
22+
@Override
23+
public ResourcesManager manager() {
24+
return this.manager;
25+
}
26+
27+
@Override
28+
public OperationDisplay display() {
29+
return this.inner().display();
30+
}
31+
32+
@Override
33+
public String name() {
34+
return this.inner().name();
35+
}
36+
37+
}

0 commit comments

Comments
 (0)