-
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.
* generate cdn * update pom
- Loading branch information
Showing
16 changed files
with
184 additions
and
174 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
38 changes: 38 additions & 0 deletions
38
...t-v2020_04_15/src/main/java/com/microsoft/azure/management/cdn/v2020_04_15/Algorithm.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,38 @@ | ||
/** | ||
* 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.cdn.v2020_04_15; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for Algorithm. | ||
*/ | ||
public final class Algorithm extends ExpandableStringEnum<Algorithm> { | ||
/** Static value SHA256 for Algorithm. */ | ||
public static final Algorithm SHA256 = fromString("SHA256"); | ||
|
||
/** | ||
* Creates or finds a Algorithm from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding Algorithm | ||
*/ | ||
@JsonCreator | ||
public static Algorithm fromString(String name) { | ||
return fromString(name, Algorithm.class); | ||
} | ||
|
||
/** | ||
* @return known Algorithm values | ||
*/ | ||
public static Collection<Algorithm> values() { | ||
return values(Algorithm.class); | ||
} | ||
} |
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
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
44 changes: 44 additions & 0 deletions
44
...20_04_15/src/main/java/com/microsoft/azure/management/cdn/v2020_04_15/ParamIndicator.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,44 @@ | ||
/** | ||
* 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.cdn.v2020_04_15; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for ParamIndicator. | ||
*/ | ||
public final class ParamIndicator extends ExpandableStringEnum<ParamIndicator> { | ||
/** Static value Expires for ParamIndicator. */ | ||
public static final ParamIndicator EXPIRES = fromString("Expires"); | ||
|
||
/** Static value KeyId for ParamIndicator. */ | ||
public static final ParamIndicator KEY_ID = fromString("KeyId"); | ||
|
||
/** Static value Signature for ParamIndicator. */ | ||
public static final ParamIndicator SIGNATURE = fromString("Signature"); | ||
|
||
/** | ||
* Creates or finds a ParamIndicator from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding ParamIndicator | ||
*/ | ||
@JsonCreator | ||
public static ParamIndicator fromString(String name) { | ||
return fromString(name, ParamIndicator.class); | ||
} | ||
|
||
/** | ||
* @return known ParamIndicator values | ||
*/ | ||
public static Collection<ParamIndicator> values() { | ||
return values(ParamIndicator.class); | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
..._04_15/src/main/java/com/microsoft/azure/management/cdn/v2020_04_15/UrlSigningAction.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.cdn.v2020_04_15; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.annotation.JsonTypeInfo; | ||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
|
||
/** | ||
* Defines the url signing action for the delivery rule. | ||
*/ | ||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "name", defaultImpl = UrlSigningAction.class) | ||
@JsonTypeName("UrlSigning") | ||
public class UrlSigningAction extends DeliveryRuleAction { | ||
/** | ||
* Defines the parameters for the action. | ||
*/ | ||
@JsonProperty(value = "parameters", required = true) | ||
private UrlSigningActionParameters parameters; | ||
|
||
/** | ||
* Get defines the parameters for the action. | ||
* | ||
* @return the parameters value | ||
*/ | ||
public UrlSigningActionParameters parameters() { | ||
return this.parameters; | ||
} | ||
|
||
/** | ||
* Set defines the parameters for the action. | ||
* | ||
* @param parameters the parameters value to set | ||
* @return the UrlSigningAction object itself. | ||
*/ | ||
public UrlSigningAction withParameters(UrlSigningActionParameters parameters) { | ||
this.parameters = parameters; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.