-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from f54b36deb73654dd59a4d4b3571371268b1414ae (#2231)
BugFix: defaultSinkRefs is an array of string
- Loading branch information
1 parent
498ba0b
commit 787775f
Showing
54 changed files
with
8,498 additions
and
0 deletions.
There are no files selected for viewing
204 changes: 204 additions & 0 deletions
204
...src/main/java/com/microsoft/azure/management/servicefabricmesh/ApplicationProperties.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,204 @@ | ||
/** | ||
* 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.servicefabricmesh; | ||
|
||
import java.util.List; | ||
import com.microsoft.azure.management.servicefabricmesh.implementation.ServiceResourceDescriptionInner; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* This type describes properties of an application resource. | ||
*/ | ||
public class ApplicationProperties { | ||
/** | ||
* User readable description of the application. | ||
*/ | ||
@JsonProperty(value = "description") | ||
private String description; | ||
|
||
/** | ||
* Internal use. | ||
*/ | ||
@JsonProperty(value = "debugParams") | ||
private String debugParams; | ||
|
||
/** | ||
* describes the services in the application. | ||
*/ | ||
@JsonProperty(value = "services") | ||
private List<ServiceResourceDescriptionInner> services; | ||
|
||
/** | ||
* Describes the health state of an application resource. Possible values | ||
* include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'. | ||
*/ | ||
@JsonProperty(value = "healthState", access = JsonProperty.Access.WRITE_ONLY) | ||
private HealthState healthState; | ||
|
||
/** | ||
* When the application's health state is not 'Ok', this additional details | ||
* from service fabric Health Manager for the user to know why the | ||
* application is marked unhealthy. | ||
*/ | ||
@JsonProperty(value = "unhealthyEvaluation", access = JsonProperty.Access.WRITE_ONLY) | ||
private String unhealthyEvaluation; | ||
|
||
/** | ||
* Status of the application resource. Possible values include: 'Invalid', | ||
* 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'. | ||
*/ | ||
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY) | ||
private ApplicationResourceStatus status; | ||
|
||
/** | ||
* Gives additional information about the current status of the application | ||
* deployment. | ||
*/ | ||
@JsonProperty(value = "statusDetails", access = JsonProperty.Access.WRITE_ONLY) | ||
private String statusDetails; | ||
|
||
/** | ||
* Names of the services in the application. | ||
*/ | ||
@JsonProperty(value = "serviceNames", access = JsonProperty.Access.WRITE_ONLY) | ||
private List<String> serviceNames; | ||
|
||
/** | ||
* Describes the diagnostics definition and usage for an application | ||
* resource. | ||
*/ | ||
@JsonProperty(value = "diagnostics") | ||
private DiagnosticsDescription diagnostics; | ||
|
||
/** | ||
* Get user readable description of the application. | ||
* | ||
* @return the description value | ||
*/ | ||
public String description() { | ||
return this.description; | ||
} | ||
|
||
/** | ||
* Set user readable description of the application. | ||
* | ||
* @param description the description value to set | ||
* @return the ApplicationProperties object itself. | ||
*/ | ||
public ApplicationProperties withDescription(String description) { | ||
this.description = description; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get internal use. | ||
* | ||
* @return the debugParams value | ||
*/ | ||
public String debugParams() { | ||
return this.debugParams; | ||
} | ||
|
||
/** | ||
* Set internal use. | ||
* | ||
* @param debugParams the debugParams value to set | ||
* @return the ApplicationProperties object itself. | ||
*/ | ||
public ApplicationProperties withDebugParams(String debugParams) { | ||
this.debugParams = debugParams; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get describes the services in the application. | ||
* | ||
* @return the services value | ||
*/ | ||
public List<ServiceResourceDescriptionInner> services() { | ||
return this.services; | ||
} | ||
|
||
/** | ||
* Set describes the services in the application. | ||
* | ||
* @param services the services value to set | ||
* @return the ApplicationProperties object itself. | ||
*/ | ||
public ApplicationProperties withServices(List<ServiceResourceDescriptionInner> services) { | ||
this.services = services; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get describes the health state of an application resource. Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'. | ||
* | ||
* @return the healthState value | ||
*/ | ||
public HealthState healthState() { | ||
return this.healthState; | ||
} | ||
|
||
/** | ||
* Get when the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy. | ||
* | ||
* @return the unhealthyEvaluation value | ||
*/ | ||
public String unhealthyEvaluation() { | ||
return this.unhealthyEvaluation; | ||
} | ||
|
||
/** | ||
* Get status of the application resource. Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'. | ||
* | ||
* @return the status value | ||
*/ | ||
public ApplicationResourceStatus status() { | ||
return this.status; | ||
} | ||
|
||
/** | ||
* Get gives additional information about the current status of the application deployment. | ||
* | ||
* @return the statusDetails value | ||
*/ | ||
public String statusDetails() { | ||
return this.statusDetails; | ||
} | ||
|
||
/** | ||
* Get names of the services in the application. | ||
* | ||
* @return the serviceNames value | ||
*/ | ||
public List<String> serviceNames() { | ||
return this.serviceNames; | ||
} | ||
|
||
/** | ||
* Get describes the diagnostics definition and usage for an application resource. | ||
* | ||
* @return the diagnostics value | ||
*/ | ||
public DiagnosticsDescription diagnostics() { | ||
return this.diagnostics; | ||
} | ||
|
||
/** | ||
* Set describes the diagnostics definition and usage for an application resource. | ||
* | ||
* @param diagnostics the diagnostics value to set | ||
* @return the ApplicationProperties object itself. | ||
*/ | ||
public ApplicationProperties withDiagnostics(DiagnosticsDescription diagnostics) { | ||
this.diagnostics = diagnostics; | ||
return this; | ||
} | ||
|
||
} |
53 changes: 53 additions & 0 deletions
53
...main/java/com/microsoft/azure/management/servicefabricmesh/ApplicationResourceStatus.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,53 @@ | ||
/** | ||
* 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.servicefabricmesh; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for ApplicationResourceStatus. | ||
*/ | ||
public final class ApplicationResourceStatus extends ExpandableStringEnum<ApplicationResourceStatus> { | ||
/** Static value Invalid for ApplicationResourceStatus. */ | ||
public static final ApplicationResourceStatus INVALID = fromString("Invalid"); | ||
|
||
/** Static value Ready for ApplicationResourceStatus. */ | ||
public static final ApplicationResourceStatus READY = fromString("Ready"); | ||
|
||
/** Static value Upgrading for ApplicationResourceStatus. */ | ||
public static final ApplicationResourceStatus UPGRADING = fromString("Upgrading"); | ||
|
||
/** Static value Creating for ApplicationResourceStatus. */ | ||
public static final ApplicationResourceStatus CREATING = fromString("Creating"); | ||
|
||
/** Static value Deleting for ApplicationResourceStatus. */ | ||
public static final ApplicationResourceStatus DELETING = fromString("Deleting"); | ||
|
||
/** Static value Failed for ApplicationResourceStatus. */ | ||
public static final ApplicationResourceStatus FAILED = fromString("Failed"); | ||
|
||
/** | ||
* Creates or finds a ApplicationResourceStatus from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding ApplicationResourceStatus | ||
*/ | ||
@JsonCreator | ||
public static ApplicationResourceStatus fromString(String name) { | ||
return fromString(name, ApplicationResourceStatus.class); | ||
} | ||
|
||
/** | ||
* @return known ApplicationResourceStatus values | ||
*/ | ||
public static Collection<ApplicationResourceStatus> values() { | ||
return values(ApplicationResourceStatus.class); | ||
} | ||
} |
121 changes: 121 additions & 0 deletions
121
...main/java/com/microsoft/azure/management/servicefabricmesh/AvailableOperationDisplay.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,121 @@ | ||
/** | ||
* 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.servicefabricmesh; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* An operation available at the listed Azure resource provider. | ||
*/ | ||
public class AvailableOperationDisplay { | ||
/** | ||
* Name of the operation provider. | ||
*/ | ||
@JsonProperty(value = "provider") | ||
private String provider; | ||
|
||
/** | ||
* Name of the resource on which the operation is available. | ||
*/ | ||
@JsonProperty(value = "resource") | ||
private String resource; | ||
|
||
/** | ||
* Name of the available operation. | ||
*/ | ||
@JsonProperty(value = "operation") | ||
private String operation; | ||
|
||
/** | ||
* Description of the available operation. | ||
*/ | ||
@JsonProperty(value = "description") | ||
private String description; | ||
|
||
/** | ||
* Get name of the operation provider. | ||
* | ||
* @return the provider value | ||
*/ | ||
public String provider() { | ||
return this.provider; | ||
} | ||
|
||
/** | ||
* Set name of the operation provider. | ||
* | ||
* @param provider the provider value to set | ||
* @return the AvailableOperationDisplay object itself. | ||
*/ | ||
public AvailableOperationDisplay withProvider(String provider) { | ||
this.provider = provider; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get name of the resource on which the operation is available. | ||
* | ||
* @return the resource value | ||
*/ | ||
public String resource() { | ||
return this.resource; | ||
} | ||
|
||
/** | ||
* Set name of the resource on which the operation is available. | ||
* | ||
* @param resource the resource value to set | ||
* @return the AvailableOperationDisplay object itself. | ||
*/ | ||
public AvailableOperationDisplay withResource(String resource) { | ||
this.resource = resource; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get name of the available operation. | ||
* | ||
* @return the operation value | ||
*/ | ||
public String operation() { | ||
return this.operation; | ||
} | ||
|
||
/** | ||
* Set name of the available operation. | ||
* | ||
* @param operation the operation value to set | ||
* @return the AvailableOperationDisplay object itself. | ||
*/ | ||
public AvailableOperationDisplay withOperation(String operation) { | ||
this.operation = operation; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get description of the available operation. | ||
* | ||
* @return the description value | ||
*/ | ||
public String description() { | ||
return this.description; | ||
} | ||
|
||
/** | ||
* Set description of the available operation. | ||
* | ||
* @param description the description value to set | ||
* @return the AvailableOperationDisplay object itself. | ||
*/ | ||
public AvailableOperationDisplay withDescription(String description) { | ||
this.description = description; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.