Skip to content

Commit 24f7394

Browse files
author
SDK Automation
committed
Generated from ad7805b34a6a73426b157822c45015f70cb467af
update preview version
1 parent 4ebe57b commit 24f7394

File tree

76 files changed

+5931
-548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+5931
-548
lines changed

sdk/appplatform/mgmt-v2019_05_01_preview/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<parent>
1212
<groupId>com.microsoft.azure</groupId>
1313
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.2.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
14+
<version>1.1.0</version>
15+
<relativePath>../../../pom.management.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-appplatform</artifactId>
18-
<version>1.0.0-beta-1</version>
18+
<version>1.0.0-beta</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for AppPlatform Management</name>
2121
<description>This package contains Microsoft AppPlatform Management SDK.</description>

sdk/appplatform/mgmt-v2019_05_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2019_05_01_preview/AppResource.java

Lines changed: 67 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import com.microsoft.azure.arm.model.Appliable;
1717
import com.microsoft.azure.arm.resources.models.HasManager;
1818
import com.microsoft.azure.management.appplatform.v2019_05_01_preview.implementation.AppPlatformManager;
19-
import org.joda.time.DateTime;
2019

2120
/**
2221
* Type representing AppResource.
@@ -27,6 +26,16 @@ public interface AppResource extends HasInner<AppResourceInner>, Indexable, Upda
2726
*/
2827
String id();
2928

29+
/**
30+
* @return the identity value.
31+
*/
32+
ManagedIdentityProperties identity();
33+
34+
/**
35+
* @return the location value.
36+
*/
37+
String location();
38+
3039
/**
3140
* @return the name value.
3241
*/
@@ -45,7 +54,7 @@ public interface AppResource extends HasInner<AppResourceInner>, Indexable, Upda
4554
/**
4655
* The entirety of the AppResource definition.
4756
*/
48-
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithResourceGroupName, DefinitionStages.WithServiceName, DefinitionStages.WithProperties, DefinitionStages.WithCreate {
57+
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithResourceGroupName, DefinitionStages.WithServiceName, DefinitionStages.WithCreate {
4958
}
5059

5160
/**
@@ -79,18 +88,42 @@ interface WithServiceName {
7988
* @param serviceName The name of the Service resource
8089
* @return the next definition stage
8190
*/
82-
WithProperties withServiceName(String serviceName);
91+
WithCreate withServiceName(String serviceName);
92+
}
93+
94+
/**
95+
* The stage of the appresource definition allowing to specify Identity.
96+
*/
97+
interface WithIdentity {
98+
/**
99+
* Specifies identity.
100+
* @param identity The Managed Identity type of the app resource
101+
* @return the next definition stage
102+
*/
103+
WithCreate withIdentity(ManagedIdentityProperties identity);
104+
}
105+
106+
/**
107+
* The stage of the appresource definition allowing to specify Location.
108+
*/
109+
interface WithLocation {
110+
/**
111+
* Specifies location.
112+
* @param location The GEO location of the application, always the same with its parent resource
113+
* @return the next definition stage
114+
*/
115+
WithCreate withLocation(String location);
83116
}
84117

85118
/**
86119
* The stage of the appresource definition allowing to specify Properties.
87120
*/
88121
interface WithProperties {
89-
/**
90-
* Specifies properties.
91-
* @param properties Properties of the App resource
92-
* @return the next definition stage
93-
*/
122+
/**
123+
* Specifies properties.
124+
* @param properties Properties of the App resource
125+
* @return the next definition stage
126+
*/
94127
WithCreate withProperties(AppResourceProperties properties);
95128
}
96129

