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 18413 in Azure/azure-rest-api-specs
Merge abe82531558be49a37c46cc1900f9a01a8949e3c into 927e50063ce9c3defdc8fc97906656dc64a37e51
- Loading branch information
SDKAuto
committed
Mar 31, 2022
1 parent
83ec004
commit ea96f68
Showing
15 changed files
with
285 additions
and
56 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md
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
31 changes: 31 additions & 0 deletions
31
...y/src/main/java/com/azure/resourcemanager/datafactory/models/CredentialReferenceType.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,31 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.datafactory.models; | ||
|
||
import com.azure.core.util.ExpandableStringEnum; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.Collection; | ||
|
||
/** Defines values for CredentialReferenceType. */ | ||
public final class CredentialReferenceType extends ExpandableStringEnum<CredentialReferenceType> { | ||
/** Static value CredentialReference for CredentialReferenceType. */ | ||
public static final CredentialReferenceType CREDENTIAL_REFERENCE = fromString("CredentialReference"); | ||
|
||
/** | ||
* Creates or finds a CredentialReferenceType from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding CredentialReferenceType. | ||
*/ | ||
@JsonCreator | ||
public static CredentialReferenceType fromString(String name) { | ||
return fromString(name, CredentialReferenceType.class); | ||
} | ||
|
||
/** @return known CredentialReferenceType values. */ | ||
public static Collection<CredentialReferenceType> values() { | ||
return values(CredentialReferenceType.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
31 changes: 31 additions & 0 deletions
31
...ory/src/main/java/com/azure/resourcemanager/datafactory/models/DataFlowReferenceType.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,31 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.datafactory.models; | ||
|
||
import com.azure.core.util.ExpandableStringEnum; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.Collection; | ||
|
||
/** Defines values for DataFlowReferenceType. */ | ||
public final class DataFlowReferenceType extends ExpandableStringEnum<DataFlowReferenceType> { | ||
/** Static value DataFlowReference for DataFlowReferenceType. */ | ||
public static final DataFlowReferenceType DATA_FLOW_REFERENCE = fromString("DataFlowReference"); | ||
|
||
/** | ||
* Creates or finds a DataFlowReferenceType from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding DataFlowReferenceType. | ||
*/ | ||
@JsonCreator | ||
public static DataFlowReferenceType fromString(String name) { | ||
return fromString(name, DataFlowReferenceType.class); | ||
} | ||
|
||
/** @return known DataFlowReferenceType values. */ | ||
public static Collection<DataFlowReferenceType> values() { | ||
return values(DataFlowReferenceType.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
88 changes: 88 additions & 0 deletions
88
...main/java/com/azure/resourcemanager/datafactory/models/ExecutePipelineActivityPolicy.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,88 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.datafactory.models; | ||
|
||
import com.azure.core.annotation.Fluent; | ||
import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
/** Execution policy for an execute pipeline activity. */ | ||
@Fluent | ||
public final class ExecutePipelineActivityPolicy { | ||
/* | ||
* When set to true, Input from activity is considered as secure and will | ||
* not be logged to monitoring. | ||
*/ | ||
@JsonProperty(value = "secureInput") | ||
private Boolean secureInput; | ||
|
||
/* | ||
* Execution policy for an execute pipeline activity. | ||
*/ | ||
@JsonIgnore private Map<String, Object> additionalProperties; | ||
|
||
/** | ||
* Get the secureInput property: When set to true, Input from activity is considered as secure and will not be | ||
* logged to monitoring. | ||
* | ||
* @return the secureInput value. | ||
*/ | ||
public Boolean secureInput() { | ||
return this.secureInput; | ||
} | ||
|
||
/** | ||
* Set the secureInput property: When set to true, Input from activity is considered as secure and will not be | ||
* logged to monitoring. | ||
* | ||
* @param secureInput the secureInput value to set. | ||
* @return the ExecutePipelineActivityPolicy object itself. | ||
*/ | ||
public ExecutePipelineActivityPolicy withSecureInput(Boolean secureInput) { | ||
this.secureInput = secureInput; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the additionalProperties property: Execution policy for an execute pipeline activity. | ||
* | ||
* @return the additionalProperties value. | ||
*/ | ||
@JsonAnyGetter | ||
public Map<String, Object> additionalProperties() { | ||
return this.additionalProperties; | ||
} | ||
|
||
/** | ||
* Set the additionalProperties property: Execution policy for an execute pipeline activity. | ||
* | ||
* @param additionalProperties the additionalProperties value to set. | ||
* @return the ExecutePipelineActivityPolicy object itself. | ||
*/ | ||
public ExecutePipelineActivityPolicy withAdditionalProperties(Map<String, Object> additionalProperties) { | ||
this.additionalProperties = additionalProperties; | ||
return this; | ||
} | ||
|
||
@JsonAnySetter | ||
void withAdditionalProperties(String key, Object value) { | ||
if (additionalProperties == null) { | ||
additionalProperties = new HashMap<>(); | ||
} | ||
additionalProperties.put(key, value); | ||
} | ||
|
||
/** | ||
* Validates the instance. | ||
* | ||
* @throws IllegalArgumentException thrown if the instance is not valid. | ||
*/ | ||
public void validate() { | ||
} | ||
} |
Oops, something went wrong.