forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mgmt Appplatform: update and change some API (Azure#14365)
* update api-spec * generate app platform * fix compile error and update api * update service when needed * add active deployment api * remove deploy from app * remove setting from other deployment * remove useless impl * fix test * remove compression * compress to test * fix test * update test * deployment with instance * update test * prepare for post run * fix checkstyle * fix spotbug
- Loading branch information
Showing
41 changed files
with
4,091 additions
and
1,219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk/resourcemanager/azure-resourcemanager-appplatform/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/piggymetrics | ||
/piggymetrics.tar.gz | ||
# folder created in unit test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
331 changes: 322 additions & 9 deletions
331
...er-appplatform/src/main/java/com/azure/resourcemanager/appplatform/fluent/AppsClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
408 changes: 355 additions & 53 deletions
408
...ppplatform/src/main/java/com/azure/resourcemanager/appplatform/fluent/BindingsClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
244 changes: 214 additions & 30 deletions
244
...atform/src/main/java/com/azure/resourcemanager/appplatform/fluent/CertificatesClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
836 changes: 836 additions & 0 deletions
836
...tform/src/main/java/com/azure/resourcemanager/appplatform/fluent/ConfigServersClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
660 changes: 371 additions & 289 deletions
660
...tform/src/main/java/com/azure/resourcemanager/appplatform/fluent/CustomDomainsClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
314 changes: 205 additions & 109 deletions
314
...latform/src/main/java/com/azure/resourcemanager/appplatform/fluent/DeploymentsClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
837 changes: 837 additions & 0 deletions
837
.../src/main/java/com/azure/resourcemanager/appplatform/fluent/MonitoringSettingsClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
...in/java/com/azure/resourcemanager/appplatform/fluent/inner/ConfigServerResourceInner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.appplatform.fluent.inner; | ||
|
||
import com.azure.core.annotation.Fluent; | ||
import com.azure.core.management.ProxyResource; | ||
import com.azure.core.util.logging.ClientLogger; | ||
import com.azure.resourcemanager.appplatform.models.ConfigServerProperties; | ||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** The ConfigServerResource model. */ | ||
@Fluent | ||
public final class ConfigServerResourceInner extends ProxyResource { | ||
@JsonIgnore private final ClientLogger logger = new ClientLogger(ConfigServerResourceInner.class); | ||
|
||
/* | ||
* Properties of the Config Server resource | ||
*/ | ||
@JsonProperty(value = "properties") | ||
private ConfigServerProperties properties; | ||
|
||
/** | ||
* Get the properties property: Properties of the Config Server resource. | ||
* | ||
* @return the properties value. | ||
*/ | ||
public ConfigServerProperties properties() { | ||
return this.properties; | ||
} | ||
|
||
/** | ||
* Set the properties property: Properties of the Config Server resource. | ||
* | ||
* @param properties the properties value to set. | ||
* @return the ConfigServerResourceInner object itself. | ||
*/ | ||
public ConfigServerResourceInner withProperties(ConfigServerProperties properties) { | ||
this.properties = properties; | ||
return this; | ||
} | ||
|
||
/** | ||
* Validates the instance. | ||
* | ||
* @throws IllegalArgumentException thrown if the instance is not valid. | ||
*/ | ||
public void validate() { | ||
if (properties() != null) { | ||
properties().validate(); | ||
} | ||
} | ||
} |
Oops, something went wrong.