-
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.
Merge pull request #1190 from jianghaolu/web
Regenerate web app from 2016-09-01 api
- Loading branch information
Showing
78 changed files
with
29,859 additions
and
24,739 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
...-website/src/main/java/com/microsoft/azure/management/website/CheckNameResourceTypes.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,62 @@ | ||
/** | ||
* 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.website; | ||
|
||
import com.fasterxml.jackson.annotation.JsonValue; | ||
|
||
/** | ||
* Defines values for CheckNameResourceTypes. | ||
*/ | ||
public final class CheckNameResourceTypes { | ||
/** Static value Site for CheckNameResourceTypes. */ | ||
public static final CheckNameResourceTypes SITE = new CheckNameResourceTypes("Site"); | ||
|
||
/** Static value Slot for CheckNameResourceTypes. */ | ||
public static final CheckNameResourceTypes SLOT = new CheckNameResourceTypes("Slot"); | ||
|
||
/** Static value HostingEnvironment for CheckNameResourceTypes. */ | ||
public static final CheckNameResourceTypes HOSTING_ENVIRONMENT = new CheckNameResourceTypes("HostingEnvironment"); | ||
|
||
private String value; | ||
|
||
/** | ||
* Creates a custom value for CheckNameResourceTypes. | ||
* @param value the custom value | ||
*/ | ||
public CheckNameResourceTypes(String value) { | ||
this.value = value; | ||
} | ||
|
||
@JsonValue | ||
@Override | ||
public String toString() { | ||
return value; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return value.hashCode(); | ||
} | ||
|
||
@Override | ||
public boolean equals(Object obj) { | ||
if (!(obj instanceof CheckNameResourceTypes)) { | ||
return false; | ||
} | ||
if (obj == this) { | ||
return true; | ||
} | ||
CheckNameResourceTypes rhs = (CheckNameResourceTypes) obj; | ||
if (value == null) { | ||
return rhs.value == null; | ||
} else { | ||
return value.equals(rhs.value); | ||
} | ||
} | ||
} |
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
94 changes: 0 additions & 94 deletions
94
azure-mgmt-website/src/main/java/com/microsoft/azure/management/website/ConnStringInfo.java
This file was deleted.
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
77 changes: 77 additions & 0 deletions
77
...mt-website/src/main/java/com/microsoft/azure/management/website/ConnectionStringType.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,77 @@ | ||
/** | ||
* 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.website; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
|
||
/** | ||
* Defines values for ConnectionStringType. | ||
*/ | ||
public enum ConnectionStringType { | ||
/** Enum value MySql. */ | ||
MY_SQL("MySql"), | ||
|
||
/** Enum value SQLServer. */ | ||
SQLSERVER("SQLServer"), | ||
|
||
/** Enum value SQLAzure. */ | ||
SQLAZURE("SQLAzure"), | ||
|
||
/** Enum value Custom. */ | ||
CUSTOM("Custom"), | ||
|
||
/** Enum value NotificationHub. */ | ||
NOTIFICATION_HUB("NotificationHub"), | ||
|
||
/** Enum value ServiceBus. */ | ||
SERVICE_BUS("ServiceBus"), | ||
|
||
/** Enum value EventHub. */ | ||
EVENT_HUB("EventHub"), | ||
|
||
/** Enum value ApiHub. */ | ||
API_HUB("ApiHub"), | ||
|
||
/** Enum value DocDb. */ | ||
DOC_DB("DocDb"), | ||
|
||
/** Enum value RedisCache. */ | ||
REDIS_CACHE("RedisCache"); | ||
|
||
/** The actual serialized value for a ConnectionStringType instance. */ | ||
private String value; | ||
|
||
ConnectionStringType(String value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Parses a serialized value to a ConnectionStringType instance. | ||
* | ||
* @param value the serialized value to parse. | ||
* @return the parsed ConnectionStringType object, or null if unable to parse. | ||
*/ | ||
@JsonCreator | ||
public static ConnectionStringType fromString(String value) { | ||
ConnectionStringType[] items = ConnectionStringType.values(); | ||
for (ConnectionStringType item : items) { | ||
if (item.toString().equalsIgnoreCase(value)) { | ||
return item; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
@JsonValue | ||
@Override | ||
public String toString() { | ||
return this.value; | ||
} | ||
} |
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.