@@ -99,19 +132,43 @@ interface WithProperties {
99132
* the resource to be created (via {@link WithCreate#create()}), but also allows
100133
* for any other optional settings to be specified.
101134
*/
102-
interface WithCreate extends Creatable<AppResource> {
135+
interface WithCreate extends Creatable<AppResource>, DefinitionStages.WithIdentity, DefinitionStages.WithLocation, DefinitionStages.WithProperties {
103136
}
104137
}
105138
/**
106139
* The template for a AppResource update operation, containing all the settings that can be modified.
107140
*/
108-
interface Update extends Appliable<AppResource>, UpdateStages.WithProperties {
141+
interface Update extends Appliable<AppResource>, UpdateStages.WithIdentity, UpdateStages.WithLocation, UpdateStages.WithProperties {
109142
}
110143

111144
/**
112145
* Grouping of AppResource update stages.
113146
*/
114147
interface UpdateStages {
148+
/**
149+
* The stage of the appresource update allowing to specify Identity.
150+
*/
151+
interface WithIdentity {
152+
/**
153+
* Specifies identity.
154+
* @param identity The Managed Identity type of the app resource
155+
* @return the next update stage
156+
*/
157+
Update withIdentity(ManagedIdentityProperties identity);
158+
}
159+
160+
/**
161+
* The stage of the appresource update allowing to specify Location.
162+
*/
163+
interface WithLocation {
164+
/**
165+
* Specifies location.
166+
* @param location The GEO location of the application, always the same with its parent resource
167+
* @return the next update stage
168+
*/
169+
Update withLocation(String location);
170+
}
171+
115172
/**
116173
* The stage of the appresource update allowing to specify Properties.
117174
*/

sdk/appplatform/mgmt-v2019_05_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2019_05_01_preview/AppResourceProperties.java

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class AppResourceProperties {
2929

3030
/**
3131
* Provisioning state of the App. Possible values include: 'Succeeded',
32-
* 'Failed'.
32+
* 'Failed', 'Creating', 'Updating'.
3333
*/
3434
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
3535
private AppResourceProvisioningState provisioningState;
@@ -40,6 +40,18 @@ public class AppResourceProperties {
4040
@JsonProperty(value = "activeDeploymentName")
4141
private String activeDeploymentName;
4242

43+
/**
44+
* Fully qualified dns Name.
45+
*/
46+
@JsonProperty(value = "fqdn")
47+
private String fqdn;
48+
49+
/**
50+
* Indicate if only https is allowed.
51+
*/
52+
@JsonProperty(value = "httpsOnly")
53+
private Boolean httpsOnly;
54+
4355
/**
4456
* Date time when the resource is created.
4557
*/
@@ -88,7 +100,7 @@ public String url() {
88100
}
89101

90102
/**
91-
* Get provisioning state of the App. Possible values include: 'Succeeded', 'Failed'.
103+
* Get provisioning state of the App. Possible values include: 'Succeeded', 'Failed', 'Creating', 'Updating'.
92104
*
93105
* @return the provisioningState value
94106
*/
@@ -116,6 +128,46 @@ public AppResourceProperties withActiveDeploymentName(String activeDeploymentNam
116128
return this;
117129
}
118130

131+
/**
132+
* Get fully qualified dns Name.
133+
*
134+
* @return the fqdn value
135+
*/
136+
public String fqdn() {
137+
return this.fqdn;
138+
}
139+
140+
/**
141+
* Set fully qualified dns Name.
142+
*
143+
* @param fqdn the fqdn value to set
144+
* @return the AppResourceProperties object itself.
145+
*/
146+
public AppResourceProperties withFqdn(String fqdn) {
147+
this.fqdn = fqdn;
148+
return this;
149+
}
150+
151+
/**
152+
* Get indicate if only https is allowed.
153+
*
154+
* @return the httpsOnly value
155+
*/
156+
public Boolean httpsOnly() {
157+
return this.httpsOnly;
158+
}
159+
160+
/**
161+
* Set indicate if only https is allowed.
162+
*
163+
* @param httpsOnly the httpsOnly value to set
164+
* @return the AppResourceProperties object itself.
165+
*/
166+
public AppResourceProperties withHttpsOnly(Boolean httpsOnly) {
167+
this.httpsOnly = httpsOnly;
168+
return this;
169+
}
170+
119171
/**
120172
* Get date time when the resource is created.
121173
*

sdk/appplatform/mgmt-v2019_05_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2019_05_01_preview/AppResourceProvisioningState.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ public final class AppResourceProvisioningState extends ExpandableStringEnum<App
2222
/** Static value Failed for AppResourceProvisioningState. */
2323
public static final AppResourceProvisioningState FAILED = fromString("Failed");
2424

25+
/** Static value Creating for AppResourceProvisioningState. */
26+
public static final AppResourceProvisioningState CREATING = fromString("Creating");
27+
28+
/** Static value Updating for AppResourceProvisioningState. */
29+
public static final AppResourceProvisioningState UPDATING = fromString("Updating");
30+
2531
/**
2632
* Creates or finds a AppResourceProvisioningState from its string representation.
2733
* @param name a name to look for
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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.appplatform.v2019_05_01_preview;
10+
11+
import com.microsoft.azure.arm.model.HasInner;
12+
import com.microsoft.azure.arm.resources.models.HasManager;
13+
import com.microsoft.azure.management.appplatform.v2019_05_01_preview.implementation.AppPlatformManager;
14+
import com.microsoft.azure.management.appplatform.v2019_05_01_preview.implementation.AvailableRuntimeVersionsInner;
15+
import java.util.List;
16+
17+
/**
18+
* Type representing AvailableRuntimeVersions.
19+
*/
20+
public interface AvailableRuntimeVersions extends HasInner<AvailableRuntimeVersionsInner>, HasManager<AppPlatformManager> {
21+
/**
22+
* @return the value value.
23+
*/
24+
List<SupportedRuntimeVersion1> value();
25+
26+
}

sdk/appplatform/mgmt-v2019_05_01_preview/src/main/java/com/microsoft/azure/management/appplatform/v2019_05_01_preview/BindingResourceProperties.java

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ public class BindingResourceProperties {
1818
/**
1919
* The name of the bound resource.
2020
*/
21-
@JsonProperty(value = "resourceName")
21+
@JsonProperty(value = "resourceName", access = JsonProperty.Access.WRITE_ONLY)
2222
private String resourceName;
2323

2424
/**
2525
* The standard Azure resource type of the bound resource.
2626
*/
27-
@JsonProperty(value = "resourceType")
27+
@JsonProperty(value = "resourceType", access = JsonProperty.Access.WRITE_ONLY)
2828
private String resourceType;
2929

3030
/**
@@ -73,17 +73,6 @@ public String resourceName() {
7373
return this.resourceName;
7474
}
7575

76-
/**
77-
* Set the name of the bound resource.
78-
*
79-
* @param resourceName the resourceName value to set
80-
* @return the BindingResourceProperties object itself.
81-
*/
82-
public BindingResourceProperties withResourceName(String resourceName) {
83-
this.resourceName = resourceName;
84-
return this;
85-
}
86-
8776
/**
8877
* Get the standard Azure resource type of the bound resource.
8978
*
@@ -93,17 +82,6 @@ public String resourceType() {
9382
return this.resourceType;
9483
}
9584

96-
/**
97-
* Set the standard Azure resource type of the bound resource.
98-
*
99-
* @param resourceType the resourceType value to set
100-
* @return the BindingResourceProperties object itself.
101-
*/
102-
public BindingResourceProperties withResourceType(String resourceType) {
103-
this.resourceType = resourceType;
104-
return this;
105-
}
106-
10785
/**
10886
* Get the Azure resource id of the bound resource.
10987
*

0 commit comments

Comments
 (0)