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.
CodeGen from PR 11712 in Azure/azure-rest-api-specs
Merge f65e72b5d45a939d2fa41a7890a5ffcb875f88da into 3b16e57e9283512eecd049963f344319479d81f9
- Loading branch information
SDKAuto
committed
Nov 17, 2020
1 parent
7def120
commit e56f52e
Showing
39 changed files
with
2,147 additions
and
298 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
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
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
47 changes: 47 additions & 0 deletions
47
...c/main/java/com/microsoft/azure/management/resources/v2016_09_01/ErrorAdditionalInfo.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,47 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.resources.v2016_09_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The resource management error additional info. | ||
*/ | ||
public class ErrorAdditionalInfo { | ||
/** | ||
* The additional info type. | ||
*/ | ||
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) | ||
private String type; | ||
|
||
/** | ||
* The additional info. | ||
*/ | ||
@JsonProperty(value = "info", access = JsonProperty.Access.WRITE_ONLY) | ||
private Object info; | ||
|
||
/** | ||
* Get the additional info type. | ||
* | ||
* @return the type value | ||
*/ | ||
public String type() { | ||
return this.type; | ||
} | ||
|
||
/** | ||
* Get the additional info. | ||
* | ||
* @return the info value | ||
*/ | ||
public Object info() { | ||
return this.info; | ||
} | ||
|
||
} |
96 changes: 96 additions & 0 deletions
96
..._01/src/main/java/com/microsoft/azure/management/resources/v2016_09_01/ErrorResponse.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,96 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.resources.v2016_09_01; | ||
|
||
import java.util.List; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Error Response. | ||
* Common error response for all Azure Resource Manager APIs to return error | ||
* details for failed operations. (This also follows the OData error response | ||
* format.). | ||
*/ | ||
public class ErrorResponse { | ||
/** | ||
* The error code. | ||
*/ | ||
@JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) | ||
private String code; | ||
|
||
/** | ||
* The error message. | ||
*/ | ||
@JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY) | ||
private String message; | ||
|
||
/** | ||
* The error target. | ||
*/ | ||
@JsonProperty(value = "target", access = JsonProperty.Access.WRITE_ONLY) | ||
private String target; | ||
|
||
/** | ||
* The error details. | ||
*/ | ||
@JsonProperty(value = "details", access = JsonProperty.Access.WRITE_ONLY) | ||
private List<ErrorResponse> details; | ||
|
||
/** | ||
* The error additional info. | ||
*/ | ||
@JsonProperty(value = "additionalInfo", access = JsonProperty.Access.WRITE_ONLY) | ||
private List<ErrorAdditionalInfo> additionalInfo; | ||
|
||
/** | ||
* Get the error code. | ||
* | ||
* @return the code value | ||
*/ | ||
public String code() { | ||
return this.code; | ||
} | ||
|
||
/** | ||
* Get the error message. | ||
* | ||
* @return the message value | ||
*/ | ||
public String message() { | ||
return this.message; | ||
} | ||
|
||
/** | ||
* Get the error target. | ||
* | ||
* @return the target value | ||
*/ | ||
public String target() { | ||
return this.target; | ||
} | ||
|
||
/** | ||
* Get the error details. | ||
* | ||
* @return the details value | ||
*/ | ||
public List<ErrorResponse> details() { | ||
return this.details; | ||
} | ||
|
||
/** | ||
* Get the error additional info. | ||
* | ||
* @return the additionalInfo value | ||
*/ | ||
public List<ErrorAdditionalInfo> additionalInfo() { | ||
return this.additionalInfo; | ||
} | ||
|
||
} |
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
76 changes: 76 additions & 0 deletions
76
...1/src/main/java/com/microsoft/azure/management/resources/v2016_09_01/GenericResource.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,76 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.resources.v2016_09_01; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.arm.resources.models.HasManager; | ||
import com.microsoft.azure.management.resources.v2016_09_01.implementation.ResourcesManager; | ||
import com.microsoft.azure.management.resources.v2016_09_01.implementation.GenericResourceInner; | ||
import java.util.Map; | ||
|
||
/** | ||
* Type representing GenericResource. | ||
*/ | ||
public interface GenericResource extends HasInner<GenericResourceInner>, HasManager<ResourcesManager> { | ||
/** | ||
* @return the id value. | ||
*/ | ||
String id(); | ||
|
||
/** | ||
* @return the identity value. | ||
*/ | ||
Identity identity(); | ||
|
||
/** | ||
* @return the kind value. | ||
*/ | ||
String kind(); | ||
|
||
/** | ||
* @return the location value. | ||
*/ | ||
String location(); | ||
|
||
/** | ||
* @return the managedBy value. | ||
*/ | ||
String managedBy(); | ||
|
||
/** | ||
* @return the name value. | ||
*/ | ||
String name(); | ||
|
||
/** | ||
* @return the plan value. | ||
*/ | ||
Plan plan(); | ||
|
||
/** | ||
* @return the properties value. | ||
*/ | ||
Object properties(); | ||
|
||
/** | ||
* @return the sku value. | ||
*/ | ||
Sku sku(); | ||
|
||
/** | ||
* @return the tags value. | ||
*/ | ||
Map<String, String> tags(); | ||
|
||
/** | ||
* @return the type value. | ||
*/ | ||
String type(); | ||
|
||
} |
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
Oops, something went wrong.