Skip to content

Commit 9a84830

Browse files
author
SDK Automation
committed
Generated from a2138923c04dc6f3e78d396b0e96cb51b0420163
1 parent b9c9e55 commit 9a84830

File tree

14 files changed

+674
-144
lines changed

14 files changed

+674
-144
lines changed

sdk/managedapplications/mgmt-v2019_07_01/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.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-managedapplications</artifactId>
1818
<version>1.0.0-beta</version>

sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/Application.java

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ interface WithCreate extends Creatable<Application>, Resource.DefinitionWithTags
266266
/**
267267
* The template for a Application update operation, containing all the settings that can be modified.
268268
*/
269-
interface Update extends Appliable<Application>, Resource.UpdateWithTags<Update>, UpdateStages.WithApplicationDefinitionId, UpdateStages.WithIdentity, UpdateStages.WithJitAccessPolicy, UpdateStages.WithManagedBy, UpdateStages.WithManagedResourceGroupId, UpdateStages.WithParameters, UpdateStages.WithPlan, UpdateStages.WithSku {
269+
interface Update extends Appliable<Application>, Resource.UpdateWithTags<Update>, UpdateStages.WithApplicationDefinitionId, UpdateStages.WithIdentity, UpdateStages.WithJitAccessPolicy, UpdateStages.WithKind, UpdateStages.WithManagedBy, UpdateStages.WithManagedResourceGroupId, UpdateStages.WithParameters, UpdateStages.WithPlan, UpdateStages.WithSku {
270270
}
271271

272272
/**
@@ -309,6 +309,18 @@ interface WithJitAccessPolicy {
309309
Update withJitAccessPolicy(ApplicationJitAccessPolicy jitAccessPolicy);
310310
}
311311

312+
/**
313+
* The stage of the application update allowing to specify Kind.
314+
*/
315+
interface WithKind {
316+
/**
317+
* Specifies kind.
318+
* @param kind The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog
319+
* @return the next update stage
320+
*/
321+
Update withKind(String kind);
322+
}
323+
312324
/**
313325
* The stage of the application update allowing to specify ManagedBy.
314326
*/
@@ -354,7 +366,7 @@ interface WithPlan {
354366
* @param plan The plan information
355367
* @return the next update stage
356368
*/
357-
Update withPlan(Plan plan);
369+
Update withPlan(PlanPatchable plan);
358370
}
359371

360372
/**

sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/ApplicationDefinitions.java

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,34 @@
2424
*/
2525
public interface ApplicationDefinitions extends SupportsCreating<ApplicationDefinition.DefinitionStages.Blank>, SupportsDeletingByResourceGroup, SupportsBatchDeletion, SupportsGettingByResourceGroup<ApplicationDefinition>, SupportsListingByResourceGroup<ApplicationDefinition>, HasInner<ApplicationDefinitionsInner> {
2626
/**
27-
* Gets the managed application definition.
27+
* Deletes the managed application definition.
2828
*
29-
* @param applicationDefinitionId The fully qualified ID of the managed application definition, including the managed application name and the managed application definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name}
29+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
30+
* @param applicationDefinitionName The name of the managed application definition to delete.
3031
* @throws IllegalArgumentException thrown if parameters fail the validation
3132
* @return the observable for the request
3233
*/
33-
Observable<ApplicationDefinition> getByIdAsync(String applicationDefinitionId);
34+
Completable deleteAsync(String resourceGroupName, String applicationDefinitionName);
3435

3536
/**
36-
* Deletes the managed application definition.
37+
* Gets the managed application definition.
3738
*
38-
* @param applicationDefinitionId The fully qualified ID of the managed application definition, including the managed application name and the managed application definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name}
39+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
40+
* @param applicationDefinitionName The name of the managed application definition.
3941
* @throws IllegalArgumentException thrown if parameters fail the validation
4042
* @return the observable for the request
4143
*/
42-
Completable deleteByIdAsync(String applicationDefinitionId);
44+
Observable<ApplicationDefinition> getByIdAsync(String resourceGroupName, String applicationDefinitionName);
4345

4446
/**
4547
* Creates a new managed application definition.
4648
*
47-
* @param applicationDefinitionId The fully qualified ID of the managed application definition, including the managed application name and the managed application definition resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applicationDefinitions/{applicationDefinition-name}
49+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
50+
* @param applicationDefinitionName The name of the managed application definition.
4851
* @param parameters Parameters supplied to the create or update a managed application definition.
4952
* @throws IllegalArgumentException thrown if parameters fail the validation
5053
* @return the observable for the request
5154
*/
52-
Observable<ApplicationDefinition> createOrUpdateByIdAsync(String applicationDefinitionId, ApplicationDefinitionInner parameters);
55+
Observable<ApplicationDefinition> createOrUpdateByIdAsync(String resourceGroupName, String applicationDefinitionName, ApplicationDefinitionInner parameters);
5356

5457
}

sdk/managedapplications/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/managedapplications/v2019_07_01/ApplicationPatchable.java

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
package com.microsoft.azure.management.managedapplications.v2019_07_01;
1010

11+
import java.util.List;
1112
import com.fasterxml.jackson.annotation.JsonProperty;
1213
import com.microsoft.rest.serializer.JsonFlatten;
1314

@@ -49,6 +50,70 @@ public class ApplicationPatchable extends GenericResource {
4950
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
5051
private ProvisioningState provisioningState;
5152

53+
/**
54+
* The managed application billing details.
55+
*/
56+
@JsonProperty(value = "properties.billingDetails", access = JsonProperty.Access.WRITE_ONLY)
57+
private ApplicationBillingDetailsDefinition billingDetails;
58+
59+
/**
60+
* The managed application Jit access policy.
61+
*/
62+
@JsonProperty(value = "properties.jitAccessPolicy")
63+
private ApplicationJitAccessPolicy jitAccessPolicy;
64+
65+
/**
66+
* The publisher tenant Id.
67+
*/
68+
@JsonProperty(value = "properties.publisherTenantId", access = JsonProperty.Access.WRITE_ONLY)
69+
private String publisherTenantId;
70+
71+
/**
72+
* The read-only authorizations property that is retrieved from the
73+
* application package.
74+
*/
75+
@JsonProperty(value = "properties.authorizations", access = JsonProperty.Access.WRITE_ONLY)
76+
private List<ApplicationAuthorization> authorizations;
77+
78+
/**
79+
* The managed application management mode. Possible values include:
80+
* 'NotSpecified', 'Unmanaged', 'Managed'.
81+
*/
82+
@JsonProperty(value = "properties.managementMode", access = JsonProperty.Access.WRITE_ONLY)
83+
private ApplicationManagementMode managementMode;
84+
85+
/**
86+
* The read-only customer support property that is retrieved from the
87+
* application package.
88+
*/
89+
@JsonProperty(value = "properties.customerSupport", access = JsonProperty.Access.WRITE_ONLY)
90+
private ApplicationPackageContact customerSupport;
91+
92+
/**
93+
* The read-only support URLs property that is retrieved from the
94+
* application package.
95+
*/
96+
@JsonProperty(value = "properties.supportUrls", access = JsonProperty.Access.WRITE_ONLY)
97+
private ApplicationPackageSupportUrls supportUrls;
98+
99+
/**
100+
* The collection of managed application artifacts.
101+
*/
102+
@JsonProperty(value = "properties.artifacts", access = JsonProperty.Access.WRITE_ONLY)
103+
private List<ApplicationArtifact> artifacts;
104+
105+
/**
106+
* The client entity that created the JIT request.
107+
*/
108+
@JsonProperty(value = "properties.createdBy", access = JsonProperty.Access.WRITE_ONLY)
109+
private ApplicationClientDetails createdBy;
110+
111+
/**
112+
* The client entity that last updated the JIT request.
113+
*/
114+
@JsonProperty(value = "properties.updatedBy", access = JsonProperty.Access.WRITE_ONLY)
115+
private ApplicationClientDetails updatedBy;
116+
52117
/**
53118
* The plan information.
54119
*/
@@ -146,6 +211,107 @@ public ProvisioningState provisioningState() {
146211
return this.provisioningState;
147212
}
148213

214+
/**
215+
* Get the managed application billing details.
216+
*
217+
* @return the billingDetails value
218+
*/
219+
public ApplicationBillingDetailsDefinition billingDetails() {
220+
return this.billingDetails;
221+
}
222+
223+
/**
224+
* Get the managed application Jit access policy.
225+
*
226+
* @return the jitAccessPolicy value
227+
*/
228+
public ApplicationJitAccessPolicy jitAccessPolicy() {
229+
return this.jitAccessPolicy;
230+
}
231+
232+
/**
233+
* Set the managed application Jit access policy.
234+
*
235+
* @param jitAccessPolicy the jitAccessPolicy value to set
236+
* @return the ApplicationPatchable object itself.
237+
*/
238+
public ApplicationPatchable withJitAccessPolicy(ApplicationJitAccessPolicy jitAccessPolicy) {
239+
this.jitAccessPolicy = jitAccessPolicy;
240+
return this;
241+
}
242+
243+
/**
244+
* Get the publisher tenant Id.
245+
*
246+
* @return the publisherTenantId value
247+
*/
248+
public String publisherTenantId() {
249+
return this.publisherTenantId;
250+
}
251+
252+
/**
253+
* Get the read-only authorizations property that is retrieved from the application package.
254+
*
255+
* @return the authorizations value
256+
*/
257+
public List<ApplicationAuthorization> authorizations() {
258+
return this.authorizations;
259+
}
260+
261+
/**
262+
* Get the managed application management mode. Possible values include: 'NotSpecified', 'Unmanaged', 'Managed'.
263+
*
264+
* @return the managementMode value
265+
*/
266+
public ApplicationManagementMode managementMode() {
267+
return this.managementMode;
268+
}
269+
270+
/**
271+
* Get the read-only customer support property that is retrieved from the application package.
272+
*
273+
* @return the customerSupport value
274+
*/
275+
public ApplicationPackageContact customerSupport() {
276+
return this.customerSupport;
277+
}
278+
279+
/**
280+
* Get the read-only support URLs property that is retrieved from the application package.
281+
*
282+
* @return the supportUrls value
283+
*/
284+
public ApplicationPackageSupportUrls supportUrls() {
285+
return this.supportUrls;
286+
}
287+
288+
/**
289+
* Get the collection of managed application artifacts.
290+
*
291+
* @return the artifacts value
292+
*/
293+
public List<ApplicationArtifact> artifacts() {
294+
return this.artifacts;
295+
}
296+
297+
/**
298+
* Get the client entity that created the JIT request.
299+
*
300+
* @return the createdBy value
301+
*/
302+
public ApplicationClientDetails createdBy() {
303+
return this.createdBy;
304+
}
305+
306+
/**
307+
* Get the client entity that last updated the JIT request.
308+
*
309+
* @return the updatedBy value
310+
*/
311+
public ApplicationClientDetails updatedBy() {
312+
return this.updatedBy;
313+
}
314+
149315
/**
150316
* Get the plan information.
151317
*

0 commit comments

Comments
 (0)