From 365c57522f878ab76d20528cf079ee576e385c2e Mon Sep 17 00:00:00 2001 From: "Bo Wang (Shanghai Wicresoft Co Ltd)" Date: Fri, 28 Nov 2025 03:44:08 +0000 Subject: [PATCH] New release of Azure data factory SDK: Version 1.11.0 --- .../CHANGELOG.md | 11 + ...zure.ResourceManager.DataFactory.net8.0.cs | 102 +++++++- ...ourceManager.DataFactory.netstandard2.0.cs | 102 +++++++- .../Azure.ResourceManager.DataFactory.csproj | 2 +- .../Generated/ArmDataFactoryModelFactory.cs | 31 ++- .../DataFactoryIntegrationRuntimeResource.cs | 164 ++++++++++++ ...actoryIntegrationRuntimeOperationSource.cs | 36 +++ .../AzureResourceManagerDataFactoryContext.cs | 3 + ...DataFactoryScriptActivity.Serialization.cs | 18 +- .../Models/DataFactoryScriptActivity.cs | 6 +- ...leInteractiveQueryContent.Serialization.cs | 133 ++++++++++ .../Models/EnableInteractiveQueryContent.cs | 65 +++++ ...dClusterResourceGroupAuthenticationType.cs | 54 ++++ ...ightOnDemandLinkedService.Serialization.cs | 16 ++ .../Models/HDInsightOnDemandLinkedService.cs | 6 +- .../Models/InteractiveCapabilityStatus.cs | 57 +++++ ...nteractiveQueryProperties.Serialization.cs | 148 +++++++++++ .../Models/InteractiveQueryProperties.cs | 69 ++++++ .../Models/JiraObjectDataset.Serialization.cs | 34 ++- .../src/Generated/Models/JiraObjectDataset.cs | 14 +- .../Models/LookupActivity.Serialization.cs | 18 +- .../src/Generated/Models/LookupActivity.cs | 6 +- ...ManagedIntegrationRuntime.Serialization.cs | 18 +- .../Models/ManagedIntegrationRuntime.cs | 7 +- .../NetezzaLinkedService.Serialization.cs | 80 ++++++ .../Generated/Models/NetezzaLinkedService.cs | 22 +- .../Models/NetezzaSecurityLevelType.cs | 51 ++++ .../SalesforceV2Source.Serialization.cs | 18 +- .../Generated/Models/SalesforceV2Source.cs | 6 +- .../SnowflakeV2LinkedService.Serialization.cs | 18 +- .../Models/SnowflakeV2LinkedService.cs | 6 +- .../IntegrationRuntimeRestOperations.cs | 234 ++++++++++++++++++ .../src/autorest.md | 3 +- ..._DataFactoryChangeDataCaptureCollection.cs | 8 +- ...le_DataFactoryChangeDataCaptureResource.cs | 10 +- .../Samples/Sample_DataFactoryCollection.cs | 10 +- .../Sample_DataFactoryDataFlowCollection.cs | 12 +- .../Sample_DataFactoryDataFlowResource.cs | 8 +- .../Sample_DataFactoryDatasetCollection.cs | 12 +- .../Sample_DataFactoryDatasetResource.cs | 8 +- ...le_DataFactoryGlobalParameterCollection.cs | 12 +- ...mple_DataFactoryGlobalParameterResource.cs | 8 +- ...DataFactoryIntegrationRuntimeCollection.cs | 10 +- ...e_DataFactoryIntegrationRuntimeResource.cs | 110 ++++++-- ...mple_DataFactoryLinkedServiceCollection.cs | 12 +- ...Sample_DataFactoryLinkedServiceResource.cs | 8 +- ...aFactoryManagedVirtualNetworkCollection.cs | 10 +- ...ataFactoryManagedVirtualNetworkResource.cs | 4 +- .../Sample_DataFactoryPipelineCollection.cs | 12 +- .../Sample_DataFactoryPipelineResource.cs | 10 +- ...le_DataFactoryPrivateEndpointCollection.cs | 10 +- ...toryPrivateEndpointConnectionCollection.cs | 10 +- ...actoryPrivateEndpointConnectionResource.cs | 6 +- ...mple_DataFactoryPrivateEndpointResource.cs | 6 +- .../Samples/Sample_DataFactoryResource.cs | 110 ++------ ..._DataFactoryServiceCredentialCollection.cs | 10 +- ...le_DataFactoryServiceCredentialResource.cs | 6 +- .../Sample_DataFactoryTriggerCollection.cs | 12 +- .../Sample_DataFactoryTriggerResource.cs | 22 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- 60 files changed, 1766 insertions(+), 254 deletions(-) create mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/LongRunningOperation/DataFactoryIntegrationRuntimeOperationSource.cs create mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EnableInteractiveQueryContent.Serialization.cs create mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EnableInteractiveQueryContent.cs create mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandClusterResourceGroupAuthenticationType.cs create mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveCapabilityStatus.cs create mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveQueryProperties.Serialization.cs create mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveQueryProperties.cs create mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaSecurityLevelType.cs create mode 100644 sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/IntegrationRuntimeRestOperations.cs diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/CHANGELOG.md b/sdk/datafactory/Azure.ResourceManager.DataFactory/CHANGELOG.md index 1a5d569c81a1..b379bcfc8410 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/CHANGELOG.md +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 1.11.0 (2025-12-01) + +### Features Added + +- Added Netezza V2 linked service and dataset definitions. +- Added Jira V2 connector support in Azure Data Factory. +- Added enable/disable Interactive Query management APIs. +- Added `clusterResourceGroupAuthType` to the HDInsight OnDemand linked service definition. +- Expanded Snowflake V2 options to cover additional data types. +- Added `partitionOption` property for the Salesforce V2 connector. + ## 1.10.0 (2025-09-03) ### Features Added diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.net8.0.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.net8.0.cs index a4ca8c1ffa0b..286b01ce844c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.net8.0.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.net8.0.cs @@ -318,6 +318,10 @@ protected DataFactoryIntegrationRuntimeResource() { } public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteIntegrationRuntimeNode(string nodeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteIntegrationRuntimeNodeAsync(string nodeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation DisableInteractiveQueryIntegrationRuntime(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> DisableInteractiveQueryIntegrationRuntimeAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation EnableInteractiveQueryIntegrationRuntime(Azure.WaitUntil waitUntil, Azure.ResourceManager.DataFactory.Models.EnableInteractiveQueryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> EnableInteractiveQueryIntegrationRuntimeAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DataFactory.Models.EnableInteractiveQueryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string ifNoneMatch = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetAllIntegrationRuntimeObjectMetadata(Azure.ResourceManager.DataFactory.Models.GetSsisObjectMetadataContent content = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetAllIntegrationRuntimeObjectMetadataAsync(Azure.ResourceManager.DataFactory.Models.GetSsisObjectMetadataContent content = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1382,8 +1386,11 @@ public static partial class ArmDataFactoryModelFactory public static Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeOutboundNetworkDependenciesEndpoint IntegrationRuntimeOutboundNetworkDependenciesEndpoint(string domainName = null, System.Collections.Generic.IEnumerable endpointDetails = null) { throw null; } public static Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails(int? port = default(int?)) { throw null; } public static Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeStatus IntegrationRuntimeStatus(string runtimeType = null, string dataFactoryName = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? state = default(Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState?), System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties InteractiveQueryProperties(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus? status = default(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus?), int? autoTerminationMinutes = default(int?)) { throw null; } public static Azure.ResourceManager.DataFactory.Models.LinkedIntegrationRuntime LinkedIntegrationRuntime(string name = null, string subscriptionId = null, string dataFactoryName = null, Azure.Core.AzureLocation? dataFactoryLocation = default(Azure.Core.AzureLocation?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?)) { throw null; } - public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntime ManagedIntegrationRuntime(string description = null, System.Collections.Generic.IDictionary additionalProperties = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? state = default(Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState?), Azure.ResourceManager.DataFactory.Models.ManagedVirtualNetworkReference managedVirtualNetwork = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeComputeProperties computeProperties = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeSsisProperties ssisProperties = null, Azure.Core.ResourceIdentifier customerVirtualNetworkSubnetId = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntime ManagedIntegrationRuntime(string description, System.Collections.Generic.IDictionary additionalProperties, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? state, Azure.ResourceManager.DataFactory.Models.ManagedVirtualNetworkReference managedVirtualNetwork, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeComputeProperties computeProperties, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeSsisProperties ssisProperties, Azure.Core.ResourceIdentifier customerVirtualNetworkSubnetId) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntime ManagedIntegrationRuntime(string description = null, System.Collections.Generic.IDictionary additionalProperties = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? state = default(Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState?), Azure.ResourceManager.DataFactory.Models.ManagedVirtualNetworkReference managedVirtualNetwork = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeComputeProperties computeProperties = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeSsisProperties ssisProperties = null, Azure.Core.ResourceIdentifier customerVirtualNetworkSubnetId = null, Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties interactiveQuery = null) { throw null; } public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeError ManagedIntegrationRuntimeError(System.DateTimeOffset? time = default(System.DateTimeOffset?), string code = null, System.Collections.Generic.IEnumerable parameters = null, string message = null, System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeNode ManagedIntegrationRuntimeNode(string nodeId = null, Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeNodeStatus? status = default(Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeNodeStatus?), System.Collections.Generic.IEnumerable errors = null, System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeOperationResult ManagedIntegrationRuntimeOperationResult(string managedIntegrationRuntimeOperationResultType = null, System.DateTimeOffset? startOn = default(System.DateTimeOffset?), string result = null, string errorCode = null, System.Collections.Generic.IEnumerable parameters = null, string activityId = null, System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } @@ -4354,6 +4361,7 @@ public DataFactoryScriptActivity(string name) : base (default(string)) { } public Azure.Core.Expressions.DataFactory.DataFactoryElement ReturnMultistatementResult { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ScriptBlockExecutionTimeout { get { throw null; } set { } } public System.Collections.Generic.IList Scripts { get { throw null; } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement TreatDecimalAsString { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.DataFactoryScriptActivity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -5457,6 +5465,17 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public partial class EnableInteractiveQueryContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public EnableInteractiveQueryContent() { } + public int? AutoTerminationMinutes { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.EnableInteractiveQueryContent System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.EnableInteractiveQueryContent System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class EntityParameterSpecification : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public EntityParameterSpecification(Azure.ResourceManager.DataFactory.Models.EntityParameterType parameterType) { } @@ -6590,6 +6609,25 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct HDInsightOnDemandClusterResourceGroupAuthenticationType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public HDInsightOnDemandClusterResourceGroupAuthenticationType(string value) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType ServicePrincipalKey { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType SystemAssignedManagedIdentity { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType UserAssignedManagedIdentity { get { throw null; } } + public bool Equals(Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType left, Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType right) { throw null; } + public static implicit operator Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType left, Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType right) { throw null; } + public override string ToString() { throw null; } + } public partial class HDInsightOnDemandLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public HDInsightOnDemandLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement clusterSize, Azure.Core.Expressions.DataFactory.DataFactoryElement timeToLiveExpression, Azure.Core.Expressions.DataFactory.DataFactoryElement version, Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference linkedServiceName, Azure.Core.Expressions.DataFactory.DataFactoryElement hostSubscriptionId, Azure.Core.Expressions.DataFactory.DataFactoryElement tenant, Azure.Core.Expressions.DataFactory.DataFactoryElement clusterResourceGroup) { } @@ -6597,6 +6635,7 @@ public HDInsightOnDemandLinkedService(Azure.Core.Expressions.DataFactory.DataFac public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterNamePrefix { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret ClusterPassword { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterResourceGroup { get { throw null; } set { } } + public Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType? ClusterResourceGroupAuthType { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterSize { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret ClusterSshPassword { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterSshUserName { get { throw null; } set { } } @@ -7539,6 +7578,38 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct InteractiveCapabilityStatus : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public InteractiveCapabilityStatus(string value) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus Disabled { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus Disabling { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus Enabled { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus Enabling { get { throw null; } } + public bool Equals(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus left, Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus right) { throw null; } + public static implicit operator Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus left, Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus right) { throw null; } + public override string ToString() { throw null; } + } + public partial class InteractiveQueryProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public InteractiveQueryProperties() { } + public int? AutoTerminationMinutes { get { throw null; } } + public Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus? Status { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class JiraLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public JiraLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement host, Azure.Core.Expressions.DataFactory.DataFactoryElement username) { } @@ -7560,6 +7631,8 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write public partial class JiraObjectDataset : Azure.ResourceManager.DataFactory.Models.DataFactoryDatasetProperties, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public JiraObjectDataset(Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference linkedServiceName) : base (default(Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference)) { } + public Azure.Core.Expressions.DataFactory.DataFactoryElement SchemaTypePropertiesSchema { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Table { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TableName { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.JiraObjectDataset System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -7848,6 +7921,7 @@ public LookupActivity(string name, Azure.ResourceManager.DataFactory.Models.Copy public Azure.ResourceManager.DataFactory.Models.DatasetReference Dataset { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement FirstRowOnly { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.CopyActivitySource Source { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement TreatDecimalAsString { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.LookupActivity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -7898,6 +7972,7 @@ public partial class ManagedIntegrationRuntime : Azure.ResourceManager.DataFacto public ManagedIntegrationRuntime() { } public Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeComputeProperties ComputeProperties { get { throw null; } set { } } public Azure.Core.ResourceIdentifier CustomerVirtualNetworkSubnetId { get { throw null; } set { } } + public Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties InteractiveQuery { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.ManagedVirtualNetworkReference ManagedVirtualNetwork { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeSsisProperties SsisProperties { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? State { get { throw null; } } @@ -8585,8 +8660,13 @@ public partial class NetezzaLinkedService : Azure.ResourceManager.DataFactory.Mo { public NetezzaLinkedService() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement ConnectionString { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Database { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryKeyVaultSecret Password { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Port { get { throw null; } set { } } + public Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType? SecurityLevel { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Server { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Uid { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.NetezzaLinkedService System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -8607,6 +8687,24 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct NetezzaSecurityLevelType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NetezzaSecurityLevelType(string value) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType OnlyUnSecured { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType PreferredUnSecured { get { throw null; } } + public bool Equals(Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType left, Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType right) { throw null; } + public static implicit operator Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType left, Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType right) { throw null; } + public override string ToString() { throw null; } + } public partial class NetezzaSource : Azure.ResourceManager.DataFactory.Models.TabularSource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public NetezzaSource() { } @@ -10362,6 +10460,7 @@ public partial class SalesforceV2Source : Azure.ResourceManager.DataFactory.Mode public SalesforceV2Source() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement IncludeDeletedObjects { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement PageSize { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement PartitionOption { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Query { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement SoqlQuery { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -11445,6 +11544,7 @@ public SnowflakeV2LinkedService(Azure.Core.Expressions.DataFactory.DataFactoryEl public Azure.Core.Expressions.DataFactory.DataFactoryElement Scope { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TenantId { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement User { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement UseUtcTimestamps { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Warehouse { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.SnowflakeV2LinkedService System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.netstandard2.0.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.netstandard2.0.cs index a4ca8c1ffa0b..286b01ce844c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.netstandard2.0.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/api/Azure.ResourceManager.DataFactory.netstandard2.0.cs @@ -318,6 +318,10 @@ protected DataFactoryIntegrationRuntimeResource() { } public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteIntegrationRuntimeNode(string nodeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteIntegrationRuntimeNodeAsync(string nodeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation DisableInteractiveQueryIntegrationRuntime(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> DisableInteractiveQueryIntegrationRuntimeAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation EnableInteractiveQueryIntegrationRuntime(Azure.WaitUntil waitUntil, Azure.ResourceManager.DataFactory.Models.EnableInteractiveQueryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> EnableInteractiveQueryIntegrationRuntimeAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.DataFactory.Models.EnableInteractiveQueryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string ifNoneMatch = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetAllIntegrationRuntimeObjectMetadata(Azure.ResourceManager.DataFactory.Models.GetSsisObjectMetadataContent content = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetAllIntegrationRuntimeObjectMetadataAsync(Azure.ResourceManager.DataFactory.Models.GetSsisObjectMetadataContent content = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -1382,8 +1386,11 @@ public static partial class ArmDataFactoryModelFactory public static Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeOutboundNetworkDependenciesEndpoint IntegrationRuntimeOutboundNetworkDependenciesEndpoint(string domainName = null, System.Collections.Generic.IEnumerable endpointDetails = null) { throw null; } public static Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails(int? port = default(int?)) { throw null; } public static Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeStatus IntegrationRuntimeStatus(string runtimeType = null, string dataFactoryName = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? state = default(Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState?), System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties InteractiveQueryProperties(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus? status = default(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus?), int? autoTerminationMinutes = default(int?)) { throw null; } public static Azure.ResourceManager.DataFactory.Models.LinkedIntegrationRuntime LinkedIntegrationRuntime(string name = null, string subscriptionId = null, string dataFactoryName = null, Azure.Core.AzureLocation? dataFactoryLocation = default(Azure.Core.AzureLocation?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?)) { throw null; } - public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntime ManagedIntegrationRuntime(string description = null, System.Collections.Generic.IDictionary additionalProperties = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? state = default(Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState?), Azure.ResourceManager.DataFactory.Models.ManagedVirtualNetworkReference managedVirtualNetwork = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeComputeProperties computeProperties = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeSsisProperties ssisProperties = null, Azure.Core.ResourceIdentifier customerVirtualNetworkSubnetId = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntime ManagedIntegrationRuntime(string description, System.Collections.Generic.IDictionary additionalProperties, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? state, Azure.ResourceManager.DataFactory.Models.ManagedVirtualNetworkReference managedVirtualNetwork, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeComputeProperties computeProperties, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeSsisProperties ssisProperties, Azure.Core.ResourceIdentifier customerVirtualNetworkSubnetId) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntime ManagedIntegrationRuntime(string description = null, System.Collections.Generic.IDictionary additionalProperties = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? state = default(Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState?), Azure.ResourceManager.DataFactory.Models.ManagedVirtualNetworkReference managedVirtualNetwork = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeComputeProperties computeProperties = null, Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeSsisProperties ssisProperties = null, Azure.Core.ResourceIdentifier customerVirtualNetworkSubnetId = null, Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties interactiveQuery = null) { throw null; } public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeError ManagedIntegrationRuntimeError(System.DateTimeOffset? time = default(System.DateTimeOffset?), string code = null, System.Collections.Generic.IEnumerable parameters = null, string message = null, System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeNode ManagedIntegrationRuntimeNode(string nodeId = null, Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeNodeStatus? status = default(Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeNodeStatus?), System.Collections.Generic.IEnumerable errors = null, System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } public static Azure.ResourceManager.DataFactory.Models.ManagedIntegrationRuntimeOperationResult ManagedIntegrationRuntimeOperationResult(string managedIntegrationRuntimeOperationResultType = null, System.DateTimeOffset? startOn = default(System.DateTimeOffset?), string result = null, string errorCode = null, System.Collections.Generic.IEnumerable parameters = null, string activityId = null, System.Collections.Generic.IReadOnlyDictionary additionalProperties = null) { throw null; } @@ -4354,6 +4361,7 @@ public DataFactoryScriptActivity(string name) : base (default(string)) { } public Azure.Core.Expressions.DataFactory.DataFactoryElement ReturnMultistatementResult { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ScriptBlockExecutionTimeout { get { throw null; } set { } } public System.Collections.Generic.IList Scripts { get { throw null; } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement TreatDecimalAsString { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.DataFactoryScriptActivity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -5457,6 +5465,17 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + public partial class EnableInteractiveQueryContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public EnableInteractiveQueryContent() { } + public int? AutoTerminationMinutes { get { throw null; } set { } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.EnableInteractiveQueryContent System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.EnableInteractiveQueryContent System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class EntityParameterSpecification : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public EntityParameterSpecification(Azure.ResourceManager.DataFactory.Models.EntityParameterType parameterType) { } @@ -6590,6 +6609,25 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct HDInsightOnDemandClusterResourceGroupAuthenticationType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public HDInsightOnDemandClusterResourceGroupAuthenticationType(string value) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType ServicePrincipalKey { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType SystemAssignedManagedIdentity { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType UserAssignedManagedIdentity { get { throw null; } } + public bool Equals(Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType left, Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType right) { throw null; } + public static implicit operator Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType left, Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType right) { throw null; } + public override string ToString() { throw null; } + } public partial class HDInsightOnDemandLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public HDInsightOnDemandLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement clusterSize, Azure.Core.Expressions.DataFactory.DataFactoryElement timeToLiveExpression, Azure.Core.Expressions.DataFactory.DataFactoryElement version, Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference linkedServiceName, Azure.Core.Expressions.DataFactory.DataFactoryElement hostSubscriptionId, Azure.Core.Expressions.DataFactory.DataFactoryElement tenant, Azure.Core.Expressions.DataFactory.DataFactoryElement clusterResourceGroup) { } @@ -6597,6 +6635,7 @@ public HDInsightOnDemandLinkedService(Azure.Core.Expressions.DataFactory.DataFac public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterNamePrefix { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret ClusterPassword { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterResourceGroup { get { throw null; } set { } } + public Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandClusterResourceGroupAuthenticationType? ClusterResourceGroupAuthType { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterSize { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactorySecret ClusterSshPassword { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement ClusterSshUserName { get { throw null; } set { } } @@ -7539,6 +7578,38 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct InteractiveCapabilityStatus : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public InteractiveCapabilityStatus(string value) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus Disabled { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus Disabling { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus Enabled { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus Enabling { get { throw null; } } + public bool Equals(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus left, Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus right) { throw null; } + public static implicit operator Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus left, Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus right) { throw null; } + public override string ToString() { throw null; } + } + public partial class InteractiveQueryProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public InteractiveQueryProperties() { } + public int? AutoTerminationMinutes { get { throw null; } } + public Azure.ResourceManager.DataFactory.Models.InteractiveCapabilityStatus? Status { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + } public partial class JiraLinkedService : Azure.ResourceManager.DataFactory.Models.DataFactoryLinkedServiceProperties, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public JiraLinkedService(Azure.Core.Expressions.DataFactory.DataFactoryElement host, Azure.Core.Expressions.DataFactory.DataFactoryElement username) { } @@ -7560,6 +7631,8 @@ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter write public partial class JiraObjectDataset : Azure.ResourceManager.DataFactory.Models.DataFactoryDatasetProperties, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public JiraObjectDataset(Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference linkedServiceName) : base (default(Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference)) { } + public Azure.Core.Expressions.DataFactory.DataFactoryElement SchemaTypePropertiesSchema { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Table { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TableName { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.JiraObjectDataset System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -7848,6 +7921,7 @@ public LookupActivity(string name, Azure.ResourceManager.DataFactory.Models.Copy public Azure.ResourceManager.DataFactory.Models.DatasetReference Dataset { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement FirstRowOnly { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.CopyActivitySource Source { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement TreatDecimalAsString { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.LookupActivity System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -7898,6 +7972,7 @@ public partial class ManagedIntegrationRuntime : Azure.ResourceManager.DataFacto public ManagedIntegrationRuntime() { } public Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeComputeProperties ComputeProperties { get { throw null; } set { } } public Azure.Core.ResourceIdentifier CustomerVirtualNetworkSubnetId { get { throw null; } set { } } + public Azure.ResourceManager.DataFactory.Models.InteractiveQueryProperties InteractiveQuery { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.ManagedVirtualNetworkReference ManagedVirtualNetwork { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeSsisProperties SsisProperties { get { throw null; } set { } } public Azure.ResourceManager.DataFactory.Models.IntegrationRuntimeState? State { get { throw null; } } @@ -8585,8 +8660,13 @@ public partial class NetezzaLinkedService : Azure.ResourceManager.DataFactory.Mo { public NetezzaLinkedService() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement ConnectionString { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Database { get { throw null; } set { } } public string EncryptedCredential { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryKeyVaultSecret Password { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Port { get { throw null; } set { } } + public Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType? SecurityLevel { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Server { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement Uid { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.NetezzaLinkedService System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -8607,6 +8687,24 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct NetezzaSecurityLevelType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public NetezzaSecurityLevelType(string value) { throw null; } + public static Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType OnlyUnSecured { get { throw null; } } + public static Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType PreferredUnSecured { get { throw null; } } + public bool Equals(Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType left, Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType right) { throw null; } + public static implicit operator Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType left, Azure.ResourceManager.DataFactory.Models.NetezzaSecurityLevelType right) { throw null; } + public override string ToString() { throw null; } + } public partial class NetezzaSource : Azure.ResourceManager.DataFactory.Models.TabularSource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public NetezzaSource() { } @@ -10362,6 +10460,7 @@ public partial class SalesforceV2Source : Azure.ResourceManager.DataFactory.Mode public SalesforceV2Source() { } public Azure.Core.Expressions.DataFactory.DataFactoryElement IncludeDeletedObjects { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement PageSize { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement PartitionOption { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Query { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement SoqlQuery { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -11445,6 +11544,7 @@ public SnowflakeV2LinkedService(Azure.Core.Expressions.DataFactory.DataFactoryEl public Azure.Core.Expressions.DataFactory.DataFactoryElement Scope { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement TenantId { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement User { get { throw null; } set { } } + public Azure.Core.Expressions.DataFactory.DataFactoryElement UseUtcTimestamps { get { throw null; } set { } } public Azure.Core.Expressions.DataFactory.DataFactoryElement Warehouse { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.DataFactory.Models.SnowflakeV2LinkedService System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Azure.ResourceManager.DataFactory.csproj b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Azure.ResourceManager.DataFactory.csproj index dd8126fac912..bcbbfd929b76 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Azure.ResourceManager.DataFactory.csproj +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Azure.ResourceManager.DataFactory.csproj @@ -1,6 +1,6 @@ - 1.10.0 + 1.11.0 1.9.0 Azure.ResourceManager.DataFactory diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/ArmDataFactoryModelFactory.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/ArmDataFactoryModelFactory.cs index 0bcbfd554f73..99a7644b0250 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/ArmDataFactoryModelFactory.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/ArmDataFactoryModelFactory.cs @@ -7,6 +7,7 @@ using System; using System.Collections.Generic; +using System.ComponentModel; using System.Linq; using System.Net; using Azure.Core; @@ -1049,8 +1050,9 @@ public static DataFactoryChangeDataCaptureData DataFactoryChangeDataCaptureData( /// The compute resource for managed integration runtime. /// SSIS properties for managed integration runtime. /// The name of virtual network to which Azure-SSIS integration runtime will join. + /// Interactive authoring capability reference. /// A new instance for mocking. - public static ManagedIntegrationRuntime ManagedIntegrationRuntime(string description = null, IDictionary additionalProperties = null, IntegrationRuntimeState? state = null, ManagedVirtualNetworkReference managedVirtualNetwork = null, IntegrationRuntimeComputeProperties computeProperties = null, IntegrationRuntimeSsisProperties ssisProperties = null, ResourceIdentifier customerVirtualNetworkSubnetId = null) + public static ManagedIntegrationRuntime ManagedIntegrationRuntime(string description = null, IDictionary additionalProperties = null, IntegrationRuntimeState? state = null, ManagedVirtualNetworkReference managedVirtualNetwork = null, IntegrationRuntimeComputeProperties computeProperties = null, IntegrationRuntimeSsisProperties ssisProperties = null, ResourceIdentifier customerVirtualNetworkSubnetId = null, InteractiveQueryProperties interactiveQuery = null) { additionalProperties ??= new Dictionary(); @@ -1062,7 +1064,17 @@ public static ManagedIntegrationRuntime ManagedIntegrationRuntime(string descrip managedVirtualNetwork, computeProperties, ssisProperties, - customerVirtualNetworkSubnetId != null ? new IntegrationRuntimeCustomerVirtualNetwork(customerVirtualNetworkSubnetId, serializedAdditionalRawData: null) : null); + customerVirtualNetworkSubnetId != null ? new IntegrationRuntimeCustomerVirtualNetwork(customerVirtualNetworkSubnetId, serializedAdditionalRawData: null) : null, + interactiveQuery); + } + + /// Initializes a new instance of . + /// The interactive authoring capability status. Must be one of InteractiveCapabilityStatus. The default value is 'Enabling'. + /// The allowed idle time for interactive authoring. + /// A new instance for mocking. + public static InteractiveQueryProperties InteractiveQueryProperties(InteractiveCapabilityStatus? status = null, int? autoTerminationMinutes = null) + { + return new InteractiveQueryProperties(status, autoTerminationMinutes, serializedAdditionalRawData: null); } /// Initializes a new instance of . @@ -1595,5 +1607,20 @@ public static ChainingTrigger ChainingTrigger(string description = null, DataFac dependsOn?.ToList(), runDimension); } + + /// Initializes a new instance of . + /// Integration runtime description. + /// Additional Properties. + /// Integration runtime state, only valid for managed dedicated integration runtime. + /// Managed Virtual Network reference. + /// The compute resource for managed integration runtime. + /// SSIS properties for managed integration runtime. + /// The name of virtual network to which Azure-SSIS integration runtime will join. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static ManagedIntegrationRuntime ManagedIntegrationRuntime(string description, IDictionary additionalProperties, IntegrationRuntimeState? state, ManagedVirtualNetworkReference managedVirtualNetwork, IntegrationRuntimeComputeProperties computeProperties, IntegrationRuntimeSsisProperties ssisProperties, ResourceIdentifier customerVirtualNetworkSubnetId) + { + return ManagedIntegrationRuntime(description: description, additionalProperties: additionalProperties, state: state, managedVirtualNetwork: managedVirtualNetwork, computeProperties: computeProperties, ssisProperties: ssisProperties, customerVirtualNetworkSubnetId: customerVirtualNetworkSubnetId, interactiveQuery: default); + } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/DataFactoryIntegrationRuntimeResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/DataFactoryIntegrationRuntimeResource.cs index a2451dc63c83..837e76132ac8 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/DataFactoryIntegrationRuntimeResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/DataFactoryIntegrationRuntimeResource.cs @@ -41,6 +41,8 @@ public static ResourceIdentifier CreateResourceIdentifier(string subscriptionId, private readonly IntegrationRuntimeObjectMetadataRestOperations _integrationRuntimeObjectMetadataRestClient; private readonly ClientDiagnostics _integrationRuntimeNodesClientDiagnostics; private readonly IntegrationRuntimeNodesRestOperations _integrationRuntimeNodesRestClient; + private readonly ClientDiagnostics _integrationRuntimeClientDiagnostics; + private readonly IntegrationRuntimeRestOperations _integrationRuntimeRestClient; private readonly DataFactoryIntegrationRuntimeData _data; /// Gets the resource type for the operations. @@ -72,6 +74,8 @@ internal DataFactoryIntegrationRuntimeResource(ArmClient client, ResourceIdentif _integrationRuntimeObjectMetadataRestClient = new IntegrationRuntimeObjectMetadataRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint); _integrationRuntimeNodesClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.DataFactory", ProviderConstants.DefaultProviderNamespace, Diagnostics); _integrationRuntimeNodesRestClient = new IntegrationRuntimeNodesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint); + _integrationRuntimeClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.DataFactory", ProviderConstants.DefaultProviderNamespace, Diagnostics); + _integrationRuntimeRestClient = new IntegrationRuntimeRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint); #if DEBUG ValidateResourceId(Id); #endif @@ -1729,5 +1733,165 @@ public virtual Response GetIPAddressIntegration throw; } } + + /// + /// Enable interactive authoring of Managed Virtual Network integration runtime. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery + /// + /// + /// Operation Id + /// IntegrationRuntime_EnableInteractiveQuery + /// + /// + /// Default Api Version + /// 2018-06-01 + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The enable interactive authoring integration runtime properties. + /// The cancellation token to use. + /// is null. + public virtual async Task> EnableInteractiveQueryIntegrationRuntimeAsync(WaitUntil waitUntil, EnableInteractiveQueryContent content, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = _integrationRuntimeClientDiagnostics.CreateScope("DataFactoryIntegrationRuntimeResource.EnableInteractiveQueryIntegrationRuntime"); + scope.Start(); + try + { + var response = await _integrationRuntimeRestClient.EnableInteractiveQueryAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, content, cancellationToken).ConfigureAwait(false); + var operation = new DataFactoryArmOperation(new DataFactoryIntegrationRuntimeOperationSource(Client), _integrationRuntimeClientDiagnostics, Pipeline, _integrationRuntimeRestClient.CreateEnableInteractiveQueryRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, content).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Enable interactive authoring of Managed Virtual Network integration runtime. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery + /// + /// + /// Operation Id + /// IntegrationRuntime_EnableInteractiveQuery + /// + /// + /// Default Api Version + /// 2018-06-01 + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The enable interactive authoring integration runtime properties. + /// The cancellation token to use. + /// is null. + public virtual ArmOperation EnableInteractiveQueryIntegrationRuntime(WaitUntil waitUntil, EnableInteractiveQueryContent content, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(content, nameof(content)); + + using var scope = _integrationRuntimeClientDiagnostics.CreateScope("DataFactoryIntegrationRuntimeResource.EnableInteractiveQueryIntegrationRuntime"); + scope.Start(); + try + { + var response = _integrationRuntimeRestClient.EnableInteractiveQuery(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, content, cancellationToken); + var operation = new DataFactoryArmOperation(new DataFactoryIntegrationRuntimeOperationSource(Client), _integrationRuntimeClientDiagnostics, Pipeline, _integrationRuntimeRestClient.CreateEnableInteractiveQueryRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, content).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletion(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Disable interactive authoring of Managed Virtual Network integration runtime. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery + /// + /// + /// Operation Id + /// IntegrationRuntime_DisableInteractiveQuery + /// + /// + /// Default Api Version + /// 2018-06-01 + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual async Task> DisableInteractiveQueryIntegrationRuntimeAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _integrationRuntimeClientDiagnostics.CreateScope("DataFactoryIntegrationRuntimeResource.DisableInteractiveQueryIntegrationRuntime"); + scope.Start(); + try + { + var response = await _integrationRuntimeRestClient.DisableInteractiveQueryAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false); + var operation = new DataFactoryArmOperation(new DataFactoryIntegrationRuntimeOperationSource(Client), _integrationRuntimeClientDiagnostics, Pipeline, _integrationRuntimeRestClient.CreateDisableInteractiveQueryRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Disable interactive authoring of Managed Virtual Network integration runtime. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery + /// + /// + /// Operation Id + /// IntegrationRuntime_DisableInteractiveQuery + /// + /// + /// Default Api Version + /// 2018-06-01 + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The cancellation token to use. + public virtual ArmOperation DisableInteractiveQueryIntegrationRuntime(WaitUntil waitUntil, CancellationToken cancellationToken = default) + { + using var scope = _integrationRuntimeClientDiagnostics.CreateScope("DataFactoryIntegrationRuntimeResource.DisableInteractiveQueryIntegrationRuntime"); + scope.Start(); + try + { + var response = _integrationRuntimeRestClient.DisableInteractiveQuery(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken); + var operation = new DataFactoryArmOperation(new DataFactoryIntegrationRuntimeOperationSource(Client), _integrationRuntimeClientDiagnostics, Pipeline, _integrationRuntimeRestClient.CreateDisableInteractiveQueryRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.AzureAsyncOperation); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletion(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/LongRunningOperation/DataFactoryIntegrationRuntimeOperationSource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/LongRunningOperation/DataFactoryIntegrationRuntimeOperationSource.cs new file mode 100644 index 000000000000..2c0843f33a3f --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/LongRunningOperation/DataFactoryIntegrationRuntimeOperationSource.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.ClientModel.Primitives; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; + +namespace Azure.ResourceManager.DataFactory +{ + internal class DataFactoryIntegrationRuntimeOperationSource : IOperationSource + { + private readonly ArmClient _client; + + internal DataFactoryIntegrationRuntimeOperationSource(ArmClient client) + { + _client = client; + } + + DataFactoryIntegrationRuntimeResource IOperationSource.CreateResult(Response response, CancellationToken cancellationToken) + { + var data = ModelReaderWriter.Read(response.Content, ModelReaderWriterOptions.Json, AzureResourceManagerDataFactoryContext.Default); + return new DataFactoryIntegrationRuntimeResource(_client, data); + } + + async ValueTask IOperationSource.CreateResultAsync(Response response, CancellationToken cancellationToken) + { + var data = ModelReaderWriter.Read(response.Content, ModelReaderWriterOptions.Json, AzureResourceManagerDataFactoryContext.Default); + return await Task.FromResult(new DataFactoryIntegrationRuntimeResource(_client, data)).ConfigureAwait(false); + } + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureResourceManagerDataFactoryContext.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureResourceManagerDataFactoryContext.cs index 0c6ce174f2c8..a70a96092d29 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureResourceManagerDataFactoryContext.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/AzureResourceManagerDataFactoryContext.cs @@ -337,6 +337,7 @@ namespace Azure.ResourceManager.DataFactory [ModelReaderWriterBuildable(typeof(EloquaLinkedService))] [ModelReaderWriterBuildable(typeof(EloquaObjectDataset))] [ModelReaderWriterBuildable(typeof(EloquaSource))] + [ModelReaderWriterBuildable(typeof(EnableInteractiveQueryContent))] [ModelReaderWriterBuildable(typeof(EntityParameterSpecification))] [ModelReaderWriterBuildable(typeof(EntityReference))] [ModelReaderWriterBuildable(typeof(EnvironmentVariableSetup))] @@ -450,6 +451,7 @@ namespace Azure.ResourceManager.DataFactory [ModelReaderWriterBuildable(typeof(IntegrationRuntimeSsisProperties))] [ModelReaderWriterBuildable(typeof(IntegrationRuntimeStatus))] [ModelReaderWriterBuildable(typeof(IntegrationRuntimeVnetProperties))] + [ModelReaderWriterBuildable(typeof(InteractiveQueryProperties))] [ModelReaderWriterBuildable(typeof(JiraLinkedService))] [ModelReaderWriterBuildable(typeof(JiraObjectDataset))] [ModelReaderWriterBuildable(typeof(JiraSource))] @@ -599,6 +601,7 @@ namespace Azure.ResourceManager.DataFactory [ModelReaderWriterBuildable(typeof(RelationalSource))] [ModelReaderWriterBuildable(typeof(RelationalTableDataset))] [ModelReaderWriterBuildable(typeof(RerunTumblingWindowTrigger))] + [ModelReaderWriterBuildable(typeof(ResponseError))] [ModelReaderWriterBuildable(typeof(ResponsysLinkedService))] [ModelReaderWriterBuildable(typeof(ResponsysObjectDataset))] [ModelReaderWriterBuildable(typeof(ResponsysSource))] diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryScriptActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryScriptActivity.Serialization.cs index bc2867c29850..0ed6949ace2d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryScriptActivity.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryScriptActivity.Serialization.cs @@ -63,6 +63,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("returnMultistatementResult"u8); JsonSerializer.Serialize(writer, ReturnMultistatementResult); } + if (Optional.IsDefined(TreatDecimalAsString)) + { + writer.WritePropertyName("treatDecimalAsString"u8); + JsonSerializer.Serialize(writer, TreatDecimalAsString); + } writer.WriteEndObject(); foreach (var item in AdditionalProperties) { @@ -111,6 +116,7 @@ internal static DataFactoryScriptActivity DeserializeDataFactoryScriptActivity(J IList scripts = default; ScriptActivityTypeLogSettings logSettings = default; DataFactoryElement returnMultistatementResult = default; + DataFactoryElement treatDecimalAsString = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -244,6 +250,15 @@ internal static DataFactoryScriptActivity DeserializeDataFactoryScriptActivity(J returnMultistatementResult = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("treatDecimalAsString"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + treatDecimalAsString = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } } continue; } @@ -264,7 +279,8 @@ internal static DataFactoryScriptActivity DeserializeDataFactoryScriptActivity(J scriptBlockExecutionTimeout, scripts ?? new ChangeTrackingList(), logSettings, - returnMultistatementResult); + returnMultistatementResult, + treatDecimalAsString); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryScriptActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryScriptActivity.cs index 2742a01c5f63..c944237f169d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryScriptActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/DataFactoryScriptActivity.cs @@ -40,12 +40,14 @@ public DataFactoryScriptActivity(string name) : base(name) /// Array of script blocks. Type: array. /// Log settings of script activity. /// Enable to retrieve result sets from multiple SQL statements and the number of rows affected by the DML statement. Supported connector: SnowflakeV2. Type: boolean (or Expression with resultType boolean). - internal DataFactoryScriptActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement scriptBlockExecutionTimeout, IList scripts, ScriptActivityTypeLogSettings logSettings, DataFactoryElement returnMultistatementResult) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + /// Indicates whether to treat decimal values as strings to avoid value overflow issue. This option is enabled for SnowflakeV2 connector only. Type: boolean (or Expression with resultType boolean). + internal DataFactoryScriptActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, DataFactoryElement scriptBlockExecutionTimeout, IList scripts, ScriptActivityTypeLogSettings logSettings, DataFactoryElement returnMultistatementResult, DataFactoryElement treatDecimalAsString) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { ScriptBlockExecutionTimeout = scriptBlockExecutionTimeout; Scripts = scripts; LogSettings = logSettings; ReturnMultistatementResult = returnMultistatementResult; + TreatDecimalAsString = treatDecimalAsString; ActivityType = activityType ?? "Script"; } @@ -62,5 +64,7 @@ internal DataFactoryScriptActivity() public ScriptActivityTypeLogSettings LogSettings { get; set; } /// Enable to retrieve result sets from multiple SQL statements and the number of rows affected by the DML statement. Supported connector: SnowflakeV2. Type: boolean (or Expression with resultType boolean). public DataFactoryElement ReturnMultistatementResult { get; set; } + /// Indicates whether to treat decimal values as strings to avoid value overflow issue. This option is enabled for SnowflakeV2 connector only. Type: boolean (or Expression with resultType boolean). + public DataFactoryElement TreatDecimalAsString { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EnableInteractiveQueryContent.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EnableInteractiveQueryContent.Serialization.cs new file mode 100644 index 000000000000..5db96610317f --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EnableInteractiveQueryContent.Serialization.cs @@ -0,0 +1,133 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DataFactory.Models +{ + public partial class EnableInteractiveQueryContent : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(EnableInteractiveQueryContent)} does not support writing '{format}' format."); + } + + if (Optional.IsDefined(AutoTerminationMinutes)) + { + writer.WritePropertyName("autoTerminationMinutes"u8); + writer.WriteNumberValue(AutoTerminationMinutes.Value); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + EnableInteractiveQueryContent IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(EnableInteractiveQueryContent)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeEnableInteractiveQueryContent(document.RootElement, options); + } + + internal static EnableInteractiveQueryContent DeserializeEnableInteractiveQueryContent(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + int? autoTerminationMinutes = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("autoTerminationMinutes"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + autoTerminationMinutes = property.Value.GetInt32(); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new EnableInteractiveQueryContent(autoTerminationMinutes, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, AzureResourceManagerDataFactoryContext.Default); + default: + throw new FormatException($"The model {nameof(EnableInteractiveQueryContent)} does not support writing '{options.Format}' format."); + } + } + + EnableInteractiveQueryContent IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeEnableInteractiveQueryContent(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(EnableInteractiveQueryContent)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EnableInteractiveQueryContent.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EnableInteractiveQueryContent.cs new file mode 100644 index 000000000000..37b380d17747 --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/EnableInteractiveQueryContent.cs @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.DataFactory.Models +{ + /// The enable the interactive authoring information. + public partial class EnableInteractiveQueryContent + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public EnableInteractiveQueryContent() + { + } + + /// Initializes a new instance of . + /// The allowed idle time for interactive authoring. + /// Keeps track of any properties unknown to the library. + internal EnableInteractiveQueryContent(int? autoTerminationMinutes, IDictionary serializedAdditionalRawData) + { + AutoTerminationMinutes = autoTerminationMinutes; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The allowed idle time for interactive authoring. + public int? AutoTerminationMinutes { get; set; } + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandClusterResourceGroupAuthenticationType.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandClusterResourceGroupAuthenticationType.cs new file mode 100644 index 000000000000..df666215328d --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandClusterResourceGroupAuthenticationType.cs @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.DataFactory.Models +{ + /// HDInsight On-demand cluster resource group authentication type. + public readonly partial struct HDInsightOnDemandClusterResourceGroupAuthenticationType : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public HDInsightOnDemandClusterResourceGroupAuthenticationType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string ServicePrincipalKeyValue = "ServicePrincipalKey"; + private const string SystemAssignedManagedIdentityValue = "SystemAssignedManagedIdentity"; + private const string UserAssignedManagedIdentityValue = "UserAssignedManagedIdentity"; + + /// ServicePrincipalKey. + public static HDInsightOnDemandClusterResourceGroupAuthenticationType ServicePrincipalKey { get; } = new HDInsightOnDemandClusterResourceGroupAuthenticationType(ServicePrincipalKeyValue); + /// SystemAssignedManagedIdentity. + public static HDInsightOnDemandClusterResourceGroupAuthenticationType SystemAssignedManagedIdentity { get; } = new HDInsightOnDemandClusterResourceGroupAuthenticationType(SystemAssignedManagedIdentityValue); + /// UserAssignedManagedIdentity. + public static HDInsightOnDemandClusterResourceGroupAuthenticationType UserAssignedManagedIdentity { get; } = new HDInsightOnDemandClusterResourceGroupAuthenticationType(UserAssignedManagedIdentityValue); + /// Determines if two values are the same. + public static bool operator ==(HDInsightOnDemandClusterResourceGroupAuthenticationType left, HDInsightOnDemandClusterResourceGroupAuthenticationType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(HDInsightOnDemandClusterResourceGroupAuthenticationType left, HDInsightOnDemandClusterResourceGroupAuthenticationType right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator HDInsightOnDemandClusterResourceGroupAuthenticationType(string value) => new HDInsightOnDemandClusterResourceGroupAuthenticationType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is HDInsightOnDemandClusterResourceGroupAuthenticationType other && Equals(other); + /// + public bool Equals(HDInsightOnDemandClusterResourceGroupAuthenticationType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs index e2c515c97594..dd8ce5d9a70d 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.Serialization.cs @@ -62,6 +62,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri JsonSerializer.Serialize(writer, Tenant); writer.WritePropertyName("clusterResourceGroup"u8); JsonSerializer.Serialize(writer, ClusterResourceGroup); + if (Optional.IsDefined(ClusterResourceGroupAuthType)) + { + writer.WritePropertyName("clusterResourceGroupAuthType"u8); + writer.WriteStringValue(ClusterResourceGroupAuthType.Value.ToString()); + } if (Optional.IsDefined(ClusterNamePrefix)) { writer.WritePropertyName("clusterNamePrefix"u8); @@ -324,6 +329,7 @@ internal static HDInsightOnDemandLinkedService DeserializeHDInsightOnDemandLinke DataFactorySecret servicePrincipalKey = default; DataFactoryElement tenant = default; DataFactoryElement clusterResourceGroup = default; + HDInsightOnDemandClusterResourceGroupAuthenticationType? clusterResourceGroupAuthType = default; DataFactoryElement clusterNamePrefix = default; DataFactoryElement clusterUserName = default; DataFactorySecret clusterPassword = default; @@ -474,6 +480,15 @@ internal static HDInsightOnDemandLinkedService DeserializeHDInsightOnDemandLinke clusterResourceGroup = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("clusterResourceGroupAuthType"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + clusterResourceGroupAuthType = new HDInsightOnDemandClusterResourceGroupAuthenticationType(property0.Value.GetString()); + continue; + } if (property0.NameEquals("clusterNamePrefix"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -728,6 +743,7 @@ internal static HDInsightOnDemandLinkedService DeserializeHDInsightOnDemandLinke servicePrincipalKey, tenant, clusterResourceGroup, + clusterResourceGroupAuthType, clusterNamePrefix, clusterUserName, clusterPassword, diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.cs index d244e97d6002..9da3981c10cd 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/HDInsightOnDemandLinkedService.cs @@ -62,6 +62,7 @@ public HDInsightOnDemandLinkedService(DataFactoryElement clusterSize, DataF /// The key for the service principal id. /// The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string). /// The resource group where the cluster belongs. Type: string (or Expression with resultType string). + /// HDInsight On-demand cluster resource group authentication type. /// The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string). /// The username to access the cluster. Type: string (or Expression with resultType string). /// The password to access the cluster. @@ -87,7 +88,7 @@ public HDInsightOnDemandLinkedService(DataFactoryElement clusterSize, DataF /// The ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). /// The ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). /// The credential reference containing authentication information. - internal HDInsightOnDemandLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement clusterSize, DataFactoryElement timeToLiveExpression, DataFactoryElement version, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement hostSubscriptionId, DataFactoryElement servicePrincipalId, DataFactorySecret servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement clusterResourceGroup, DataFactoryElement clusterNamePrefix, DataFactoryElement clusterUserName, DataFactorySecret clusterPassword, DataFactoryElement clusterSshUserName, DataFactorySecret clusterSshPassword, IList additionalLinkedServiceNames, DataFactoryLinkedServiceReference hcatalogLinkedServiceName, DataFactoryElement clusterType, DataFactoryElement sparkVersion, BinaryData coreConfiguration, BinaryData hBaseConfiguration, BinaryData hdfsConfiguration, BinaryData hiveConfiguration, BinaryData mapReduceConfiguration, BinaryData oozieConfiguration, BinaryData stormConfiguration, BinaryData yarnConfiguration, string encryptedCredential, BinaryData headNodeSize, BinaryData dataNodeSize, BinaryData zookeeperNodeSize, IList scriptActions, DataFactoryElement virtualNetworkId, DataFactoryElement subnetName, DataFactoryCredentialReference credential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) + internal HDInsightOnDemandLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement clusterSize, DataFactoryElement timeToLiveExpression, DataFactoryElement version, DataFactoryLinkedServiceReference linkedServiceName, DataFactoryElement hostSubscriptionId, DataFactoryElement servicePrincipalId, DataFactorySecret servicePrincipalKey, DataFactoryElement tenant, DataFactoryElement clusterResourceGroup, HDInsightOnDemandClusterResourceGroupAuthenticationType? clusterResourceGroupAuthType, DataFactoryElement clusterNamePrefix, DataFactoryElement clusterUserName, DataFactorySecret clusterPassword, DataFactoryElement clusterSshUserName, DataFactorySecret clusterSshPassword, IList additionalLinkedServiceNames, DataFactoryLinkedServiceReference hcatalogLinkedServiceName, DataFactoryElement clusterType, DataFactoryElement sparkVersion, BinaryData coreConfiguration, BinaryData hBaseConfiguration, BinaryData hdfsConfiguration, BinaryData hiveConfiguration, BinaryData mapReduceConfiguration, BinaryData oozieConfiguration, BinaryData stormConfiguration, BinaryData yarnConfiguration, string encryptedCredential, BinaryData headNodeSize, BinaryData dataNodeSize, BinaryData zookeeperNodeSize, IList scriptActions, DataFactoryElement virtualNetworkId, DataFactoryElement subnetName, DataFactoryCredentialReference credential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) { ClusterSize = clusterSize; TimeToLiveExpression = timeToLiveExpression; @@ -98,6 +99,7 @@ internal HDInsightOnDemandLinkedService(string linkedServiceType, string linkedS ServicePrincipalKey = servicePrincipalKey; Tenant = tenant; ClusterResourceGroup = clusterResourceGroup; + ClusterResourceGroupAuthType = clusterResourceGroupAuthType; ClusterNamePrefix = clusterNamePrefix; ClusterUserName = clusterUserName; ClusterPassword = clusterPassword; @@ -149,6 +151,8 @@ internal HDInsightOnDemandLinkedService() public DataFactoryElement Tenant { get; set; } /// The resource group where the cluster belongs. Type: string (or Expression with resultType string). public DataFactoryElement ClusterResourceGroup { get; set; } + /// HDInsight On-demand cluster resource group authentication type. + public HDInsightOnDemandClusterResourceGroupAuthenticationType? ClusterResourceGroupAuthType { get; set; } /// The prefix of cluster name, postfix will be distinct with timestamp. Type: string (or Expression with resultType string). public DataFactoryElement ClusterNamePrefix { get; set; } /// The username to access the cluster. Type: string (or Expression with resultType string). diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveCapabilityStatus.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveCapabilityStatus.cs new file mode 100644 index 000000000000..70539e9c694b --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveCapabilityStatus.cs @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.DataFactory.Models +{ + /// The interactive authoring capability status. Must be one of InteractiveCapabilityStatus. The default value is 'Enabling'. + public readonly partial struct InteractiveCapabilityStatus : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public InteractiveCapabilityStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string EnablingValue = "Enabling"; + private const string EnabledValue = "Enabled"; + private const string DisablingValue = "Disabling"; + private const string DisabledValue = "Disabled"; + + /// Enabling. + public static InteractiveCapabilityStatus Enabling { get; } = new InteractiveCapabilityStatus(EnablingValue); + /// Enabled. + public static InteractiveCapabilityStatus Enabled { get; } = new InteractiveCapabilityStatus(EnabledValue); + /// Disabling. + public static InteractiveCapabilityStatus Disabling { get; } = new InteractiveCapabilityStatus(DisablingValue); + /// Disabled. + public static InteractiveCapabilityStatus Disabled { get; } = new InteractiveCapabilityStatus(DisabledValue); + /// Determines if two values are the same. + public static bool operator ==(InteractiveCapabilityStatus left, InteractiveCapabilityStatus right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(InteractiveCapabilityStatus left, InteractiveCapabilityStatus right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator InteractiveCapabilityStatus(string value) => new InteractiveCapabilityStatus(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is InteractiveCapabilityStatus other && Equals(other); + /// + public bool Equals(InteractiveCapabilityStatus other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveQueryProperties.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveQueryProperties.Serialization.cs new file mode 100644 index 000000000000..138ae6343574 --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveQueryProperties.Serialization.cs @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.DataFactory.Models +{ + public partial class InteractiveQueryProperties : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InteractiveQueryProperties)} does not support writing '{format}' format."); + } + + if (options.Format != "W" && Optional.IsDefined(Status)) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.Value.ToString()); + } + if (options.Format != "W" && Optional.IsDefined(AutoTerminationMinutes)) + { + writer.WritePropertyName("autoTerminationMinutes"u8); + writer.WriteNumberValue(AutoTerminationMinutes.Value); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + InteractiveQueryProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(InteractiveQueryProperties)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeInteractiveQueryProperties(document.RootElement, options); + } + + internal static InteractiveQueryProperties DeserializeInteractiveQueryProperties(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + InteractiveCapabilityStatus? status = default; + int? autoTerminationMinutes = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("status"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + status = new InteractiveCapabilityStatus(property.Value.GetString()); + continue; + } + if (property.NameEquals("autoTerminationMinutes"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + autoTerminationMinutes = property.Value.GetInt32(); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new InteractiveQueryProperties(status, autoTerminationMinutes, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, AzureResourceManagerDataFactoryContext.Default); + default: + throw new FormatException($"The model {nameof(InteractiveQueryProperties)} does not support writing '{options.Format}' format."); + } + } + + InteractiveQueryProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeInteractiveQueryProperties(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(InteractiveQueryProperties)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveQueryProperties.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveQueryProperties.cs new file mode 100644 index 000000000000..09d44a8d83e3 --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/InteractiveQueryProperties.cs @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.ResourceManager.DataFactory.Models +{ + /// Interactive authoring capability type properties. + public partial class InteractiveQueryProperties + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public InteractiveQueryProperties() + { + } + + /// Initializes a new instance of . + /// The interactive authoring capability status. Must be one of InteractiveCapabilityStatus. The default value is 'Enabling'. + /// The allowed idle time for interactive authoring. + /// Keeps track of any properties unknown to the library. + internal InteractiveQueryProperties(InteractiveCapabilityStatus? status, int? autoTerminationMinutes, IDictionary serializedAdditionalRawData) + { + Status = status; + AutoTerminationMinutes = autoTerminationMinutes; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The interactive authoring capability status. Must be one of InteractiveCapabilityStatus. The default value is 'Enabling'. + public InteractiveCapabilityStatus? Status { get; } + /// The allowed idle time for interactive authoring. + public int? AutoTerminationMinutes { get; } + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.Serialization.cs index 1cbf597e4ede..e3c731e154cb 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.Serialization.cs @@ -43,6 +43,16 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("tableName"u8); JsonSerializer.Serialize(writer, TableName); } + if (Optional.IsDefined(SchemaTypePropertiesSchema)) + { + writer.WritePropertyName("schema"u8); + JsonSerializer.Serialize(writer, SchemaTypePropertiesSchema); + } + if (Optional.IsDefined(Table)) + { + writer.WritePropertyName("table"u8); + JsonSerializer.Serialize(writer, Table); + } writer.WriteEndObject(); foreach (var item in AdditionalProperties) { @@ -87,6 +97,8 @@ internal static JiraObjectDataset DeserializeJiraObjectDataset(JsonElement eleme IList annotations = default; DatasetFolder folder = default; DataFactoryElement tableName = default; + DataFactoryElement schema0 = default; + DataFactoryElement table = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -186,6 +198,24 @@ internal static JiraObjectDataset DeserializeJiraObjectDataset(JsonElement eleme tableName = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("schema"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + schema0 = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("table"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + table = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } } continue; } @@ -202,7 +232,9 @@ internal static JiraObjectDataset DeserializeJiraObjectDataset(JsonElement eleme annotations ?? new ChangeTrackingList(), folder, additionalProperties, - tableName); + tableName, + schema0, + table); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.cs index c1a8bf214e49..def648d3775a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/JiraObjectDataset.cs @@ -34,10 +34,14 @@ public JiraObjectDataset(DataFactoryLinkedServiceReference linkedServiceName) : /// List of tags that can be used for describing the Dataset. /// The folder that this Dataset is in. If not specified, Dataset will appear at the root level. /// Additional Properties. - /// The table name. Type: string (or Expression with resultType string). - internal JiraObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) + /// This property is only supported in Jira V1 Dataset, please consider upgrading to V2 dataset. + /// The schema name of the Jira, applies only for Jira V2 dataset. Type: string (or Expression with resultType string). + /// The table name of the Jira, applies only for Jira V2 dataset. Type: string (or Expression with resultType string). + internal JiraObjectDataset(string datasetType, string description, DataFactoryElement> structure, DataFactoryElement> schema, DataFactoryLinkedServiceReference linkedServiceName, IDictionary parameters, IList annotations, DatasetFolder folder, IDictionary additionalProperties, DataFactoryElement tableName, DataFactoryElement schemaTypePropertiesSchema, DataFactoryElement table) : base(datasetType, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties) { TableName = tableName; + SchemaTypePropertiesSchema = schemaTypePropertiesSchema; + Table = table; DatasetType = datasetType ?? "JiraObject"; } @@ -46,7 +50,11 @@ internal JiraObjectDataset() { } - /// The table name. Type: string (or Expression with resultType string). + /// This property is only supported in Jira V1 Dataset, please consider upgrading to V2 dataset. public DataFactoryElement TableName { get; set; } + /// The schema name of the Jira, applies only for Jira V2 dataset. Type: string (or Expression with resultType string). + public DataFactoryElement SchemaTypePropertiesSchema { get; set; } + /// The table name of the Jira, applies only for Jira V2 dataset. Type: string (or Expression with resultType string). + public DataFactoryElement Table { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LookupActivity.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LookupActivity.Serialization.cs index 1cb70f855569..182680b21ec3 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LookupActivity.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LookupActivity.Serialization.cs @@ -47,6 +47,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("firstRowOnly"u8); JsonSerializer.Serialize(writer, FirstRowOnly); } + if (Optional.IsDefined(TreatDecimalAsString)) + { + writer.WritePropertyName("treatDecimalAsString"u8); + JsonSerializer.Serialize(writer, TreatDecimalAsString); + } writer.WriteEndObject(); foreach (var item in AdditionalProperties) { @@ -94,6 +99,7 @@ internal static LookupActivity DeserializeLookupActivity(JsonElement element, Mo CopyActivitySource source = default; DatasetReference dataset = default; DataFactoryElement firstRowOnly = default; + DataFactoryElement treatDecimalAsString = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -205,6 +211,15 @@ internal static LookupActivity DeserializeLookupActivity(JsonElement element, Mo firstRowOnly = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("treatDecimalAsString"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + treatDecimalAsString = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } } continue; } @@ -224,7 +239,8 @@ internal static LookupActivity DeserializeLookupActivity(JsonElement element, Mo policy, source, dataset, - firstRowOnly); + firstRowOnly, + treatDecimalAsString); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LookupActivity.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LookupActivity.cs index 9e07ae066b33..a037a876d362 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LookupActivity.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/LookupActivity.cs @@ -52,11 +52,13 @@ public LookupActivity(string name, CopyActivitySource source, DatasetReference d /// /// Lookup activity dataset reference. /// Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). - internal LookupActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, CopyActivitySource source, DatasetReference dataset, DataFactoryElement firstRowOnly) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) + /// Indicates whether to treat decimal values as strings to avoid value overflow issue. This option is enabled for SnowflakeV2 connector only. Type: boolean (or Expression with resultType boolean). + internal LookupActivity(string name, string activityType, string description, PipelineActivityState? state, ActivityOnInactiveMarkAs? onInactiveMarkAs, IList dependsOn, IList userProperties, IDictionary additionalProperties, DataFactoryLinkedServiceReference linkedServiceName, PipelineActivityPolicy policy, CopyActivitySource source, DatasetReference dataset, DataFactoryElement firstRowOnly, DataFactoryElement treatDecimalAsString) : base(name, activityType, description, state, onInactiveMarkAs, dependsOn, userProperties, additionalProperties, linkedServiceName, policy) { Source = source; Dataset = dataset; FirstRowOnly = firstRowOnly; + TreatDecimalAsString = treatDecimalAsString; ActivityType = activityType ?? "Lookup"; } @@ -75,5 +77,7 @@ internal LookupActivity() public DatasetReference Dataset { get; set; } /// Whether to return first row or all rows. Default value is true. Type: boolean (or Expression with resultType boolean). public DataFactoryElement FirstRowOnly { get; set; } + /// Indicates whether to treat decimal values as strings to avoid value overflow issue. This option is enabled for SnowflakeV2 connector only. Type: boolean (or Expression with resultType boolean). + public DataFactoryElement TreatDecimalAsString { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ManagedIntegrationRuntime.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ManagedIntegrationRuntime.Serialization.cs index 53c127af4105..58d799464852 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ManagedIntegrationRuntime.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ManagedIntegrationRuntime.Serialization.cs @@ -62,6 +62,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("customerVirtualNetwork"u8); writer.WriteObjectValue(CustomerVirtualNetwork, options); } + if (Optional.IsDefined(InteractiveQuery)) + { + writer.WritePropertyName("interactiveQuery"u8); + writer.WriteObjectValue(InteractiveQuery, options); + } writer.WriteEndObject(); foreach (var item in AdditionalProperties) { @@ -104,6 +109,7 @@ internal static ManagedIntegrationRuntime DeserializeManagedIntegrationRuntime(J IntegrationRuntimeComputeProperties computeProperties = default; IntegrationRuntimeSsisProperties ssisProperties = default; IntegrationRuntimeCustomerVirtualNetwork customerVirtualNetwork = default; + InteractiveQueryProperties interactiveQuery = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -172,6 +178,15 @@ internal static ManagedIntegrationRuntime DeserializeManagedIntegrationRuntime(J customerVirtualNetwork = IntegrationRuntimeCustomerVirtualNetwork.DeserializeIntegrationRuntimeCustomerVirtualNetwork(property0.Value, options); continue; } + if (property0.NameEquals("interactiveQuery"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + interactiveQuery = InteractiveQueryProperties.DeserializeInteractiveQueryProperties(property0.Value, options); + continue; + } } continue; } @@ -186,7 +201,8 @@ internal static ManagedIntegrationRuntime DeserializeManagedIntegrationRuntime(J managedVirtualNetwork, computeProperties, ssisProperties, - customerVirtualNetwork); + customerVirtualNetwork, + interactiveQuery); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ManagedIntegrationRuntime.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ManagedIntegrationRuntime.cs index e93669c32693..f8007f1ba933 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ManagedIntegrationRuntime.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/ManagedIntegrationRuntime.cs @@ -29,13 +29,15 @@ public ManagedIntegrationRuntime() /// The compute resource for managed integration runtime. /// SSIS properties for managed integration runtime. /// The name of virtual network to which Azure-SSIS integration runtime will join. - internal ManagedIntegrationRuntime(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary additionalProperties, IntegrationRuntimeState? state, ManagedVirtualNetworkReference managedVirtualNetwork, IntegrationRuntimeComputeProperties computeProperties, IntegrationRuntimeSsisProperties ssisProperties, IntegrationRuntimeCustomerVirtualNetwork customerVirtualNetwork) : base(integrationRuntimeType, description, additionalProperties) + /// Interactive authoring capability reference. + internal ManagedIntegrationRuntime(IntegrationRuntimeType integrationRuntimeType, string description, IDictionary additionalProperties, IntegrationRuntimeState? state, ManagedVirtualNetworkReference managedVirtualNetwork, IntegrationRuntimeComputeProperties computeProperties, IntegrationRuntimeSsisProperties ssisProperties, IntegrationRuntimeCustomerVirtualNetwork customerVirtualNetwork, InteractiveQueryProperties interactiveQuery) : base(integrationRuntimeType, description, additionalProperties) { State = state; ManagedVirtualNetwork = managedVirtualNetwork; ComputeProperties = computeProperties; SsisProperties = ssisProperties; CustomerVirtualNetwork = customerVirtualNetwork; + InteractiveQuery = interactiveQuery; IntegrationRuntimeType = integrationRuntimeType; } @@ -60,5 +62,8 @@ public ResourceIdentifier CustomerVirtualNetworkSubnetId CustomerVirtualNetwork.SubnetId = value; } } + + /// Interactive authoring capability reference. + public InteractiveQueryProperties InteractiveQuery { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaLinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaLinkedService.Serialization.cs index 3e7b2b5784bb..d8fc37429390 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaLinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaLinkedService.Serialization.cs @@ -43,6 +43,31 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("connectionString"u8); JsonSerializer.Serialize(writer, ConnectionString); } + if (Optional.IsDefined(Server)) + { + writer.WritePropertyName("server"u8); + JsonSerializer.Serialize(writer, Server); + } + if (Optional.IsDefined(Port)) + { + writer.WritePropertyName("port"u8); + JsonSerializer.Serialize(writer, Port); + } + if (Optional.IsDefined(Uid)) + { + writer.WritePropertyName("uid"u8); + JsonSerializer.Serialize(writer, Uid); + } + if (Optional.IsDefined(Database)) + { + writer.WritePropertyName("database"u8); + JsonSerializer.Serialize(writer, Database); + } + if (Optional.IsDefined(SecurityLevel)) + { + writer.WritePropertyName("securityLevel"u8); + writer.WriteStringValue(SecurityLevel.Value.ToString()); + } if (Optional.IsDefined(Password)) { writer.WritePropertyName("pwd"u8); @@ -95,6 +120,11 @@ internal static NetezzaLinkedService DeserializeNetezzaLinkedService(JsonElement IDictionary parameters = default; IList annotations = default; DataFactoryElement connectionString = default; + DataFactoryElement server = default; + DataFactoryElement port = default; + DataFactoryElement uid = default; + DataFactoryElement database = default; + NetezzaSecurityLevelType? securityLevel = default; DataFactoryKeyVaultSecret password = default; string encryptedCredential = default; IDictionary additionalProperties = default; @@ -178,6 +208,51 @@ internal static NetezzaLinkedService DeserializeNetezzaLinkedService(JsonElement connectionString = JsonSerializer.Deserialize>(property0.Value.GetRawText()); continue; } + if (property0.NameEquals("server"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + server = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("port"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + port = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("uid"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + uid = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("database"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + database = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } + if (property0.NameEquals("securityLevel"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + securityLevel = new NetezzaSecurityLevelType(property0.Value.GetString()); + continue; + } if (property0.NameEquals("pwd"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -207,6 +282,11 @@ internal static NetezzaLinkedService DeserializeNetezzaLinkedService(JsonElement annotations ?? new ChangeTrackingList(), additionalProperties, connectionString, + server, + port, + uid, + database, + securityLevel, password, encryptedCredential); } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaLinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaLinkedService.cs index b60bfe66397a..dbbb6679074f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaLinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaLinkedService.cs @@ -29,11 +29,21 @@ public NetezzaLinkedService() /// List of tags that can be used for describing the linked service. /// Additional Properties. /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + /// Server name for connection. Type: string. + /// The port for the connection. Type: integer. + /// Username for authentication. Type: string. + /// Database name for connection. Type: string. + /// Specifies the security level for the driver connection to the data store. PreferredUnSecured : prefer unsecured, allow fallback to secured connection if required. OnlyUnSecured : strictly unsecured, no fallback. /// The Azure key vault secret reference of password in connection string. /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal NetezzaLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryKeyVaultSecret password, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) + internal NetezzaLinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement connectionString, DataFactoryElement server, DataFactoryElement port, DataFactoryElement uid, DataFactoryElement database, NetezzaSecurityLevelType? securityLevel, DataFactoryKeyVaultSecret password, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) { ConnectionString = connectionString; + Server = server; + Port = port; + Uid = uid; + Database = database; + SecurityLevel = securityLevel; Password = password; EncryptedCredential = encryptedCredential; LinkedServiceType = linkedServiceType ?? "Netezza"; @@ -41,6 +51,16 @@ internal NetezzaLinkedService(string linkedServiceType, string linkedServiceVers /// An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. public DataFactoryElement ConnectionString { get; set; } + /// Server name for connection. Type: string. + public DataFactoryElement Server { get; set; } + /// The port for the connection. Type: integer. + public DataFactoryElement Port { get; set; } + /// Username for authentication. Type: string. + public DataFactoryElement Uid { get; set; } + /// Database name for connection. Type: string. + public DataFactoryElement Database { get; set; } + /// Specifies the security level for the driver connection to the data store. PreferredUnSecured : prefer unsecured, allow fallback to secured connection if required. OnlyUnSecured : strictly unsecured, no fallback. + public NetezzaSecurityLevelType? SecurityLevel { get; set; } /// The Azure key vault secret reference of password in connection string. public DataFactoryKeyVaultSecret Password { get; set; } /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaSecurityLevelType.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaSecurityLevelType.cs new file mode 100644 index 000000000000..2281bfb65d25 --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/NetezzaSecurityLevelType.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.DataFactory.Models +{ + /// Specifies the security level for the driver connection to the data store. PreferredUnSecured : prefer unsecured, allow fallback to secured connection if required. OnlyUnSecured : strictly unsecured, no fallback. + public readonly partial struct NetezzaSecurityLevelType : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public NetezzaSecurityLevelType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string PreferredUnSecuredValue = "PreferredUnSecured"; + private const string OnlyUnSecuredValue = "OnlyUnSecured"; + + /// PreferredUnSecured. + public static NetezzaSecurityLevelType PreferredUnSecured { get; } = new NetezzaSecurityLevelType(PreferredUnSecuredValue); + /// OnlyUnSecured. + public static NetezzaSecurityLevelType OnlyUnSecured { get; } = new NetezzaSecurityLevelType(OnlyUnSecuredValue); + /// Determines if two values are the same. + public static bool operator ==(NetezzaSecurityLevelType left, NetezzaSecurityLevelType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(NetezzaSecurityLevelType left, NetezzaSecurityLevelType right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator NetezzaSecurityLevelType(string value) => new NetezzaSecurityLevelType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is NetezzaSecurityLevelType other && Equals(other); + /// + public bool Equals(NetezzaSecurityLevelType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceV2Source.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceV2Source.Serialization.cs index 90fdb334394f..17c94ced4dab 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceV2Source.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceV2Source.Serialization.cs @@ -56,6 +56,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("pageSize"u8); JsonSerializer.Serialize(writer, PageSize); } + if (Optional.IsDefined(PartitionOption)) + { + writer.WritePropertyName("partitionOption"u8); + JsonSerializer.Serialize(writer, PartitionOption); + } foreach (var item in AdditionalProperties) { writer.WritePropertyName(item.Key); @@ -94,6 +99,7 @@ internal static SalesforceV2Source DeserializeSalesforceV2Source(JsonElement ele DataFactoryElement query = default; DataFactoryElement includeDeletedObjects = default; DataFactoryElement pageSize = default; + DataFactoryElement partitionOption = default; DataFactoryElement queryTimeout = default; BinaryData additionalColumns = default; string type = default; @@ -141,6 +147,15 @@ internal static SalesforceV2Source DeserializeSalesforceV2Source(JsonElement ele pageSize = JsonSerializer.Deserialize>(property.Value.GetRawText()); continue; } + if (property.NameEquals("partitionOption"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + partitionOption = JsonSerializer.Deserialize>(property.Value.GetRawText()); + continue; + } if (property.NameEquals("queryTimeout"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -215,7 +230,8 @@ internal static SalesforceV2Source DeserializeSalesforceV2Source(JsonElement ele soqlQuery, query, includeDeletedObjects, - pageSize); + pageSize, + partitionOption); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceV2Source.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceV2Source.cs index cc837f8609f5..1ab859f6893c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceV2Source.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SalesforceV2Source.cs @@ -33,12 +33,14 @@ public SalesforceV2Source() /// You can only use Salesforce Object Query Language (SOQL) query with limitations. For SOQL limitations, see this article: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm#SOQL%20Considerations. If query is not specified, all the data of the Salesforce object specified in ObjectApiName/reportId in dataset will be retrieved. Type: string (or Expression with resultType string). /// This property control whether query result contains Deleted objects. Default is false. Type: boolean (or Expression with resultType boolean). /// Page size for each http request, too large pageSize will caused timeout, default 300,000. Type: integer (or Expression with resultType integer). - internal SalesforceV2Source(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement soqlQuery, DataFactoryElement query, DataFactoryElement includeDeletedObjects, DataFactoryElement pageSize) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) + /// Partition option for the SalesforceV2 connector in copy activity, AutoDetect or None. Type: string (or Expression with resultType string). + internal SalesforceV2Source(string copySourceType, DataFactoryElement sourceRetryCount, DataFactoryElement sourceRetryWait, DataFactoryElement maxConcurrentConnections, DataFactoryElement disableMetricsCollection, IDictionary additionalProperties, DataFactoryElement queryTimeout, BinaryData additionalColumns, DataFactoryElement soqlQuery, DataFactoryElement query, DataFactoryElement includeDeletedObjects, DataFactoryElement pageSize, DataFactoryElement partitionOption) : base(copySourceType, sourceRetryCount, sourceRetryWait, maxConcurrentConnections, disableMetricsCollection, additionalProperties, queryTimeout, additionalColumns) { SoqlQuery = soqlQuery; Query = query; IncludeDeletedObjects = includeDeletedObjects; PageSize = pageSize; + PartitionOption = partitionOption; CopySourceType = copySourceType ?? "SalesforceV2Source"; } @@ -50,5 +52,7 @@ internal SalesforceV2Source(string copySourceType, DataFactoryElement sourc public DataFactoryElement IncludeDeletedObjects { get; set; } /// Page size for each http request, too large pageSize will caused timeout, default 300,000. Type: integer (or Expression with resultType integer). public DataFactoryElement PageSize { get; set; } + /// Partition option for the SalesforceV2 connector in copy activity, AutoDetect or None. Type: string (or Expression with resultType string). + public DataFactoryElement PartitionOption { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.Serialization.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.Serialization.cs index 5213dd175326..06cd83671d1f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.Serialization.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.Serialization.cs @@ -109,6 +109,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("encryptedCredential"u8); writer.WriteStringValue(EncryptedCredential); } + if (Optional.IsDefined(UseUtcTimestamps)) + { + writer.WritePropertyName("useUtcTimestamps"u8); + JsonSerializer.Serialize(writer, UseUtcTimestamps); + } writer.WriteEndObject(); foreach (var item in AdditionalProperties) { @@ -166,6 +171,7 @@ internal static SnowflakeV2LinkedService DeserializeSnowflakeV2LinkedService(Jso DataFactoryElement host = default; DataFactoryElement schema = default; string encryptedCredential = default; + DataFactoryElement useUtcTimestamps = default; IDictionary additionalProperties = default; Dictionary additionalPropertiesDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -366,6 +372,15 @@ internal static SnowflakeV2LinkedService DeserializeSnowflakeV2LinkedService(Jso encryptedCredential = property0.Value.GetString(); continue; } + if (property0.NameEquals("useUtcTimestamps"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + useUtcTimestamps = JsonSerializer.Deserialize>(property0.Value.GetRawText()); + continue; + } } continue; } @@ -395,7 +410,8 @@ internal static SnowflakeV2LinkedService DeserializeSnowflakeV2LinkedService(Jso role, host, schema, - encryptedCredential); + encryptedCredential, + useUtcTimestamps); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.cs index f8b9e7b6d07a..1ad8330eb544 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/Models/SnowflakeV2LinkedService.cs @@ -55,7 +55,8 @@ public SnowflakeV2LinkedService(DataFactoryElement accountIdentifier, Da /// The host name of the Snowflake account. Type: string (or Expression with resultType string). /// Schema name for connection. Type: string (or Expression with resultType string). /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. - internal SnowflakeV2LinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement accountIdentifier, DataFactoryElement user, DataFactorySecret password, DataFactoryElement database, DataFactoryElement warehouse, SnowflakeAuthenticationType? authenticationType, DataFactoryElement clientId, DataFactorySecret clientSecret, DataFactoryElement tenantId, DataFactoryElement scope, DataFactorySecret privateKey, DataFactorySecret privateKeyPassphrase, DataFactoryElement role, DataFactoryElement host, DataFactoryElement schema, string encryptedCredential) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) + /// Indicates whether to use UTC timezone for timestamp data types. Type: boolean. + internal SnowflakeV2LinkedService(string linkedServiceType, string linkedServiceVersion, IntegrationRuntimeReference connectVia, string description, IDictionary parameters, IList annotations, IDictionary additionalProperties, DataFactoryElement accountIdentifier, DataFactoryElement user, DataFactorySecret password, DataFactoryElement database, DataFactoryElement warehouse, SnowflakeAuthenticationType? authenticationType, DataFactoryElement clientId, DataFactorySecret clientSecret, DataFactoryElement tenantId, DataFactoryElement scope, DataFactorySecret privateKey, DataFactorySecret privateKeyPassphrase, DataFactoryElement role, DataFactoryElement host, DataFactoryElement schema, string encryptedCredential, DataFactoryElement useUtcTimestamps) : base(linkedServiceType, linkedServiceVersion, connectVia, description, parameters, annotations, additionalProperties) { AccountIdentifier = accountIdentifier; User = user; @@ -73,6 +74,7 @@ internal SnowflakeV2LinkedService(string linkedServiceType, string linkedService Host = host; Schema = schema; EncryptedCredential = encryptedCredential; + UseUtcTimestamps = useUtcTimestamps; LinkedServiceType = linkedServiceType ?? "SnowflakeV2"; } @@ -113,5 +115,7 @@ internal SnowflakeV2LinkedService() public DataFactoryElement Schema { get; set; } /// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string. public string EncryptedCredential { get; set; } + /// Indicates whether to use UTC timezone for timestamp data types. Type: boolean. + public DataFactoryElement UseUtcTimestamps { get; set; } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/IntegrationRuntimeRestOperations.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/IntegrationRuntimeRestOperations.cs new file mode 100644 index 000000000000..b93f3d31a57d --- /dev/null +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/Generated/RestOperations/IntegrationRuntimeRestOperations.cs @@ -0,0 +1,234 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; +using Azure.ResourceManager.DataFactory.Models; + +namespace Azure.ResourceManager.DataFactory +{ + internal partial class IntegrationRuntimeRestOperations + { + private readonly TelemetryDetails _userAgent; + private readonly HttpPipeline _pipeline; + private readonly Uri _endpoint; + private readonly string _apiVersion; + + /// Initializes a new instance of IntegrationRuntimeRestOperations. + /// The HTTP pipeline for sending and receiving REST requests and responses. + /// The application id to use for user agent. + /// server parameter. + /// Api Version. + /// or is null. + public IntegrationRuntimeRestOperations(HttpPipeline pipeline, string applicationId, Uri endpoint = null, string apiVersion = default) + { + _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); + _endpoint = endpoint ?? new Uri("https://management.azure.com"); + _apiVersion = apiVersion ?? "2018-06-01"; + _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); + } + + internal RequestUriBuilder CreateEnableInteractiveQueryRequestUri(string subscriptionId, string resourceGroupName, string factoryName, string integrationRuntimeName, EnableInteractiveQueryContent content) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DataFactory/factories/", false); + uri.AppendPath(factoryName, true); + uri.AppendPath("/integrationRuntimes/", false); + uri.AppendPath(integrationRuntimeName, true); + uri.AppendPath("/enableInteractiveQuery", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateEnableInteractiveQueryRequest(string subscriptionId, string resourceGroupName, string factoryName, string integrationRuntimeName, EnableInteractiveQueryContent content) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DataFactory/factories/", false); + uri.AppendPath(factoryName, true); + uri.AppendPath("/integrationRuntimes/", false); + uri.AppendPath(integrationRuntimeName, true); + uri.AppendPath("/enableInteractiveQuery", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content0 = new Utf8JsonRequestContent(); + content0.JsonWriter.WriteObjectValue(content, ModelSerializationExtensions.WireOptions); + request.Content = content0; + _userAgent.Apply(message); + return message; + } + + /// Enable interactive authoring of Managed Virtual Network integration runtime. + /// The subscription identifier. + /// The resource group name. + /// The factory name. + /// The integration runtime name. + /// The enable interactive authoring integration runtime properties. + /// The cancellation token to use. + /// , , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public async Task EnableInteractiveQueryAsync(string subscriptionId, string resourceGroupName, string factoryName, string integrationRuntimeName, EnableInteractiveQueryContent content, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(factoryName, nameof(factoryName)); + Argument.AssertNotNullOrEmpty(integrationRuntimeName, nameof(integrationRuntimeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var message = CreateEnableInteractiveQueryRequest(subscriptionId, resourceGroupName, factoryName, integrationRuntimeName, content); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Enable interactive authoring of Managed Virtual Network integration runtime. + /// The subscription identifier. + /// The resource group name. + /// The factory name. + /// The integration runtime name. + /// The enable interactive authoring integration runtime properties. + /// The cancellation token to use. + /// , , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public Response EnableInteractiveQuery(string subscriptionId, string resourceGroupName, string factoryName, string integrationRuntimeName, EnableInteractiveQueryContent content, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(factoryName, nameof(factoryName)); + Argument.AssertNotNullOrEmpty(integrationRuntimeName, nameof(integrationRuntimeName)); + Argument.AssertNotNull(content, nameof(content)); + + using var message = CreateEnableInteractiveQueryRequest(subscriptionId, resourceGroupName, factoryName, integrationRuntimeName, content); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + internal RequestUriBuilder CreateDisableInteractiveQueryRequestUri(string subscriptionId, string resourceGroupName, string factoryName, string integrationRuntimeName) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DataFactory/factories/", false); + uri.AppendPath(factoryName, true); + uri.AppendPath("/integrationRuntimes/", false); + uri.AppendPath(integrationRuntimeName, true); + uri.AppendPath("/disableInteractiveQuery", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateDisableInteractiveQueryRequest(string subscriptionId, string resourceGroupName, string factoryName, string integrationRuntimeName) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/resourceGroups/", false); + uri.AppendPath(resourceGroupName, true); + uri.AppendPath("/providers/Microsoft.DataFactory/factories/", false); + uri.AppendPath(factoryName, true); + uri.AppendPath("/integrationRuntimes/", false); + uri.AppendPath(integrationRuntimeName, true); + uri.AppendPath("/disableInteractiveQuery", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + _userAgent.Apply(message); + return message; + } + + /// Disable interactive authoring of Managed Virtual Network integration runtime. + /// The subscription identifier. + /// The resource group name. + /// The factory name. + /// The integration runtime name. + /// The cancellation token to use. + /// , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public async Task DisableInteractiveQueryAsync(string subscriptionId, string resourceGroupName, string factoryName, string integrationRuntimeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(factoryName, nameof(factoryName)); + Argument.AssertNotNullOrEmpty(integrationRuntimeName, nameof(integrationRuntimeName)); + + using var message = CreateDisableInteractiveQueryRequest(subscriptionId, resourceGroupName, factoryName, integrationRuntimeName); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Disable interactive authoring of Managed Virtual Network integration runtime. + /// The subscription identifier. + /// The resource group name. + /// The factory name. + /// The integration runtime name. + /// The cancellation token to use. + /// , , or is null. + /// , , or is an empty string, and was expected to be non-empty. + public Response DisableInteractiveQuery(string subscriptionId, string resourceGroupName, string factoryName, string integrationRuntimeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); + Argument.AssertNotNullOrEmpty(factoryName, nameof(factoryName)); + Argument.AssertNotNullOrEmpty(integrationRuntimeName, nameof(integrationRuntimeName)); + + using var message = CreateDisableInteractiveQueryRequest(subscriptionId, resourceGroupName, factoryName, integrationRuntimeName); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + } +} diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md index fba838daa45a..8bbfa6f45b8a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/src/autorest.md @@ -8,7 +8,7 @@ azure-arm: true csharp: true library-name: DataFactory namespace: Azure.ResourceManager.DataFactory -require: https://github.com/Azure/azure-rest-api-specs/blob/222af3670e36c5083cb0dc8a9c2677a8f77f8958/specification/datafactory/resource-manager/readme.md +require: https://github.com/Azure/azure-rest-api-specs/blob/9cc7633f842575274f715cc02e37c5769ac2742d/specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true sample-gen: @@ -72,6 +72,7 @@ acronym-mapping: VNet: Vnet Bw: BW SQL: Sql + HDInsightOndemand: HDInsightOnDemand keep-plural-enums: - ActivityOnInactiveMarkAs diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryChangeDataCaptureCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryChangeDataCaptureCollection.cs index fb1ad8df8028..00bf8a099619 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryChangeDataCaptureCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryChangeDataCaptureCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_DataFactoryChangeDataCaptureCollection [Ignore("Only validating compilation of examples")] public async Task Get_ChangeDataCaptureGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json // this example is just showing the usage of "ChangeDataCapture_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_ChangeDataCaptureGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_ChangeDataCaptureListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ChangeDataCapture_ListByFactory.json // this example is just showing the usage of "ChangeDataCapture_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -89,7 +89,7 @@ public async Task GetAll_ChangeDataCaptureListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_ChangeDataCaptureGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json // this example is just showing the usage of "ChangeDataCapture_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -119,7 +119,7 @@ public async Task Exists_ChangeDataCaptureGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ChangeDataCaptureGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json // this example is just showing the usage of "ChangeDataCapture_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryChangeDataCaptureResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryChangeDataCaptureResource.cs index 0ad1b1261eeb..03bb3721bfa4 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryChangeDataCaptureResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryChangeDataCaptureResource.cs @@ -19,7 +19,7 @@ public partial class Sample_DataFactoryChangeDataCaptureResource [Ignore("Only validating compilation of examples")] public async Task Get_ChangeDataCaptureGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json // this example is just showing the usage of "ChangeDataCapture_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task Get_ChangeDataCaptureGet() [Ignore("Only validating compilation of examples")] public async Task Delete_ChangeDataCaptureDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Delete.json // this example is just showing the usage of "ChangeDataCapture_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -77,7 +77,7 @@ public async Task Delete_ChangeDataCaptureDelete() [Ignore("Only validating compilation of examples")] public async Task Start_ChangeDataCaptureStart() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Start.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Start.json // this example is just showing the usage of "ChangeDataCapture_Start" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -104,7 +104,7 @@ public async Task Start_ChangeDataCaptureStart() [Ignore("Only validating compilation of examples")] public async Task Stop_ChangeDataCaptureStop() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Stop.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Stop.json // this example is just showing the usage of "ChangeDataCapture_Stop" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -131,7 +131,7 @@ public async Task Stop_ChangeDataCaptureStop() [Ignore("Only validating compilation of examples")] public async Task Status_ChangeDataCaptureStart() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Status.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Status.json // this example is just showing the usage of "ChangeDataCapture_Status" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryCollection.cs index f326d80658ca..b614ac669ee9 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_FactoriesCreateOrUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json // this example is just showing the usage of "Factories_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -55,7 +55,7 @@ public async Task CreateOrUpdate_FactoriesCreateOrUpdate() [Ignore("Only validating compilation of examples")] public async Task Get_FactoriesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_Get.json // this example is just showing the usage of "Factories_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -88,7 +88,7 @@ public async Task Get_FactoriesGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_FactoriesListByResourceGroup() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json // this example is just showing the usage of "Factories_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -123,7 +123,7 @@ public async Task GetAll_FactoriesListByResourceGroup() [Ignore("Only validating compilation of examples")] public async Task Exists_FactoriesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_Get.json // this example is just showing the usage of "Factories_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -152,7 +152,7 @@ public async Task Exists_FactoriesGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_FactoriesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_Get.json // this example is just showing the usage of "Factories_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDataFlowCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDataFlowCollection.cs index 7b58fdcba6b8..d74d3d10c7f1 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDataFlowCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDataFlowCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryDataFlowCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataFlowsCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_Create.json // this example is just showing the usage of "DataFlows_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -74,7 +74,7 @@ public async Task CreateOrUpdate_DataFlowsCreate() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DataFlowsUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_Update.json // this example is just showing the usage of "DataFlows_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -128,7 +128,7 @@ public async Task CreateOrUpdate_DataFlowsUpdate() [Ignore("Only validating compilation of examples")] public async Task Get_DataFlowsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_Get.json // this example is just showing the usage of "DataFlows_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -162,7 +162,7 @@ public async Task Get_DataFlowsGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_DataFlowsListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_ListByFactory.json // this example is just showing the usage of "DataFlows_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -198,7 +198,7 @@ public async Task GetAll_DataFlowsListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_DataFlowsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_Get.json // this example is just showing the usage of "DataFlows_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -228,7 +228,7 @@ public async Task Exists_DataFlowsGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DataFlowsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_Get.json // this example is just showing the usage of "DataFlows_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDataFlowResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDataFlowResource.cs index 36e35d2668ea..1d35e8fcf00b 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDataFlowResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDataFlowResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryDataFlowResource [Ignore("Only validating compilation of examples")] public async Task Get_DataFlowsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_Get.json // this example is just showing the usage of "DataFlows_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_DataFlowsGet() [Ignore("Only validating compilation of examples")] public async Task Delete_DataFlowsDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_Delete.json // this example is just showing the usage of "DataFlows_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_DataFlowsDelete() [Ignore("Only validating compilation of examples")] public async Task Update_DataFlowsCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_Create.json // this example is just showing the usage of "DataFlows_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -129,7 +129,7 @@ public async Task Update_DataFlowsCreate() [Ignore("Only validating compilation of examples")] public async Task Update_DataFlowsUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlows_Update.json // this example is just showing the usage of "DataFlows_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDatasetCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDatasetCollection.cs index 0f118940619a..6a5f45882e67 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDatasetCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDatasetCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_DataFactoryDatasetCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DatasetsCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_Create.json // this example is just showing the usage of "Datasets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -67,7 +67,7 @@ public async Task CreateOrUpdate_DatasetsCreate() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_DatasetsUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_Update.json // this example is just showing the usage of "Datasets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -114,7 +114,7 @@ public async Task CreateOrUpdate_DatasetsUpdate() [Ignore("Only validating compilation of examples")] public async Task Get_DatasetsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_Get.json // this example is just showing the usage of "Datasets_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -148,7 +148,7 @@ public async Task Get_DatasetsGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_DatasetsListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json // this example is just showing the usage of "Datasets_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -184,7 +184,7 @@ public async Task GetAll_DatasetsListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_DatasetsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_Get.json // this example is just showing the usage of "Datasets_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -214,7 +214,7 @@ public async Task Exists_DatasetsGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DatasetsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_Get.json // this example is just showing the usage of "Datasets_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDatasetResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDatasetResource.cs index 705b4a2bc43d..5dc9e802b272 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDatasetResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryDatasetResource.cs @@ -21,7 +21,7 @@ public partial class Sample_DataFactoryDatasetResource [Ignore("Only validating compilation of examples")] public async Task Get_DatasetsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_Get.json // this example is just showing the usage of "Datasets_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_DatasetsGet() [Ignore("Only validating compilation of examples")] public async Task Delete_DatasetsDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_Delete.json // this example is just showing the usage of "Datasets_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -79,7 +79,7 @@ public async Task Delete_DatasetsDelete() [Ignore("Only validating compilation of examples")] public async Task Update_DatasetsCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_Create.json // this example is just showing the usage of "Datasets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -122,7 +122,7 @@ public async Task Update_DatasetsCreate() [Ignore("Only validating compilation of examples")] public async Task Update_DatasetsUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Datasets_Update.json // this example is just showing the usage of "Datasets_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryGlobalParameterCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryGlobalParameterCollection.cs index 4d37ad10ba68..ec325569904c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryGlobalParameterCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryGlobalParameterCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_DataFactoryGlobalParameterCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GlobalParametersCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json // this example is just showing the usage of "GlobalParameters_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -60,7 +60,7 @@ public async Task CreateOrUpdate_GlobalParametersCreate() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_GlobalParametersUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json // this example is just showing the usage of "GlobalParameters_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -99,7 +99,7 @@ public async Task CreateOrUpdate_GlobalParametersUpdate() [Ignore("Only validating compilation of examples")] public async Task Get_GlobalParametersGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json // this example is just showing the usage of "GlobalParameters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -133,7 +133,7 @@ public async Task Get_GlobalParametersGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_GlobalParametersListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json // this example is just showing the usage of "GlobalParameters_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -169,7 +169,7 @@ public async Task GetAll_GlobalParametersListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_GlobalParametersGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json // this example is just showing the usage of "GlobalParameters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -199,7 +199,7 @@ public async Task Exists_GlobalParametersGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GlobalParametersGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json // this example is just showing the usage of "GlobalParameters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryGlobalParameterResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryGlobalParameterResource.cs index 8d2d3991ce77..1b342dcdb72f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryGlobalParameterResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryGlobalParameterResource.cs @@ -21,7 +21,7 @@ public partial class Sample_DataFactoryGlobalParameterResource [Ignore("Only validating compilation of examples")] public async Task Get_GlobalParametersGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json // this example is just showing the usage of "GlobalParameters_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_GlobalParametersGet() [Ignore("Only validating compilation of examples")] public async Task Delete_GlobalParametersDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json // this example is just showing the usage of "GlobalParameters_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -79,7 +79,7 @@ public async Task Delete_GlobalParametersDelete() [Ignore("Only validating compilation of examples")] public async Task Update_GlobalParametersCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json // this example is just showing the usage of "GlobalParameters_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -115,7 +115,7 @@ public async Task Update_GlobalParametersCreate() [Ignore("Only validating compilation of examples")] public async Task Update_GlobalParametersUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json // this example is just showing the usage of "GlobalParameters_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryIntegrationRuntimeCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryIntegrationRuntimeCollection.cs index 266b65b7541c..c2fac3dd98b0 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryIntegrationRuntimeCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryIntegrationRuntimeCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryIntegrationRuntimeCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_IntegrationRuntimesCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json // this example is just showing the usage of "IntegrationRuntimes_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -59,7 +59,7 @@ public async Task CreateOrUpdate_IntegrationRuntimesCreate() [Ignore("Only validating compilation of examples")] public async Task Get_IntegrationRuntimesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json // this example is just showing the usage of "IntegrationRuntimes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -93,7 +93,7 @@ public async Task Get_IntegrationRuntimesGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_IntegrationRuntimesListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json // this example is just showing the usage of "IntegrationRuntimes_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -129,7 +129,7 @@ public async Task GetAll_IntegrationRuntimesListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_IntegrationRuntimesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json // this example is just showing the usage of "IntegrationRuntimes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -159,7 +159,7 @@ public async Task Exists_IntegrationRuntimesGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_IntegrationRuntimesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json // this example is just showing the usage of "IntegrationRuntimes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryIntegrationRuntimeResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryIntegrationRuntimeResource.cs index 146307ed90ad..e9dce45c273a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryIntegrationRuntimeResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryIntegrationRuntimeResource.cs @@ -21,7 +21,7 @@ public partial class Sample_DataFactoryIntegrationRuntimeResource [Ignore("Only validating compilation of examples")] public async Task Get_IntegrationRuntimesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json // this example is just showing the usage of "IntegrationRuntimes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_IntegrationRuntimesGet() [Ignore("Only validating compilation of examples")] public async Task Delete_IntegrationRuntimesDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json // this example is just showing the usage of "IntegrationRuntimes_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -79,7 +79,7 @@ public async Task Delete_IntegrationRuntimesDelete() [Ignore("Only validating compilation of examples")] public async Task Update_IntegrationRuntimesUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json // this example is just showing the usage of "IntegrationRuntimes_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -115,7 +115,7 @@ public async Task Update_IntegrationRuntimesUpdate() [Ignore("Only validating compilation of examples")] public async Task GetStatus_IntegrationRuntimesGetStatus() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json // this example is just showing the usage of "IntegrationRuntimes_GetStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -142,7 +142,7 @@ public async Task GetStatus_IntegrationRuntimesGetStatus() [Ignore("Only validating compilation of examples")] public async Task GetOutboundNetworkDependencies_IntegrationRuntimesOutboundNetworkDependenciesEndpoints() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json // this example is just showing the usage of "IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -172,7 +172,7 @@ public async Task GetOutboundNetworkDependencies_IntegrationRuntimesOutboundNetw [Ignore("Only validating compilation of examples")] public async Task GetConnectionInfo_IntegrationRuntimesGetConnectionInfo() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json // this example is just showing the usage of "IntegrationRuntimes_GetConnectionInfo" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -199,7 +199,7 @@ public async Task GetConnectionInfo_IntegrationRuntimesGetConnectionInfo() [Ignore("Only validating compilation of examples")] public async Task RegenerateAuthKey_IntegrationRuntimesRegenerateAuthKey() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json // this example is just showing the usage of "IntegrationRuntimes_RegenerateAuthKey" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -230,7 +230,7 @@ public async Task RegenerateAuthKey_IntegrationRuntimesRegenerateAuthKey() [Ignore("Only validating compilation of examples")] public async Task GetAuthKeys_IntegrationRuntimesListAuthKeys() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json // this example is just showing the usage of "IntegrationRuntimes_ListAuthKeys" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -257,7 +257,7 @@ public async Task GetAuthKeys_IntegrationRuntimesListAuthKeys() [Ignore("Only validating compilation of examples")] public async Task Start_IntegrationRuntimesStart() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json // this example is just showing the usage of "IntegrationRuntimes_Start" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -285,7 +285,7 @@ public async Task Start_IntegrationRuntimesStart() [Ignore("Only validating compilation of examples")] public async Task Stop_IntegrationRuntimesStop() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json // this example is just showing the usage of "IntegrationRuntimes_Stop" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -312,7 +312,7 @@ public async Task Stop_IntegrationRuntimesStop() [Ignore("Only validating compilation of examples")] public async Task SyncCredentials_IntegrationRuntimesSyncCredentials() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json // this example is just showing the usage of "IntegrationRuntimes_SyncCredentials" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -339,7 +339,7 @@ public async Task SyncCredentials_IntegrationRuntimesSyncCredentials() [Ignore("Only validating compilation of examples")] public async Task GetMonitoringData_IntegrationRuntimesGetMonitoringData() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json // this example is just showing the usage of "IntegrationRuntimes_GetMonitoringData" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -366,7 +366,7 @@ public async Task GetMonitoringData_IntegrationRuntimesGetMonitoringData() [Ignore("Only validating compilation of examples")] public async Task Upgrade_IntegrationRuntimesUpgrade() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json // this example is just showing the usage of "IntegrationRuntimes_Upgrade" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -393,7 +393,7 @@ public async Task Upgrade_IntegrationRuntimesUpgrade() [Ignore("Only validating compilation of examples")] public async Task RemoveLinks_IntegrationRuntimesUpgrade() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json // this example is just showing the usage of "IntegrationRuntimes_RemoveLinks" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -421,7 +421,7 @@ public async Task RemoveLinks_IntegrationRuntimesUpgrade() [Ignore("Only validating compilation of examples")] public async Task CreateLinkedIntegrationRuntime_IntegrationRuntimesCreateLinkedIntegrationRuntime() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json // this example is just showing the usage of "IntegrationRuntimes_CreateLinkedIntegrationRuntime" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -455,7 +455,7 @@ public async Task CreateLinkedIntegrationRuntime_IntegrationRuntimesCreateLinked [Ignore("Only validating compilation of examples")] public async Task RefreshIntegrationRuntimeObjectMetadata_IntegrationRuntimeObjectMetadataRefresh() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json // this example is just showing the usage of "IntegrationRuntimeObjectMetadata_Refresh" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -483,7 +483,7 @@ public async Task RefreshIntegrationRuntimeObjectMetadata_IntegrationRuntimeObje [Ignore("Only validating compilation of examples")] public async Task GetAllIntegrationRuntimeObjectMetadata_IntegrationRuntimeObjectMetadataGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json // this example is just showing the usage of "IntegrationRuntimeObjectMetadata_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -517,7 +517,7 @@ public async Task GetAllIntegrationRuntimeObjectMetadata_IntegrationRuntimeObjec [Ignore("Only validating compilation of examples")] public async Task GetIntegrationRuntimeNode_IntegrationRuntimeNodesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json // this example is just showing the usage of "IntegrationRuntimeNodes_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -545,7 +545,7 @@ public async Task GetIntegrationRuntimeNode_IntegrationRuntimeNodesGet() [Ignore("Only validating compilation of examples")] public async Task DeleteIntegrationRuntimeNode_IntegrationRuntimesNodesDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json // this example is just showing the usage of "IntegrationRuntimeNodes_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -573,7 +573,7 @@ public async Task DeleteIntegrationRuntimeNode_IntegrationRuntimesNodesDelete() [Ignore("Only validating compilation of examples")] public async Task UpdateIntegrationRuntimeNode_IntegrationRuntimeNodesUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json // this example is just showing the usage of "IntegrationRuntimeNodes_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -605,7 +605,7 @@ public async Task UpdateIntegrationRuntimeNode_IntegrationRuntimeNodesUpdate() [Ignore("Only validating compilation of examples")] public async Task GetIPAddressIntegrationRuntimeNode_IntegrationRuntimeNodesGetIpAddress() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json // this example is just showing the usage of "IntegrationRuntimeNodes_GetIPAddress" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -628,5 +628,73 @@ public async Task GetIPAddressIntegrationRuntimeNode_IntegrationRuntimeNodesGetI Console.WriteLine($"Succeeded: {result}"); } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task EnableInteractiveQueryIntegrationRuntime_IntegrationRuntimeEnableInteractiveQuery() + { + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_EnableInteractiveQuery.json + // this example is just showing the usage of "IntegrationRuntime_EnableInteractiveQuery" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this DataFactoryIntegrationRuntimeResource created on azure + // for more information of creating DataFactoryIntegrationRuntimeResource, please refer to the document of DataFactoryIntegrationRuntimeResource + string subscriptionId = "12345678-1234-1234-1234-12345678abc"; + string resourceGroupName = "exampleResourceGroup"; + string factoryName = "exampleFactoryName"; + string integrationRuntimeName = "exampleIntegrationRuntime"; + ResourceIdentifier dataFactoryIntegrationRuntimeResourceId = DataFactoryIntegrationRuntimeResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, integrationRuntimeName); + DataFactoryIntegrationRuntimeResource dataFactoryIntegrationRuntime = client.GetDataFactoryIntegrationRuntimeResource(dataFactoryIntegrationRuntimeResourceId); + + // invoke the operation + EnableInteractiveQueryContent content = new EnableInteractiveQueryContent + { + AutoTerminationMinutes = 10, + }; + ArmOperation lro = await dataFactoryIntegrationRuntime.EnableInteractiveQueryIntegrationRuntimeAsync(WaitUntil.Completed, content); + DataFactoryIntegrationRuntimeResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + DataFactoryIntegrationRuntimeData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task DisableInteractiveQueryIntegrationRuntime_IntegrationRuntimeDisableInteractiveQuery() + { + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_DisableInteractiveQuery.json + // this example is just showing the usage of "IntegrationRuntime_DisableInteractiveQuery" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this DataFactoryIntegrationRuntimeResource created on azure + // for more information of creating DataFactoryIntegrationRuntimeResource, please refer to the document of DataFactoryIntegrationRuntimeResource + string subscriptionId = "12345678-1234-1234-1234-12345678abc"; + string resourceGroupName = "exampleResourceGroup"; + string factoryName = "exampleFactoryName"; + string integrationRuntimeName = "exampleIntegrationRuntime"; + ResourceIdentifier dataFactoryIntegrationRuntimeResourceId = DataFactoryIntegrationRuntimeResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, factoryName, integrationRuntimeName); + DataFactoryIntegrationRuntimeResource dataFactoryIntegrationRuntime = client.GetDataFactoryIntegrationRuntimeResource(dataFactoryIntegrationRuntimeResourceId); + + // invoke the operation + ArmOperation lro = await dataFactoryIntegrationRuntime.DisableInteractiveQueryIntegrationRuntimeAsync(WaitUntil.Completed); + DataFactoryIntegrationRuntimeResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + DataFactoryIntegrationRuntimeData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } } } diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryLinkedServiceCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryLinkedServiceCollection.cs index ba43425625b1..771aba186296 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryLinkedServiceCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryLinkedServiceCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_DataFactoryLinkedServiceCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinkedServicesCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json // this example is just showing the usage of "LinkedServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -60,7 +60,7 @@ public async Task CreateOrUpdate_LinkedServicesCreate() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_LinkedServicesUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json // this example is just showing the usage of "LinkedServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -100,7 +100,7 @@ public async Task CreateOrUpdate_LinkedServicesUpdate() [Ignore("Only validating compilation of examples")] public async Task Get_LinkedServicesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json // this example is just showing the usage of "LinkedServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -134,7 +134,7 @@ public async Task Get_LinkedServicesGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_LinkedServicesListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json // this example is just showing the usage of "LinkedServices_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -170,7 +170,7 @@ public async Task GetAll_LinkedServicesListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_LinkedServicesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json // this example is just showing the usage of "LinkedServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -200,7 +200,7 @@ public async Task Exists_LinkedServicesGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_LinkedServicesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json // this example is just showing the usage of "LinkedServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryLinkedServiceResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryLinkedServiceResource.cs index 8be30c827d75..00dfb06ab3c5 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryLinkedServiceResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryLinkedServiceResource.cs @@ -21,7 +21,7 @@ public partial class Sample_DataFactoryLinkedServiceResource [Ignore("Only validating compilation of examples")] public async Task Get_LinkedServicesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json // this example is just showing the usage of "LinkedServices_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_LinkedServicesGet() [Ignore("Only validating compilation of examples")] public async Task Delete_LinkedServicesDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json // this example is just showing the usage of "LinkedServices_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -79,7 +79,7 @@ public async Task Delete_LinkedServicesDelete() [Ignore("Only validating compilation of examples")] public async Task Update_LinkedServicesCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json // this example is just showing the usage of "LinkedServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -115,7 +115,7 @@ public async Task Update_LinkedServicesCreate() [Ignore("Only validating compilation of examples")] public async Task Update_LinkedServicesUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json // this example is just showing the usage of "LinkedServices_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkCollection.cs index 5313ec47c41f..5e9b239df5df 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryManagedVirtualNetworkCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedVirtualNetworksCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Create.json // this example is just showing the usage of "ManagedVirtualNetworks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -56,7 +56,7 @@ public async Task CreateOrUpdate_ManagedVirtualNetworksCreate() [Ignore("Only validating compilation of examples")] public async Task Get_ManagedVirtualNetworksGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json // this example is just showing the usage of "ManagedVirtualNetworks_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -90,7 +90,7 @@ public async Task Get_ManagedVirtualNetworksGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedVirtualNetworksListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_ListByFactory.json // this example is just showing the usage of "ManagedVirtualNetworks_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -126,7 +126,7 @@ public async Task GetAll_ManagedVirtualNetworksListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedVirtualNetworksGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json // this example is just showing the usage of "ManagedVirtualNetworks_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -156,7 +156,7 @@ public async Task Exists_ManagedVirtualNetworksGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedVirtualNetworksGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json // this example is just showing the usage of "ManagedVirtualNetworks_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkResource.cs index ce830d74dcf6..e4ceb8ea151a 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryManagedVirtualNetworkResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryManagedVirtualNetworkResource [Ignore("Only validating compilation of examples")] public async Task Get_ManagedVirtualNetworksGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json // this example is just showing the usage of "ManagedVirtualNetworks_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_ManagedVirtualNetworksGet() [Ignore("Only validating compilation of examples")] public async Task Update_ManagedVirtualNetworksCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Create.json // this example is just showing the usage of "ManagedVirtualNetworks_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPipelineCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPipelineCollection.cs index 3e30a18f0e3c..199e79b4d3c7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPipelineCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPipelineCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_DataFactoryPipelineCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PipelinesCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_Create.json // this example is just showing the usage of "Pipelines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -107,7 +107,7 @@ public async Task CreateOrUpdate_PipelinesCreate() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PipelinesUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_Update.json // this example is just showing the usage of "Pipelines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -181,7 +181,7 @@ public async Task CreateOrUpdate_PipelinesUpdate() [Ignore("Only validating compilation of examples")] public async Task Get_PipelinesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_Get.json // this example is just showing the usage of "Pipelines_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -215,7 +215,7 @@ public async Task Get_PipelinesGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_PipelinesListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json // this example is just showing the usage of "Pipelines_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -251,7 +251,7 @@ public async Task GetAll_PipelinesListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_PipelinesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_Get.json // this example is just showing the usage of "Pipelines_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -281,7 +281,7 @@ public async Task Exists_PipelinesGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PipelinesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_Get.json // this example is just showing the usage of "Pipelines_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPipelineResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPipelineResource.cs index 27c35625e97a..51ea0935be0f 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPipelineResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPipelineResource.cs @@ -22,7 +22,7 @@ public partial class Sample_DataFactoryPipelineResource [Ignore("Only validating compilation of examples")] public async Task Get_PipelinesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_Get.json // this example is just showing the usage of "Pipelines_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_PipelinesGet() [Ignore("Only validating compilation of examples")] public async Task Delete_PipelinesDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json // this example is just showing the usage of "Pipelines_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -80,7 +80,7 @@ public async Task Delete_PipelinesDelete() [Ignore("Only validating compilation of examples")] public async Task Update_PipelinesCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_Create.json // this example is just showing the usage of "Pipelines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -163,7 +163,7 @@ public async Task Update_PipelinesCreate() [Ignore("Only validating compilation of examples")] public async Task Update_PipelinesUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_Update.json // this example is just showing the usage of "Pipelines_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -234,7 +234,7 @@ public async Task Update_PipelinesUpdate() [Ignore("Only validating compilation of examples")] public async Task CreateRun_PipelinesCreateRun() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json // this example is just showing the usage of "Pipelines_CreateRun" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointCollection.cs index a03de4d90ccb..ffdb027d12c3 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryPrivateEndpointCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedVirtualNetworksCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Create.json // this example is just showing the usage of "ManagedPrivateEndpoints_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -62,7 +62,7 @@ public async Task CreateOrUpdate_ManagedVirtualNetworksCreate() [Ignore("Only validating compilation of examples")] public async Task Get_ManagedPrivateEndpointsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json // this example is just showing the usage of "ManagedPrivateEndpoints_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -97,7 +97,7 @@ public async Task Get_ManagedPrivateEndpointsGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedPrivateEndpointsListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_ListByFactory.json // this example is just showing the usage of "ManagedPrivateEndpoints_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -134,7 +134,7 @@ public async Task GetAll_ManagedPrivateEndpointsListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedPrivateEndpointsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json // this example is just showing the usage of "ManagedPrivateEndpoints_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -165,7 +165,7 @@ public async Task Exists_ManagedPrivateEndpointsGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedPrivateEndpointsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json // this example is just showing the usage of "ManagedPrivateEndpoints_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionCollection.cs index 56e1c1de1fd2..ae1d29b76eb7 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryPrivateEndpointConnectionCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovesOrRejectsAPrivateEndpointConnectionForAFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnection_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -68,7 +68,7 @@ public async Task CreateOrUpdate_ApprovesOrRejectsAPrivateEndpointConnectionForA [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForADatafactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnection_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -102,7 +102,7 @@ public async Task Get_GetAPrivateEndpointConnectionForADatafactory() [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndPointConnectionsListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PrivateEndPointConnections_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/PrivateEndPointConnections_ListByFactory.json // this example is just showing the usage of "privateEndPointConnections_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -138,7 +138,7 @@ public async Task GetAll_PrivateEndPointConnectionsListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateEndpointConnectionForADatafactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnection_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -168,7 +168,7 @@ public async Task Exists_GetAPrivateEndpointConnectionForADatafactory() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateEndpointConnectionForADatafactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnection_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionResource.cs index 6c13cdfac1c3..159e6d544eb2 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointConnectionResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryPrivateEndpointConnectionResource [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionForADatafactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnection_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_GetAPrivateEndpointConnectionForADatafactory() [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateEndpointConnectionForADatafactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DeletePrivateEndpointConnection.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DeletePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnection_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_DeleteAPrivateEndpointConnectionForADatafactory() [Ignore("Only validating compilation of examples")] public async Task Update_ApprovesOrRejectsAPrivateEndpointConnectionForAFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnection_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointResource.cs index dfd3df05a0ec..b0d6b89f4911 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryPrivateEndpointResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryPrivateEndpointResource [Ignore("Only validating compilation of examples")] public async Task Get_ManagedPrivateEndpointsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json // this example is just showing the usage of "ManagedPrivateEndpoints_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task Get_ManagedPrivateEndpointsGet() [Ignore("Only validating compilation of examples")] public async Task Delete_ManagedVirtualNetworksDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Delete.json // this example is just showing the usage of "ManagedPrivateEndpoints_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -80,7 +80,7 @@ public async Task Delete_ManagedVirtualNetworksDelete() [Ignore("Only validating compilation of examples")] public async Task Update_ManagedVirtualNetworksCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Create.json // this example is just showing the usage of "ManagedPrivateEndpoints_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryResource.cs index 8bfa7b870c66..c9a22146adca 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryResource.cs @@ -8,7 +8,6 @@ using System; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Expressions.DataFactory; using Azure.Identity; using Azure.ResourceManager.DataFactory.Models; using NUnit.Framework; @@ -21,7 +20,7 @@ public partial class Sample_DataFactoryResource [Ignore("Only validating compilation of examples")] public async Task Get_FactoriesGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_Get.json // this example is just showing the usage of "Factories_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +50,7 @@ public async Task Get_FactoriesGet() [Ignore("Only validating compilation of examples")] public async Task Delete_FactoriesDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_Delete.json // this example is just showing the usage of "Factories_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -77,7 +76,7 @@ public async Task Delete_FactoriesDelete() [Ignore("Only validating compilation of examples")] public async Task Update_FactoriesUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_Update.json // this example is just showing the usage of "Factories_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -114,7 +113,7 @@ public async Task Update_FactoriesUpdate() [Ignore("Only validating compilation of examples")] public async Task GetGitHubAccessToken_FactoriesGetGitHubAccessToken() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json // this example is just showing the usage of "Factories_GetGitHubAccessToken" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -144,7 +143,7 @@ public async Task GetGitHubAccessToken_FactoriesGetGitHubAccessToken() [Ignore("Only validating compilation of examples")] public async Task GetDataPlaneAccess_FactoriesGetDataPlaneAccess() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json // this example is just showing the usage of "Factories_GetDataPlaneAccess" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -178,7 +177,7 @@ public async Task GetDataPlaneAccess_FactoriesGetDataPlaneAccess() [Ignore("Only validating compilation of examples")] public async Task GetExposureControlFeature_ExposureControlGetFeatureValueByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json // this example is just showing the usage of "ExposureControl_GetFeatureValueByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -209,7 +208,7 @@ public async Task GetExposureControlFeature_ExposureControlGetFeatureValueByFact [Ignore("Only validating compilation of examples")] public async Task GetExposureControlFeatures_ExposureControlQueryFeatureValuesByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_QueryFeatureValuesByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ExposureControl_QueryFeatureValuesByFactory.json // this example is just showing the usage of "ExposureControl_QueryFeatureValuesByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -248,7 +247,7 @@ public async Task GetExposureControlFeatures_ExposureControlQueryFeatureValuesBy [Ignore("Only validating compilation of examples")] public async Task GetPipelineRuns_PipelineRunsQueryByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json // this example is just showing the usage of "PipelineRuns_QueryByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -281,7 +280,7 @@ public async Task GetPipelineRuns_PipelineRunsQueryByFactory() [Ignore("Only validating compilation of examples")] public async Task GetPipelineRun_PipelineRunsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json // this example is just showing the usage of "PipelineRuns_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -308,7 +307,7 @@ public async Task GetPipelineRun_PipelineRunsGet() [Ignore("Only validating compilation of examples")] public async Task CancelPipelineRun_PipelineRunsCancel() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json // this example is just showing the usage of "PipelineRuns_Cancel" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -335,7 +334,7 @@ public async Task CancelPipelineRun_PipelineRunsCancel() [Ignore("Only validating compilation of examples")] public async Task GetActivityRun_ActivityRunsQueryByPipelineRun() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json // this example is just showing the usage of "ActivityRuns_QueryByPipelineRun" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -366,7 +365,7 @@ public async Task GetActivityRun_ActivityRunsQueryByPipelineRun() [Ignore("Only validating compilation of examples")] public async Task GetTriggers_TriggersQueryByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_QueryByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_QueryByFactory.json // this example is just showing the usage of "Triggers_QueryByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -403,7 +402,7 @@ public async Task GetTriggers_TriggersQueryByFactory() [Ignore("Only validating compilation of examples")] public async Task GetTriggerRuns_TriggerRunsQueryByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json // this example is just showing the usage of "TriggerRuns_QueryByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -436,7 +435,7 @@ public async Task GetTriggerRuns_TriggerRunsQueryByFactory() [Ignore("Only validating compilation of examples")] public async Task CreateDataFlowDebugSession_DataFlowDebugSessionCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Create.json // this example is just showing the usage of "DataFlowDebugSession_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -483,7 +482,7 @@ public async Task CreateDataFlowDebugSession_DataFlowDebugSessionCreate() [Ignore("Only validating compilation of examples")] public async Task GetDataFlowDebugSessions_DataFlowDebugSessionQueryByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_QueryByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_QueryByFactory.json // this example is just showing the usage of "DataFlowDebugSession_QueryByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -512,7 +511,7 @@ public async Task GetDataFlowDebugSessions_DataFlowDebugSessionQueryByFactory() [Ignore("Only validating compilation of examples")] public async Task AddDataFlowToDebugSession_DataFlowDebugSessionAddDataFlow() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_AddDataFlow.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_AddDataFlow.json // this example is just showing the usage of "DataFlowDebugSession_AddDataFlow" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -529,76 +528,7 @@ public async Task AddDataFlowToDebugSession_DataFlowDebugSessionAddDataFlow() DataFactoryResource dataFactory = client.GetDataFactoryResource(dataFactoryResourceId); // invoke the operation - DataFactoryDataFlowDebugPackageContent content = new DataFactoryDataFlowDebugPackageContent - { - SessionId = Guid.Parse("f06ed247-9d07-49b2-b05e-2cb4a2fc871e"), - DataFlow = new DataFactoryDataFlowDebugInfo(new DataFactoryMappingDataFlowProperties - { - Sources = {new DataFlowSource("source1") -{ -Dataset = new DatasetReference(DatasetReferenceType.DatasetReference, "DelimitedText2"), -}}, - Sinks = { }, - Transformations = { }, - Script = "\n\nsource(output(\n\t\tColumn_1 as string\n\t),\n\tallowSchemaDrift: true,\n\tvalidateSchema: false) ~> source1", - }) - { - Name = "dataflow1", - }, - Datasets = {new DataFactoryDatasetDebugInfo(new DelimitedTextDataset(new DataFactoryLinkedServiceReference(default, "linkedService5")) -{ -DataLocation = new AzureBlobStorageLocation -{ -Container = null, -FileName = null, -}, -ColumnDelimiter = null, -QuoteChar = null, -EscapeChar = null, -FirstRowAsHeader = null, -Schema = null, -Annotations = {}, -}) -{ -Name = "dataset1", -}}, - LinkedServices = {new DataFactoryLinkedServiceDebugInfo(new AzureBlobStorageLinkedService -{ -ConnectionString = null, -EncryptedCredential = "", -Annotations = {}, -}) -{ -Name = "linkedService1", -}}, - DebugSettings = new DataFlowDebugPackageDebugSettings - { - SourceSettings = {new DataFlowSourceSetting -{ -SourceName = "source1", -RowLimit = 1000, -}, new DataFlowSourceSetting -{ -SourceName = "source2", -RowLimit = 222, -}}, - Parameters = -{ -["sourcePath"] = BinaryData.FromObjectAsJson("Toy") -}, - DatasetParameters = BinaryData.FromObjectAsJson(new - { - Movies = new - { - path = "abc", - }, - Output = new - { - time = "def", - }, - }), - }, - }; + DataFactoryDataFlowDebugPackageContent content = new DataFactoryDataFlowDebugPackageContent(); DataFactoryDataFlowStartDebugSessionResult result = await dataFactory.AddDataFlowToDebugSessionAsync(content); Console.WriteLine($"Succeeded: {result}"); @@ -608,7 +538,7 @@ public async Task AddDataFlowToDebugSession_DataFlowDebugSessionAddDataFlow() [Ignore("Only validating compilation of examples")] public async Task DeleteDataFlowDebugSession_DataFlowDebugSessionDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Delete.json // this example is just showing the usage of "DataFlowDebugSession_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -638,7 +568,7 @@ public async Task DeleteDataFlowDebugSession_DataFlowDebugSessionDelete() [Ignore("Only validating compilation of examples")] public async Task ExecuteDataFlowDebugSessionCommand_DataFlowDebugSessionExecuteCommand() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_ExecuteCommand.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_ExecuteCommand.json // this example is just showing the usage of "DataFlowDebugSession_ExecuteCommand" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -674,7 +604,7 @@ public async Task ExecuteDataFlowDebugSessionCommand_DataFlowDebugSessionExecute [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinkResources_GetPrivateLinkResourcesOfASite() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateLinkResources.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/GetPrivateLinkResources.json // this example is just showing the usage of "privateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryServiceCredentialCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryServiceCredentialCollection.cs index b07d801e2ca5..f55ecd4a0548 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryServiceCredentialCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryServiceCredentialCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryServiceCredentialCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CredentialsCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Credentials_Create.json // this example is just showing the usage of "CredentialOperations_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -59,7 +59,7 @@ public async Task CreateOrUpdate_CredentialsCreate() [Ignore("Only validating compilation of examples")] public async Task Get_CredentialsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Credentials_Get.json // this example is just showing the usage of "CredentialOperations_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -93,7 +93,7 @@ public async Task Get_CredentialsGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_CredentialsListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Credentials_ListByFactory.json // this example is just showing the usage of "CredentialOperations_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -129,7 +129,7 @@ public async Task GetAll_CredentialsListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_CredentialsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Credentials_Get.json // this example is just showing the usage of "CredentialOperations_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -159,7 +159,7 @@ public async Task Exists_CredentialsGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_CredentialsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Credentials_Get.json // this example is just showing the usage of "CredentialOperations_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryServiceCredentialResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryServiceCredentialResource.cs index 8a0ef984cc2a..05b46cd779d2 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryServiceCredentialResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryServiceCredentialResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryServiceCredentialResource [Ignore("Only validating compilation of examples")] public async Task Get_CredentialsGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Credentials_Get.json // this example is just showing the usage of "CredentialOperations_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_CredentialsGet() [Ignore("Only validating compilation of examples")] public async Task Delete_CredentialsDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Credentials_Delete.json // this example is just showing the usage of "CredentialOperations_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_CredentialsDelete() [Ignore("Only validating compilation of examples")] public async Task Update_CredentialsCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Credentials_Create.json // this example is just showing the usage of "CredentialOperations_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryTriggerCollection.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryTriggerCollection.cs index d34224c025c3..2a7a928b4dfe 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryTriggerCollection.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryTriggerCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryTriggerCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TriggersCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Create.json // this example is just showing the usage of "Triggers_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -76,7 +76,7 @@ public async Task CreateOrUpdate_TriggersCreate() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_TriggersUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Update.json // this example is just showing the usage of "Triggers_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -133,7 +133,7 @@ public async Task CreateOrUpdate_TriggersUpdate() [Ignore("Only validating compilation of examples")] public async Task Get_TriggersGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Get.json // this example is just showing the usage of "Triggers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -167,7 +167,7 @@ public async Task Get_TriggersGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_TriggersListByFactory() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json // this example is just showing the usage of "Triggers_ListByFactory" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -203,7 +203,7 @@ public async Task GetAll_TriggersListByFactory() [Ignore("Only validating compilation of examples")] public async Task Exists_TriggersGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Get.json // this example is just showing the usage of "Triggers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -233,7 +233,7 @@ public async Task Exists_TriggersGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_TriggersGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Get.json // this example is just showing the usage of "Triggers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryTriggerResource.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryTriggerResource.cs index 4a47ae57fb1f..30bd8a89fa8c 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryTriggerResource.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_DataFactoryTriggerResource.cs @@ -20,7 +20,7 @@ public partial class Sample_DataFactoryTriggerResource [Ignore("Only validating compilation of examples")] public async Task Get_TriggersGet() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Get.json // this example is just showing the usage of "Triggers_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_TriggersGet() [Ignore("Only validating compilation of examples")] public async Task Delete_TriggersDelete() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Delete.json // this example is just showing the usage of "Triggers_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_TriggersDelete() [Ignore("Only validating compilation of examples")] public async Task Update_TriggersCreate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Create.json // this example is just showing the usage of "Triggers_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -131,7 +131,7 @@ public async Task Update_TriggersCreate() [Ignore("Only validating compilation of examples")] public async Task Update_TriggersUpdate() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Update.json // this example is just showing the usage of "Triggers_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -185,7 +185,7 @@ public async Task Update_TriggersUpdate() [Ignore("Only validating compilation of examples")] public async Task SubscribeToEvents_TriggersSubscribeToEvents() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_SubscribeToEvents.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_SubscribeToEvents.json // this example is just showing the usage of "Triggers_SubscribeToEvents" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -213,7 +213,7 @@ public async Task SubscribeToEvents_TriggersSubscribeToEvents() [Ignore("Only validating compilation of examples")] public async Task GetEventSubscriptionStatus_TriggersGetEventSubscriptionStatus() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_GetEventSubscriptionStatus.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_GetEventSubscriptionStatus.json // this example is just showing the usage of "Triggers_GetEventSubscriptionStatus" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -240,7 +240,7 @@ public async Task GetEventSubscriptionStatus_TriggersGetEventSubscriptionStatus( [Ignore("Only validating compilation of examples")] public async Task UnsubscribeFromEvents_TriggersUnsubscribeFromEvents() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_UnsubscribeFromEvents.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_UnsubscribeFromEvents.json // this example is just showing the usage of "Triggers_UnsubscribeFromEvents" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -268,7 +268,7 @@ public async Task UnsubscribeFromEvents_TriggersUnsubscribeFromEvents() [Ignore("Only validating compilation of examples")] public async Task Start_TriggersStart() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Start.json // this example is just showing the usage of "Triggers_Start" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -295,7 +295,7 @@ public async Task Start_TriggersStart() [Ignore("Only validating compilation of examples")] public async Task Stop_TriggersStop() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Triggers_Stop.json // this example is just showing the usage of "Triggers_Stop" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -322,7 +322,7 @@ public async Task Stop_TriggersStop() [Ignore("Only validating compilation of examples")] public async Task RerunTriggerRun_TriggersRerun() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json // this example is just showing the usage of "TriggerRuns_Rerun" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -350,7 +350,7 @@ public async Task RerunTriggerRun_TriggersRerun() [Ignore("Only validating compilation of examples")] public async Task CancelTriggerRun_TriggersCancel() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Cancel.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/TriggerRuns_Cancel.json // this example is just showing the usage of "TriggerRuns_Cancel" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 029e1067dec4..e6be2ae1d7f6 100644 --- a/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/datafactory/Azure.ResourceManager.DataFactory/tests/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -21,7 +21,7 @@ public partial class Sample_SubscriptionResourceExtensions [Ignore("Only validating compilation of examples")] public async Task GetDataFactories_FactoriesList() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_List.json // this example is just showing the usage of "Factories_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task GetDataFactories_FactoriesList() [Ignore("Only validating compilation of examples")] public async Task ConfigureFactoryRepoInformation_FactoriesConfigureFactoryRepo() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json // this example is just showing the usage of "Factories_ConfigureFactoryRepo" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -90,7 +90,7 @@ public async Task ConfigureFactoryRepoInformation_FactoriesConfigureFactoryRepo( [Ignore("Only validating compilation of examples")] public async Task GetFeatureValueExposureControl_ExposureControlGetFeatureValue() { - // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json + // Generated from example definition: specification/datafactory/resource-manager/Microsoft.DataFactory/DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json // this example is just showing the usage of "ExposureControl_GetFeatureValue" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line