From cb4d027cd00510ed10f87a1ea5db7a0c7750be1f Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 13 Dec 2024 01:10:11 -0800 Subject: [PATCH] [Release] sdk/resourcemanager/datafactory/armdatafactory/9.1.0 generation from spec commit: ab04533261eff228f28e08900445d0edef3eb70c (#23845) Co-authored-by: ReleaseHelper --- .../datafactory/armdatafactory/CHANGELOG.md | 19 ++ .../activityruns_client_example_test.go | 2 +- .../datafactory/armdatafactory/autorest.md | 6 +- .../changedatacapture_client_example_test.go | 16 +- .../datafactory/armdatafactory/constants.go | 2 +- ...redentialoperations_client_example_test.go | 8 +- ...ataflowdebugsession_client_example_test.go | 10 +- .../dataflows_client_example_test.go | 10 +- .../datasets_client_example_test.go | 10 +- .../exposurecontrol_client_example_test.go | 6 +- .../factories_client_example_test.go | 18 +- .../globalparameters_client_example_test.go | 10 +- ...grationruntimenodes_client_example_test.go | 8 +- ...ntimeobjectmetadata_client_example_test.go | 4 +- ...integrationruntimes_client_example_test.go | 34 +- .../datafactory/armdatafactory/interfaces.go | 30 +- .../linkedservices_client_example_test.go | 10 +- ...gedprivateendpoints_client_example_test.go | 8 +- ...agedvirtualnetworks_client_example_test.go | 6 +- .../datafactory/armdatafactory/models.go | 205 +++++++++++- .../armdatafactory/models_serde.go | 313 ++++++++++++++++++ .../operations_client_example_test.go | 2 +- .../pipelineruns_client_example_test.go | 6 +- .../pipelines_client_example_test.go | 12 +- .../armdatafactory/polymorphic_helpers.go | 4 + ...eendpointconnection_client_example_test.go | 6 +- ...endpointconnections_client_example_test.go | 2 +- ...rivatelinkresources_client_example_test.go | 2 +- .../triggerruns_client_example_test.go | 6 +- .../triggers_client_example_test.go | 22 +- 30 files changed, 669 insertions(+), 128 deletions(-) diff --git a/sdk/resourcemanager/datafactory/armdatafactory/CHANGELOG.md b/sdk/resourcemanager/datafactory/armdatafactory/CHANGELOG.md index aa2ff7b9f1c0..ba520d8e8574 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/CHANGELOG.md +++ b/sdk/resourcemanager/datafactory/armdatafactory/CHANGELOG.md @@ -1,5 +1,24 @@ # Release History +## 9.1.0 (2024-12-26) +### Features Added + +- New function `*IcebergDataset.GetDataset() *Dataset` +- New function `*IcebergSink.GetCopySink() *CopySink` +- New function `*IcebergWriteSettings.GetFormatWriteSettings() *FormatWriteSettings` +- New struct `IcebergDataset` +- New struct `IcebergDatasetTypeProperties` +- New struct `IcebergSink` +- New struct `IcebergWriteSettings` +- New field `CommandTimeout`, `Database`, `Encoding`, `Port`, `ReadBufferSize`, `SSLMode`, `Server`, `Timeout`, `Timezone`, `TrustServerCertificate`, `Username` in struct `AzurePostgreSQLLinkedServiceTypeProperties` +- New field `SSLMode`, `UseSystemTrustStore` in struct `MariaDBLinkedServiceTypeProperties` +- New field `AllowZeroDateTime`, `ConnectionTimeout`, `ConvertZeroDateTime`, `GUIDFormat`, `SSLCert`, `SSLKey`, `TreatTinyAsBoolean` in struct `MySQLLinkedServiceTypeProperties` +- New field `AuthenticationType` in struct `PostgreSQLV2LinkedServiceTypeProperties` +- New field `PageSize` in struct `SalesforceV2Source` +- New field `PageSize` in struct `ServiceNowV2Source` +- New field `Host` in struct `SnowflakeLinkedV2ServiceTypeProperties` + + ## 9.0.0 (2024-08-23) ### Breaking Changes diff --git a/sdk/resourcemanager/datafactory/armdatafactory/activityruns_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/activityruns_client_example_test.go index 2d36f00181fe..5dfc87937e16 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/activityruns_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/activityruns_client_example_test.go @@ -20,7 +20,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json func ExampleActivityRunsClient_QueryByPipelineRun() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/autorest.md b/sdk/resourcemanager/datafactory/armdatafactory/autorest.md index 0e6b4aca62c2..283d3ff65a8e 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/autorest.md +++ b/sdk/resourcemanager/datafactory/armdatafactory/autorest.md @@ -5,9 +5,9 @@ ``` yaml azure-arm: true require: -- https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/readme.md -- https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/readme.go.md +- https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/readme.md +- https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 9.0.0 +module-version: 9.1.0 tag: package-2018-06 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/datafactory/armdatafactory/changedatacapture_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/changedatacapture_client_example_test.go index 33374f0c62ef..512b770c7d8b 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/changedatacapture_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/changedatacapture_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_ListByFactory.json func ExampleChangeDataCaptureClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -57,7 +57,7 @@ func ExampleChangeDataCaptureClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Create.json func ExampleChangeDataCaptureClient_CreateOrUpdate_changeDataCaptureCreate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -92,7 +92,7 @@ func ExampleChangeDataCaptureClient_CreateOrUpdate_changeDataCaptureCreate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Update.json func ExampleChangeDataCaptureClient_CreateOrUpdate_changeDataCaptureUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -129,7 +129,7 @@ func ExampleChangeDataCaptureClient_CreateOrUpdate_changeDataCaptureUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Get.json func ExampleChangeDataCaptureClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -159,7 +159,7 @@ func ExampleChangeDataCaptureClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Delete.json func ExampleChangeDataCaptureClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -176,7 +176,7 @@ func ExampleChangeDataCaptureClient_Delete() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Start.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Start.json func ExampleChangeDataCaptureClient_Start() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -193,7 +193,7 @@ func ExampleChangeDataCaptureClient_Start() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Stop.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Stop.json func ExampleChangeDataCaptureClient_Stop() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -210,7 +210,7 @@ func ExampleChangeDataCaptureClient_Stop() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Status.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ChangeDataCapture_Status.json func ExampleChangeDataCaptureClient_Status() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/constants.go b/sdk/resourcemanager/datafactory/armdatafactory/constants.go index 60e9efcb2e8c..bfda077d40b0 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/constants.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/constants.go @@ -10,7 +10,7 @@ package armdatafactory const ( moduleName = "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory" - moduleVersion = "v9.0.0" + moduleVersion = "v9.1.0" ) // ActivityOnInactiveMarkAs - Status result of the activity when the state is set to Inactive. This is an optional property diff --git a/sdk/resourcemanager/datafactory/armdatafactory/credentialoperations_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/credentialoperations_client_example_test.go index ddb04f7cfa5b..b015a9dcad82 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/credentialoperations_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/credentialoperations_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_ListByFactory.json func ExampleCredentialOperationsClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -59,7 +59,7 @@ func ExampleCredentialOperationsClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Create.json func ExampleCredentialOperationsClient_CreateOrUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -98,7 +98,7 @@ func ExampleCredentialOperationsClient_CreateOrUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Get.json func ExampleCredentialOperationsClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -131,7 +131,7 @@ func ExampleCredentialOperationsClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Credentials_Delete.json func ExampleCredentialOperationsClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/dataflowdebugsession_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/dataflowdebugsession_client_example_test.go index 8b3ec0d66a2a..c5d96a7c6e90 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/dataflowdebugsession_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/dataflowdebugsession_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Create.json func ExampleDataFlowDebugSessionClient_BeginCreate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -64,7 +64,7 @@ func ExampleDataFlowDebugSessionClient_BeginCreate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_QueryByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_QueryByFactory.json func ExampleDataFlowDebugSessionClient_NewQueryByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -104,7 +104,7 @@ func ExampleDataFlowDebugSessionClient_NewQueryByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_AddDataFlow.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_AddDataFlow.json func ExampleDataFlowDebugSessionClient_AddDataFlow() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -210,7 +210,7 @@ func ExampleDataFlowDebugSessionClient_AddDataFlow() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_Delete.json func ExampleDataFlowDebugSessionClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -229,7 +229,7 @@ func ExampleDataFlowDebugSessionClient_Delete() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_ExecuteCommand.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlowDebugSession_ExecuteCommand.json func ExampleDataFlowDebugSessionClient_BeginExecuteCommand() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/dataflows_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/dataflows_client_example_test.go index 8d14391f89d7..1d5e6ffeb652 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/dataflows_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/dataflows_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Create.json func ExampleDataFlowsClient_CreateOrUpdate_dataFlowsCreate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -163,7 +163,7 @@ func ExampleDataFlowsClient_CreateOrUpdate_dataFlowsCreate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Update.json func ExampleDataFlowsClient_CreateOrUpdate_dataFlowsUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -308,7 +308,7 @@ func ExampleDataFlowsClient_CreateOrUpdate_dataFlowsUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Get.json func ExampleDataFlowsClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -371,7 +371,7 @@ func ExampleDataFlowsClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_Delete.json func ExampleDataFlowsClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -388,7 +388,7 @@ func ExampleDataFlowsClient_Delete() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DataFlows_ListByFactory.json func ExampleDataFlowsClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/datasets_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/datasets_client_example_test.go index 264f6f8f19b8..5e24fded74fa 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/datasets_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/datasets_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json func ExampleDatasetsClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -81,7 +81,7 @@ func ExampleDatasetsClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json func ExampleDatasetsClient_CreateOrUpdate_datasetsCreate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -176,7 +176,7 @@ func ExampleDatasetsClient_CreateOrUpdate_datasetsCreate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json func ExampleDatasetsClient_CreateOrUpdate_datasetsUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -261,7 +261,7 @@ func ExampleDatasetsClient_CreateOrUpdate_datasetsUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json func ExampleDatasetsClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -316,7 +316,7 @@ func ExampleDatasetsClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json func ExampleDatasetsClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/exposurecontrol_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/exposurecontrol_client_example_test.go index 6f7eb0994da5..6ba747af2633 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/exposurecontrol_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/exposurecontrol_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json func ExampleExposureControlClient_GetFeatureValue() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -45,7 +45,7 @@ func ExampleExposureControlClient_GetFeatureValue() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json func ExampleExposureControlClient_GetFeatureValueByFactory() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -72,7 +72,7 @@ func ExampleExposureControlClient_GetFeatureValueByFactory() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_QueryFeatureValuesByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_QueryFeatureValuesByFactory.json func ExampleExposureControlClient_QueryFeatureValuesByFactory() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/factories_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/factories_client_example_test.go index 3d62a7a15398..0578483a5921 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/factories_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/factories_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json func ExampleFactoriesClient_NewListPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -244,7 +244,7 @@ func ExampleFactoriesClient_NewListPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json func ExampleFactoriesClient_ConfigureFactoryRepo() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -301,7 +301,7 @@ func ExampleFactoriesClient_ConfigureFactoryRepo() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json func ExampleFactoriesClient_NewListByResourceGroupPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -387,7 +387,7 @@ func ExampleFactoriesClient_NewListByResourceGroupPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json func ExampleFactoriesClient_CreateOrUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -423,7 +423,7 @@ func ExampleFactoriesClient_CreateOrUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json func ExampleFactoriesClient_Update() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -462,7 +462,7 @@ func ExampleFactoriesClient_Update() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json func ExampleFactoriesClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -510,7 +510,7 @@ func ExampleFactoriesClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json func ExampleFactoriesClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -527,7 +527,7 @@ func ExampleFactoriesClient_Delete() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json func ExampleFactoriesClient_GetGitHubAccessToken() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -554,7 +554,7 @@ func ExampleFactoriesClient_GetGitHubAccessToken() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json func ExampleFactoriesClient_GetDataPlaneAccess() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/globalparameters_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/globalparameters_client_example_test.go index 764af7002f88..a9dfa0e8ef48 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/globalparameters_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/globalparameters_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_ListByFactory.json func ExampleGlobalParametersClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -81,7 +81,7 @@ func ExampleGlobalParametersClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Get.json func ExampleGlobalParametersClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -113,7 +113,7 @@ func ExampleGlobalParametersClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Create.json func ExampleGlobalParametersClient_CreateOrUpdate_globalParametersCreate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -152,7 +152,7 @@ func ExampleGlobalParametersClient_CreateOrUpdate_globalParametersCreate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Update.json func ExampleGlobalParametersClient_CreateOrUpdate_globalParametersUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -191,7 +191,7 @@ func ExampleGlobalParametersClient_CreateOrUpdate_globalParametersUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GlobalParameters_Delete.json func ExampleGlobalParametersClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimenodes_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimenodes_client_example_test.go index 8021bd984808..9e7b217667fe 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimenodes_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimenodes_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json func ExampleIntegrationRuntimeNodesClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -59,7 +59,7 @@ func ExampleIntegrationRuntimeNodesClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json func ExampleIntegrationRuntimeNodesClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -76,7 +76,7 @@ func ExampleIntegrationRuntimeNodesClient_Delete() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json func ExampleIntegrationRuntimeNodesClient_Update() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -120,7 +120,7 @@ func ExampleIntegrationRuntimeNodesClient_Update() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json func ExampleIntegrationRuntimeNodesClient_GetIPAddress() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimeobjectmetadata_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimeobjectmetadata_client_example_test.go index b5a7578b8c3a..d34ceeb3f92e 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimeobjectmetadata_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimeobjectmetadata_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json func ExampleIntegrationRuntimeObjectMetadataClient_BeginRefresh() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -46,7 +46,7 @@ func ExampleIntegrationRuntimeObjectMetadataClient_BeginRefresh() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json func ExampleIntegrationRuntimeObjectMetadataClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimes_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimes_client_example_test.go index 5b8c7efd404e..d9ade46b0efd 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimes_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/integrationruntimes_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json func ExampleIntegrationRuntimesClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -56,7 +56,7 @@ func ExampleIntegrationRuntimesClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json func ExampleIntegrationRuntimesClient_CreateOrUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -91,7 +91,7 @@ func ExampleIntegrationRuntimesClient_CreateOrUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json func ExampleIntegrationRuntimesClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -121,7 +121,7 @@ func ExampleIntegrationRuntimesClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json func ExampleIntegrationRuntimesClient_Update() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -154,7 +154,7 @@ func ExampleIntegrationRuntimesClient_Update() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json func ExampleIntegrationRuntimesClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -171,7 +171,7 @@ func ExampleIntegrationRuntimesClient_Delete() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json func ExampleIntegrationRuntimesClient_GetStatus() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -240,7 +240,7 @@ func ExampleIntegrationRuntimesClient_GetStatus() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json func ExampleIntegrationRuntimesClient_ListOutboundNetworkDependenciesEndpoints() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -328,7 +328,7 @@ func ExampleIntegrationRuntimesClient_ListOutboundNetworkDependenciesEndpoints() // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json func ExampleIntegrationRuntimesClient_GetConnectionInfo() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -356,7 +356,7 @@ func ExampleIntegrationRuntimesClient_GetConnectionInfo() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json func ExampleIntegrationRuntimesClient_RegenerateAuthKey() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -381,7 +381,7 @@ func ExampleIntegrationRuntimesClient_RegenerateAuthKey() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json func ExampleIntegrationRuntimesClient_ListAuthKeys() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -405,7 +405,7 @@ func ExampleIntegrationRuntimesClient_ListAuthKeys() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json func ExampleIntegrationRuntimesClient_BeginStart() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -444,7 +444,7 @@ func ExampleIntegrationRuntimesClient_BeginStart() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json func ExampleIntegrationRuntimesClient_BeginStop() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -465,7 +465,7 @@ func ExampleIntegrationRuntimesClient_BeginStop() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json func ExampleIntegrationRuntimesClient_SyncCredentials() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -482,7 +482,7 @@ func ExampleIntegrationRuntimesClient_SyncCredentials() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json func ExampleIntegrationRuntimesClient_GetMonitoringData() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -515,7 +515,7 @@ func ExampleIntegrationRuntimesClient_GetMonitoringData() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json func ExampleIntegrationRuntimesClient_Upgrade() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -532,7 +532,7 @@ func ExampleIntegrationRuntimesClient_Upgrade() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json func ExampleIntegrationRuntimesClient_RemoveLinks() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -551,7 +551,7 @@ func ExampleIntegrationRuntimesClient_RemoveLinks() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json func ExampleIntegrationRuntimesClient_CreateLinkedIntegrationRuntime() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/interfaces.go b/sdk/resourcemanager/datafactory/armdatafactory/interfaces.go index 504b9b6b74c7..a1e8df530460 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/interfaces.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/interfaces.go @@ -50,7 +50,7 @@ type ControlActivityClassification interface { // - *AvroSink, *AzureBlobFSSink, *AzureDataExplorerSink, *AzureDataLakeStoreSink, *AzureDatabricksDeltaLakeSink, *AzureMySQLSink, // - *AzurePostgreSQLSink, *AzureQueueSink, *AzureSQLSink, *AzureSearchIndexSink, *AzureTableSink, *BinarySink, *BlobSink, // - *CommonDataServiceForAppsSink, *CopySink, *CosmosDbMongoDbAPISink, *CosmosDbSQLAPISink, *DelimitedTextSink, *DocumentDbCollectionSink, -// - *DynamicsCrmSink, *DynamicsSink, *FileSystemSink, *InformixSink, *JSONSink, *LakeHouseTableSink, *MicrosoftAccessSink, +// - *DynamicsCrmSink, *DynamicsSink, *FileSystemSink, *IcebergSink, *InformixSink, *JSONSink, *LakeHouseTableSink, *MicrosoftAccessSink, // - *MongoDbAtlasSink, *MongoDbV2Sink, *OdbcSink, *OracleSink, *OrcSink, *ParquetSink, *RestSink, *SQLDWSink, *SQLMISink, // - *SQLServerSink, *SQLSink, *SalesforceServiceCloudSink, *SalesforceServiceCloudV2Sink, *SalesforceSink, *SalesforceV2Sink, // - *SapCloudForCustomerSink, *SnowflakeSink, *SnowflakeV2Sink, *WarehouseSink @@ -121,18 +121,19 @@ type DataFlowClassification interface { // - *CouchbaseTableDataset, *CustomDataset, *Dataset, *Db2TableDataset, *DelimitedTextDataset, *DocumentDbCollectionDataset, // - *DrillTableDataset, *DynamicsAXResourceDataset, *DynamicsCrmEntityDataset, *DynamicsEntityDataset, *EloquaObjectDataset, // - *ExcelDataset, *FileShareDataset, *GoogleAdWordsObjectDataset, *GoogleBigQueryObjectDataset, *GoogleBigQueryV2ObjectDataset, -// - *GreenplumTableDataset, *HBaseObjectDataset, *HTTPDataset, *HiveObjectDataset, *HubspotObjectDataset, *ImpalaObjectDataset, -// - *InformixTableDataset, *JSONDataset, *JiraObjectDataset, *LakeHouseTableDataset, *MagentoObjectDataset, *MariaDBTableDataset, -// - *MarketoObjectDataset, *MicrosoftAccessTableDataset, *MongoDbAtlasCollectionDataset, *MongoDbCollectionDataset, *MongoDbV2CollectionDataset, -// - *MySQLTableDataset, *NetezzaTableDataset, *ODataResourceDataset, *OdbcTableDataset, *Office365Dataset, *OracleServiceCloudObjectDataset, -// - *OracleTableDataset, *OrcDataset, *ParquetDataset, *PaypalObjectDataset, *PhoenixObjectDataset, *PostgreSQLTableDataset, -// - *PostgreSQLV2TableDataset, *PrestoObjectDataset, *QuickBooksObjectDataset, *RelationalTableDataset, *ResponsysObjectDataset, -// - *RestResourceDataset, *SQLServerTableDataset, *SalesforceMarketingCloudObjectDataset, *SalesforceObjectDataset, *SalesforceServiceCloudObjectDataset, -// - *SalesforceServiceCloudV2ObjectDataset, *SalesforceV2ObjectDataset, *SapBwCubeDataset, *SapCloudForCustomerResourceDataset, -// - *SapEccResourceDataset, *SapHanaTableDataset, *SapOdpResourceDataset, *SapOpenHubTableDataset, *SapTableResourceDataset, -// - *ServiceNowObjectDataset, *ServiceNowV2ObjectDataset, *SharePointOnlineListResourceDataset, *ShopifyObjectDataset, *SnowflakeDataset, -// - *SnowflakeV2Dataset, *SparkObjectDataset, *SquareObjectDataset, *SybaseTableDataset, *TeradataTableDataset, *VerticaTableDataset, -// - *WarehouseTableDataset, *WebTableDataset, *XMLDataset, *XeroObjectDataset, *ZohoObjectDataset +// - *GreenplumTableDataset, *HBaseObjectDataset, *HTTPDataset, *HiveObjectDataset, *HubspotObjectDataset, *IcebergDataset, +// - *ImpalaObjectDataset, *InformixTableDataset, *JSONDataset, *JiraObjectDataset, *LakeHouseTableDataset, *MagentoObjectDataset, +// - *MariaDBTableDataset, *MarketoObjectDataset, *MicrosoftAccessTableDataset, *MongoDbAtlasCollectionDataset, *MongoDbCollectionDataset, +// - *MongoDbV2CollectionDataset, *MySQLTableDataset, *NetezzaTableDataset, *ODataResourceDataset, *OdbcTableDataset, *Office365Dataset, +// - *OracleServiceCloudObjectDataset, *OracleTableDataset, *OrcDataset, *ParquetDataset, *PaypalObjectDataset, *PhoenixObjectDataset, +// - *PostgreSQLTableDataset, *PostgreSQLV2TableDataset, *PrestoObjectDataset, *QuickBooksObjectDataset, *RelationalTableDataset, +// - *ResponsysObjectDataset, *RestResourceDataset, *SQLServerTableDataset, *SalesforceMarketingCloudObjectDataset, *SalesforceObjectDataset, +// - *SalesforceServiceCloudObjectDataset, *SalesforceServiceCloudV2ObjectDataset, *SalesforceV2ObjectDataset, *SapBwCubeDataset, +// - *SapCloudForCustomerResourceDataset, *SapEccResourceDataset, *SapHanaTableDataset, *SapOdpResourceDataset, *SapOpenHubTableDataset, +// - *SapTableResourceDataset, *ServiceNowObjectDataset, *ServiceNowV2ObjectDataset, *SharePointOnlineListResourceDataset, +// - *ShopifyObjectDataset, *SnowflakeDataset, *SnowflakeV2Dataset, *SparkObjectDataset, *SquareObjectDataset, *SybaseTableDataset, +// - *TeradataTableDataset, *VerticaTableDataset, *WarehouseTableDataset, *WebTableDataset, *XMLDataset, *XeroObjectDataset, +// - *ZohoObjectDataset type DatasetClassification interface { // GetDataset returns the Dataset content of the underlying type. GetDataset() *Dataset @@ -212,7 +213,8 @@ type FormatReadSettingsClassification interface { // FormatWriteSettingsClassification provides polymorphic access to related types. // Call the interface's GetFormatWriteSettings() method to access the common type. // Use a type switch to determine the concrete type. The possible types are: -// - *AvroWriteSettings, *DelimitedTextWriteSettings, *FormatWriteSettings, *JSONWriteSettings, *OrcWriteSettings, *ParquetWriteSettings +// - *AvroWriteSettings, *DelimitedTextWriteSettings, *FormatWriteSettings, *IcebergWriteSettings, *JSONWriteSettings, *OrcWriteSettings, +// - *ParquetWriteSettings type FormatWriteSettingsClassification interface { // GetFormatWriteSettings returns the FormatWriteSettings content of the underlying type. GetFormatWriteSettings() *FormatWriteSettings diff --git a/sdk/resourcemanager/datafactory/armdatafactory/linkedservices_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/linkedservices_client_example_test.go index a6b0a2dd8238..dd82b86e163e 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/linkedservices_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/linkedservices_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json func ExampleLinkedServicesClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -63,7 +63,7 @@ func ExampleLinkedServicesClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json func ExampleLinkedServicesClient_CreateOrUpdate_linkedServicesCreate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -109,7 +109,7 @@ func ExampleLinkedServicesClient_CreateOrUpdate_linkedServicesCreate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json func ExampleLinkedServicesClient_CreateOrUpdate_linkedServicesUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -157,7 +157,7 @@ func ExampleLinkedServicesClient_CreateOrUpdate_linkedServicesUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json func ExampleLinkedServicesClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -194,7 +194,7 @@ func ExampleLinkedServicesClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json func ExampleLinkedServicesClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/managedprivateendpoints_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/managedprivateendpoints_client_example_test.go index 852cc72b07f3..c30f1223f703 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/managedprivateendpoints_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/managedprivateendpoints_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_ListByFactory.json func ExampleManagedPrivateEndpointsClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -64,7 +64,7 @@ func ExampleManagedPrivateEndpointsClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Create.json func ExampleManagedPrivateEndpointsClient_CreateOrUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -108,7 +108,7 @@ func ExampleManagedPrivateEndpointsClient_CreateOrUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Get.json func ExampleManagedPrivateEndpointsClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -146,7 +146,7 @@ func ExampleManagedPrivateEndpointsClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedPrivateEndpoints_Delete.json func ExampleManagedPrivateEndpointsClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/managedvirtualnetworks_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/managedvirtualnetworks_client_example_test.go index 5b57abaeffc1..655f3a496539 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/managedvirtualnetworks_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/managedvirtualnetworks_client_example_test.go @@ -17,7 +17,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_ListByFactory.json func ExampleManagedVirtualNetworksClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -55,7 +55,7 @@ func ExampleManagedVirtualNetworksClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Create.json func ExampleManagedVirtualNetworksClient_CreateOrUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -87,7 +87,7 @@ func ExampleManagedVirtualNetworksClient_CreateOrUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ManagedVirtualNetworks_Get.json func ExampleManagedVirtualNetworksClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/models.go b/sdk/resourcemanager/datafactory/armdatafactory/models.go index 38447623dc21..1f8f60b8f464 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/models.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/models.go @@ -4825,15 +4825,52 @@ func (a *AzurePostgreSQLLinkedService) GetLinkedService() *LinkedService { // AzurePostgreSQLLinkedServiceTypeProperties - Azure PostgreSQL linked service properties. type AzurePostgreSQLLinkedServiceTypeProperties struct { + // The time to wait (in seconds) while trying to execute a command before terminating the attempt and generating an error. + // Set to zero for infinity. Type: integer. + CommandTimeout any + // An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. ConnectionString any + // Database name for connection. Type: string. + Database any + + // Gets or sets the .NET encoding that will be used to encode/decode PostgreSQL string data. Type: string + Encoding any + // The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. // Type: string. EncryptedCredential *string // The Azure key vault secret reference of password in connection string. Password *AzureKeyVaultSecretReference + + // The port for the connection. Type: integer. + Port any + + // Determines the size of the internal buffer uses when reading. Increasing may improve performance if transferring large + // values from the database. Type: integer. + ReadBufferSize any + + // SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: + // integer. + SSLMode any + + // Server name for connection. Type: string. + Server any + + // The time to wait (in seconds) while trying to establish a connection before terminating the attempt and generating an error. + // Type: integer. + Timeout any + + // Gets or sets the session timezone. Type: string. + Timezone any + + // Whether to trust the server certificate without validating it. Type: boolean. + TrustServerCertificate any + + // Username for authentication. Type: string. + Username any } // AzurePostgreSQLSink - A copy activity Azure PostgreSQL sink. @@ -15850,6 +15887,125 @@ func (h *HubspotSource) GetTabularSource() *TabularSource { } } +// IcebergDataset - Iceberg dataset. +type IcebergDataset struct { + // REQUIRED; Linked service reference. + LinkedServiceName *LinkedServiceReference + + // REQUIRED; Type of dataset. + Type *string + + // OPTIONAL; Contains additional key/value pairs not defined in the schema. + AdditionalProperties map[string]any + + // List of tags that can be used for describing the Dataset. + Annotations []any + + // Dataset description. + Description *string + + // The folder that this Dataset is in. If not specified, Dataset will appear at the root level. + Folder *DatasetFolder + + // Parameters for dataset. + Parameters map[string]*ParameterSpecification + + // Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: + // DatasetSchemaDataElement. + Schema any + + // Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. + Structure any + + // Iceberg dataset properties. + TypeProperties *IcebergDatasetTypeProperties +} + +// GetDataset implements the DatasetClassification interface for type IcebergDataset. +func (i *IcebergDataset) GetDataset() *Dataset { + return &Dataset{ + AdditionalProperties: i.AdditionalProperties, + Annotations: i.Annotations, + Description: i.Description, + Folder: i.Folder, + LinkedServiceName: i.LinkedServiceName, + Parameters: i.Parameters, + Schema: i.Schema, + Structure: i.Structure, + Type: i.Type, + } +} + +// IcebergDatasetTypeProperties - Iceberg dataset properties. +type IcebergDatasetTypeProperties struct { + // REQUIRED; The location of the iceberg storage. Setting a file name is not allowed for iceberg format. + Location DatasetLocationClassification +} + +// IcebergSink - A copy activity Iceberg sink. +type IcebergSink struct { + // REQUIRED; Copy sink type. + Type *string + + // OPTIONAL; Contains additional key/value pairs not defined in the schema. + AdditionalProperties map[string]any + + // If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean). + DisableMetricsCollection any + + // Iceberg format settings. + FormatSettings *IcebergWriteSettings + + // The maximum concurrent connection count for the sink data store. Type: integer (or Expression with resultType integer). + MaxConcurrentConnections any + + // Sink retry count. Type: integer (or Expression with resultType integer). + SinkRetryCount any + + // Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + SinkRetryWait any + + // Iceberg store settings. + StoreSettings StoreWriteSettingsClassification + + // Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. + WriteBatchSize any + + // Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + WriteBatchTimeout any +} + +// GetCopySink implements the CopySinkClassification interface for type IcebergSink. +func (i *IcebergSink) GetCopySink() *CopySink { + return &CopySink{ + AdditionalProperties: i.AdditionalProperties, + DisableMetricsCollection: i.DisableMetricsCollection, + MaxConcurrentConnections: i.MaxConcurrentConnections, + SinkRetryCount: i.SinkRetryCount, + SinkRetryWait: i.SinkRetryWait, + Type: i.Type, + WriteBatchSize: i.WriteBatchSize, + WriteBatchTimeout: i.WriteBatchTimeout, + } +} + +// IcebergWriteSettings - Iceberg write settings. +type IcebergWriteSettings struct { + // REQUIRED; The write setting type. + Type *string + + // OPTIONAL; Contains additional key/value pairs not defined in the schema. + AdditionalProperties map[string]any +} + +// GetFormatWriteSettings implements the FormatWriteSettingsClassification interface for type IcebergWriteSettings. +func (i *IcebergWriteSettings) GetFormatWriteSettings() *FormatWriteSettings { + return &FormatWriteSettings{ + AdditionalProperties: i.AdditionalProperties, + Type: i.Type, + } +} + // IfConditionActivity - This activity evaluates a boolean expression and executes either the activities under the ifTrueActivities // property or the ifFalseActivities property depending on the result of the expression. type IfConditionActivity struct { @@ -18437,7 +18593,8 @@ type MariaDBLinkedServiceTypeProperties struct { Database any // The version of the MariaDB driver. Type: string. V1 or empty for legacy driver, V2 for new driver. V1 can support connection - // string and property bag, V2 can only support connection string. + // string and property bag, V2 can only support connection string. The legacy + // driver is scheduled for deprecation by October 2024. DriverVersion any // The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. @@ -18450,9 +18607,18 @@ type MariaDBLinkedServiceTypeProperties struct { // The port for the connection. Type: integer. Port any + // This option specifies whether the driver uses TLS encryption and verification when connecting to MariaDB. E.g., SSLMode=. + // Options: DISABLED (0) / PREFERRED (1) (Default) / REQUIRED (2) / VERIFYCA (3) + // / VERIFYIDENTITY (4), REQUIRED (2) is recommended to only allow connections encrypted with SSL/TLS. + SSLMode any + // Server name for connection. Type: string. Server any + // This option specifies whether to use a CA certificate from the system trust store, or from a specified PEM file. E.g. UseSystemTrustStore=; + // Options: Enabled (1) / Disabled (0) (Default) + UseSystemTrustStore any + // Username for authentication. Type: string. Username any } @@ -19629,9 +19795,19 @@ func (m *MySQLLinkedService) GetLinkedService() *LinkedService { // MySQLLinkedServiceTypeProperties - MySQL linked service properties. type MySQLLinkedServiceTypeProperties struct { + // This allows the special “zero” date value 0000-00-00 to be retrieved from the database. Type: boolean. + AllowZeroDateTime any + // The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. ConnectionString any + // The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an + // error. Type: integer. + ConnectionTimeout any + + // True to return DateTime.MinValue for date or datetime columns that have disallowed values. Type: boolean. + ConvertZeroDateTime any + // Database name for connection. Type: string. Database any @@ -19643,18 +19819,32 @@ type MySQLLinkedServiceTypeProperties struct { // Type: string. EncryptedCredential *string + // Determines which column type (if any) should be read as a GUID. Type: string. None: No column types are automatically read + // as a Guid; Char36: All CHAR(36) columns are read/written as a Guid using + // lowercase hex with hyphens, which matches UUID. + GUIDFormat any + // The Azure key vault secret reference of password in connection string. Password *AzureKeyVaultSecretReference // The port for the connection. Type: integer. Port any + // The path to the client’s SSL certificate file in PEM format. SslKey must also be specified. Type: string. + SSLCert any + + // The path to the client’s SSL private key in PEM format. SslCert must also be specified. Type: string. + SSLKey any + // SSL mode for connection. Type: integer. 0: disable, 1: prefer, 2: require, 3: verify-ca, 4: verify-full. SSLMode any // Server name for connection. Type: string. Server any + // When set to true, TINYINT(1) values are returned as booleans. Type: bool. + TreatTinyAsBoolean any + // Use system trust store for connection. Type: integer. 0: enable, 1: disable. UseSystemTrustStore any @@ -22448,6 +22638,9 @@ func (p *PostgreSQLV2LinkedService) GetLinkedService() *LinkedService { // PostgreSQLV2LinkedServiceTypeProperties - PostgreSqlV2 linked service properties. type PostgreSQLV2LinkedServiceTypeProperties struct { + // REQUIRED; The authentication type to use. Type: string. + AuthenticationType any + // REQUIRED; Database name for connection. Type: string. Database any @@ -26115,6 +26308,10 @@ type SalesforceV2Source struct { // The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections any + // Page size for each http request, too large pageSize will caused timeout, default 300,000. Type: integer (or Expression + // with resultType integer). + PageSize any + // 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.apiasynch.meta/api // asynch/queries.htm#SOQL%20Considerations. If query is not specified, all the data of the Salesforce object specified in @@ -28393,6 +28590,9 @@ type ServiceNowV2Source struct { // The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). MaxConcurrentConnections any + // Page size of the result. Type: integer (or Expression with resultType integer). + PageSize any + // Query timeout. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). QueryTimeout any @@ -29350,6 +29550,9 @@ type SnowflakeLinkedV2ServiceTypeProperties struct { // Type: string. EncryptedCredential *string + // The host name of the Snowflake account. + Host any + // The Azure key vault secret reference of password in connection string. Password SecretBaseClassification diff --git a/sdk/resourcemanager/datafactory/armdatafactory/models_serde.go b/sdk/resourcemanager/datafactory/armdatafactory/models_serde.go index 5a46bc2fecd9..dd37b75373d2 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/models_serde.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/models_serde.go @@ -8021,9 +8021,20 @@ func (a *AzurePostgreSQLLinkedService) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type AzurePostgreSQLLinkedServiceTypeProperties. func (a AzurePostgreSQLLinkedServiceTypeProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) + populateAny(objectMap, "commandTimeout", a.CommandTimeout) populateAny(objectMap, "connectionString", a.ConnectionString) + populateAny(objectMap, "database", a.Database) + populateAny(objectMap, "encoding", a.Encoding) populate(objectMap, "encryptedCredential", a.EncryptedCredential) populate(objectMap, "password", a.Password) + populateAny(objectMap, "port", a.Port) + populateAny(objectMap, "readBufferSize", a.ReadBufferSize) + populateAny(objectMap, "sslMode", a.SSLMode) + populateAny(objectMap, "server", a.Server) + populateAny(objectMap, "timeout", a.Timeout) + populateAny(objectMap, "timezone", a.Timezone) + populateAny(objectMap, "trustServerCertificate", a.TrustServerCertificate) + populateAny(objectMap, "username", a.Username) return json.Marshal(objectMap) } @@ -8036,15 +8047,48 @@ func (a *AzurePostgreSQLLinkedServiceTypeProperties) UnmarshalJSON(data []byte) for key, val := range rawMsg { var err error switch key { + case "commandTimeout": + err = unpopulate(val, "CommandTimeout", &a.CommandTimeout) + delete(rawMsg, key) case "connectionString": err = unpopulate(val, "ConnectionString", &a.ConnectionString) delete(rawMsg, key) + case "database": + err = unpopulate(val, "Database", &a.Database) + delete(rawMsg, key) + case "encoding": + err = unpopulate(val, "Encoding", &a.Encoding) + delete(rawMsg, key) case "encryptedCredential": err = unpopulate(val, "EncryptedCredential", &a.EncryptedCredential) delete(rawMsg, key) case "password": err = unpopulate(val, "Password", &a.Password) delete(rawMsg, key) + case "port": + err = unpopulate(val, "Port", &a.Port) + delete(rawMsg, key) + case "readBufferSize": + err = unpopulate(val, "ReadBufferSize", &a.ReadBufferSize) + delete(rawMsg, key) + case "sslMode": + err = unpopulate(val, "SSLMode", &a.SSLMode) + delete(rawMsg, key) + case "server": + err = unpopulate(val, "Server", &a.Server) + delete(rawMsg, key) + case "timeout": + err = unpopulate(val, "Timeout", &a.Timeout) + delete(rawMsg, key) + case "timezone": + err = unpopulate(val, "Timezone", &a.Timezone) + delete(rawMsg, key) + case "trustServerCertificate": + err = unpopulate(val, "TrustServerCertificate", &a.TrustServerCertificate) + delete(rawMsg, key) + case "username": + err = unpopulate(val, "Username", &a.Username) + delete(rawMsg, key) } if err != nil { return fmt.Errorf("unmarshalling type %T: %v", a, err) @@ -26707,6 +26751,223 @@ func (h *HubspotSource) UnmarshalJSON(data []byte) error { return nil } +// MarshalJSON implements the json.Marshaller interface for type IcebergDataset. +func (i IcebergDataset) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]any) + populate(objectMap, "annotations", i.Annotations) + populate(objectMap, "description", i.Description) + populate(objectMap, "folder", i.Folder) + populate(objectMap, "linkedServiceName", i.LinkedServiceName) + populate(objectMap, "parameters", i.Parameters) + populateAny(objectMap, "schema", i.Schema) + populateAny(objectMap, "structure", i.Structure) + objectMap["type"] = "Iceberg" + populate(objectMap, "typeProperties", i.TypeProperties) + if i.AdditionalProperties != nil { + for key, val := range i.AdditionalProperties { + objectMap[key] = val + } + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON implements the json.Unmarshaller interface for type IcebergDataset. +func (i *IcebergDataset) UnmarshalJSON(data []byte) error { + var rawMsg map[string]json.RawMessage + if err := json.Unmarshal(data, &rawMsg); err != nil { + return fmt.Errorf("unmarshalling type %T: %v", i, err) + } + for key, val := range rawMsg { + var err error + switch key { + case "annotations": + err = unpopulate(val, "Annotations", &i.Annotations) + delete(rawMsg, key) + case "description": + err = unpopulate(val, "Description", &i.Description) + delete(rawMsg, key) + case "folder": + err = unpopulate(val, "Folder", &i.Folder) + delete(rawMsg, key) + case "linkedServiceName": + err = unpopulate(val, "LinkedServiceName", &i.LinkedServiceName) + delete(rawMsg, key) + case "parameters": + err = unpopulate(val, "Parameters", &i.Parameters) + delete(rawMsg, key) + case "schema": + err = unpopulate(val, "Schema", &i.Schema) + delete(rawMsg, key) + case "structure": + err = unpopulate(val, "Structure", &i.Structure) + delete(rawMsg, key) + case "type": + err = unpopulate(val, "Type", &i.Type) + delete(rawMsg, key) + case "typeProperties": + err = unpopulate(val, "TypeProperties", &i.TypeProperties) + delete(rawMsg, key) + default: + if i.AdditionalProperties == nil { + i.AdditionalProperties = map[string]any{} + } + if val != nil { + var aux any + err = json.Unmarshal(val, &aux) + i.AdditionalProperties[key] = aux + } + delete(rawMsg, key) + } + if err != nil { + return fmt.Errorf("unmarshalling type %T: %v", i, err) + } + } + return nil +} + +// MarshalJSON implements the json.Marshaller interface for type IcebergDatasetTypeProperties. +func (i IcebergDatasetTypeProperties) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]any) + populate(objectMap, "location", i.Location) + return json.Marshal(objectMap) +} + +// UnmarshalJSON implements the json.Unmarshaller interface for type IcebergDatasetTypeProperties. +func (i *IcebergDatasetTypeProperties) UnmarshalJSON(data []byte) error { + var rawMsg map[string]json.RawMessage + if err := json.Unmarshal(data, &rawMsg); err != nil { + return fmt.Errorf("unmarshalling type %T: %v", i, err) + } + for key, val := range rawMsg { + var err error + switch key { + case "location": + i.Location, err = unmarshalDatasetLocationClassification(val) + delete(rawMsg, key) + } + if err != nil { + return fmt.Errorf("unmarshalling type %T: %v", i, err) + } + } + return nil +} + +// MarshalJSON implements the json.Marshaller interface for type IcebergSink. +func (i IcebergSink) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]any) + populateAny(objectMap, "disableMetricsCollection", i.DisableMetricsCollection) + populate(objectMap, "formatSettings", i.FormatSettings) + populateAny(objectMap, "maxConcurrentConnections", i.MaxConcurrentConnections) + populateAny(objectMap, "sinkRetryCount", i.SinkRetryCount) + populateAny(objectMap, "sinkRetryWait", i.SinkRetryWait) + populate(objectMap, "storeSettings", i.StoreSettings) + objectMap["type"] = "IcebergSink" + populateAny(objectMap, "writeBatchSize", i.WriteBatchSize) + populateAny(objectMap, "writeBatchTimeout", i.WriteBatchTimeout) + if i.AdditionalProperties != nil { + for key, val := range i.AdditionalProperties { + objectMap[key] = val + } + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON implements the json.Unmarshaller interface for type IcebergSink. +func (i *IcebergSink) UnmarshalJSON(data []byte) error { + var rawMsg map[string]json.RawMessage + if err := json.Unmarshal(data, &rawMsg); err != nil { + return fmt.Errorf("unmarshalling type %T: %v", i, err) + } + for key, val := range rawMsg { + var err error + switch key { + case "disableMetricsCollection": + err = unpopulate(val, "DisableMetricsCollection", &i.DisableMetricsCollection) + delete(rawMsg, key) + case "formatSettings": + err = unpopulate(val, "FormatSettings", &i.FormatSettings) + delete(rawMsg, key) + case "maxConcurrentConnections": + err = unpopulate(val, "MaxConcurrentConnections", &i.MaxConcurrentConnections) + delete(rawMsg, key) + case "sinkRetryCount": + err = unpopulate(val, "SinkRetryCount", &i.SinkRetryCount) + delete(rawMsg, key) + case "sinkRetryWait": + err = unpopulate(val, "SinkRetryWait", &i.SinkRetryWait) + delete(rawMsg, key) + case "storeSettings": + i.StoreSettings, err = unmarshalStoreWriteSettingsClassification(val) + delete(rawMsg, key) + case "type": + err = unpopulate(val, "Type", &i.Type) + delete(rawMsg, key) + case "writeBatchSize": + err = unpopulate(val, "WriteBatchSize", &i.WriteBatchSize) + delete(rawMsg, key) + case "writeBatchTimeout": + err = unpopulate(val, "WriteBatchTimeout", &i.WriteBatchTimeout) + delete(rawMsg, key) + default: + if i.AdditionalProperties == nil { + i.AdditionalProperties = map[string]any{} + } + if val != nil { + var aux any + err = json.Unmarshal(val, &aux) + i.AdditionalProperties[key] = aux + } + delete(rawMsg, key) + } + if err != nil { + return fmt.Errorf("unmarshalling type %T: %v", i, err) + } + } + return nil +} + +// MarshalJSON implements the json.Marshaller interface for type IcebergWriteSettings. +func (i IcebergWriteSettings) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]any) + objectMap["type"] = "IcebergWriteSettings" + if i.AdditionalProperties != nil { + for key, val := range i.AdditionalProperties { + objectMap[key] = val + } + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON implements the json.Unmarshaller interface for type IcebergWriteSettings. +func (i *IcebergWriteSettings) UnmarshalJSON(data []byte) error { + var rawMsg map[string]json.RawMessage + if err := json.Unmarshal(data, &rawMsg); err != nil { + return fmt.Errorf("unmarshalling type %T: %v", i, err) + } + for key, val := range rawMsg { + var err error + switch key { + case "type": + err = unpopulate(val, "Type", &i.Type) + delete(rawMsg, key) + default: + if i.AdditionalProperties == nil { + i.AdditionalProperties = map[string]any{} + } + if val != nil { + var aux any + err = json.Unmarshal(val, &aux) + i.AdditionalProperties[key] = aux + } + delete(rawMsg, key) + } + if err != nil { + return fmt.Errorf("unmarshalling type %T: %v", i, err) + } + } + return nil +} + // MarshalJSON implements the json.Marshaller interface for type IfConditionActivity. func (i IfConditionActivity) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) @@ -32039,7 +32300,9 @@ func (m MariaDBLinkedServiceTypeProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "encryptedCredential", m.EncryptedCredential) populate(objectMap, "password", m.Password) populateAny(objectMap, "port", m.Port) + populateAny(objectMap, "sslMode", m.SSLMode) populateAny(objectMap, "server", m.Server) + populateAny(objectMap, "useSystemTrustStore", m.UseSystemTrustStore) populateAny(objectMap, "username", m.Username) return json.Marshal(objectMap) } @@ -32071,9 +32334,15 @@ func (m *MariaDBLinkedServiceTypeProperties) UnmarshalJSON(data []byte) error { case "port": err = unpopulate(val, "Port", &m.Port) delete(rawMsg, key) + case "sslMode": + err = unpopulate(val, "SSLMode", &m.SSLMode) + delete(rawMsg, key) case "server": err = unpopulate(val, "Server", &m.Server) delete(rawMsg, key) + case "useSystemTrustStore": + err = unpopulate(val, "UseSystemTrustStore", &m.UseSystemTrustStore) + delete(rawMsg, key) case "username": err = unpopulate(val, "Username", &m.Username) delete(rawMsg, key) @@ -34044,14 +34313,21 @@ func (m *MySQLLinkedService) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type MySQLLinkedServiceTypeProperties. func (m MySQLLinkedServiceTypeProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) + populateAny(objectMap, "allowZeroDateTime", m.AllowZeroDateTime) populateAny(objectMap, "connectionString", m.ConnectionString) + populateAny(objectMap, "connectionTimeout", m.ConnectionTimeout) + populateAny(objectMap, "convertZeroDateTime", m.ConvertZeroDateTime) populateAny(objectMap, "database", m.Database) populateAny(objectMap, "driverVersion", m.DriverVersion) populate(objectMap, "encryptedCredential", m.EncryptedCredential) + populateAny(objectMap, "guidFormat", m.GUIDFormat) populate(objectMap, "password", m.Password) populateAny(objectMap, "port", m.Port) + populateAny(objectMap, "sslCert", m.SSLCert) + populateAny(objectMap, "sslKey", m.SSLKey) populateAny(objectMap, "sslMode", m.SSLMode) populateAny(objectMap, "server", m.Server) + populateAny(objectMap, "treatTinyAsBoolean", m.TreatTinyAsBoolean) populateAny(objectMap, "useSystemTrustStore", m.UseSystemTrustStore) populateAny(objectMap, "username", m.Username) return json.Marshal(objectMap) @@ -34066,9 +34342,18 @@ func (m *MySQLLinkedServiceTypeProperties) UnmarshalJSON(data []byte) error { for key, val := range rawMsg { var err error switch key { + case "allowZeroDateTime": + err = unpopulate(val, "AllowZeroDateTime", &m.AllowZeroDateTime) + delete(rawMsg, key) case "connectionString": err = unpopulate(val, "ConnectionString", &m.ConnectionString) delete(rawMsg, key) + case "connectionTimeout": + err = unpopulate(val, "ConnectionTimeout", &m.ConnectionTimeout) + delete(rawMsg, key) + case "convertZeroDateTime": + err = unpopulate(val, "ConvertZeroDateTime", &m.ConvertZeroDateTime) + delete(rawMsg, key) case "database": err = unpopulate(val, "Database", &m.Database) delete(rawMsg, key) @@ -34078,18 +34363,30 @@ func (m *MySQLLinkedServiceTypeProperties) UnmarshalJSON(data []byte) error { case "encryptedCredential": err = unpopulate(val, "EncryptedCredential", &m.EncryptedCredential) delete(rawMsg, key) + case "guidFormat": + err = unpopulate(val, "GUIDFormat", &m.GUIDFormat) + delete(rawMsg, key) case "password": err = unpopulate(val, "Password", &m.Password) delete(rawMsg, key) case "port": err = unpopulate(val, "Port", &m.Port) delete(rawMsg, key) + case "sslCert": + err = unpopulate(val, "SSLCert", &m.SSLCert) + delete(rawMsg, key) + case "sslKey": + err = unpopulate(val, "SSLKey", &m.SSLKey) + delete(rawMsg, key) case "sslMode": err = unpopulate(val, "SSLMode", &m.SSLMode) delete(rawMsg, key) case "server": err = unpopulate(val, "Server", &m.Server) delete(rawMsg, key) + case "treatTinyAsBoolean": + err = unpopulate(val, "TreatTinyAsBoolean", &m.TreatTinyAsBoolean) + delete(rawMsg, key) case "useSystemTrustStore": err = unpopulate(val, "UseSystemTrustStore", &m.UseSystemTrustStore) delete(rawMsg, key) @@ -39097,6 +39394,7 @@ func (p *PostgreSQLV2LinkedService) UnmarshalJSON(data []byte) error { // MarshalJSON implements the json.Marshaller interface for type PostgreSQLV2LinkedServiceTypeProperties. func (p PostgreSQLV2LinkedServiceTypeProperties) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) + populateAny(objectMap, "authenticationType", p.AuthenticationType) populateAny(objectMap, "commandTimeout", p.CommandTimeout) populateAny(objectMap, "connectionTimeout", p.ConnectionTimeout) populateAny(objectMap, "database", p.Database) @@ -39128,6 +39426,9 @@ func (p *PostgreSQLV2LinkedServiceTypeProperties) UnmarshalJSON(data []byte) err for key, val := range rawMsg { var err error switch key { + case "authenticationType": + err = unpopulate(val, "AuthenticationType", &p.AuthenticationType) + delete(rawMsg, key) case "commandTimeout": err = unpopulate(val, "CommandTimeout", &p.CommandTimeout) delete(rawMsg, key) @@ -45266,6 +45567,7 @@ func (s SalesforceV2Source) MarshalJSON() ([]byte, error) { populateAny(objectMap, "disableMetricsCollection", s.DisableMetricsCollection) populateAny(objectMap, "includeDeletedObjects", s.IncludeDeletedObjects) populateAny(objectMap, "maxConcurrentConnections", s.MaxConcurrentConnections) + populateAny(objectMap, "pageSize", s.PageSize) populateAny(objectMap, "query", s.Query) populateAny(objectMap, "queryTimeout", s.QueryTimeout) populateAny(objectMap, "SOQLQuery", s.SOQLQuery) @@ -45301,6 +45603,9 @@ func (s *SalesforceV2Source) UnmarshalJSON(data []byte) error { case "maxConcurrentConnections": err = unpopulate(val, "MaxConcurrentConnections", &s.MaxConcurrentConnections) delete(rawMsg, key) + case "pageSize": + err = unpopulate(val, "PageSize", &s.PageSize) + delete(rawMsg, key) case "query": err = unpopulate(val, "Query", &s.Query) delete(rawMsg, key) @@ -48965,6 +49270,7 @@ func (s ServiceNowV2Source) MarshalJSON() ([]byte, error) { populateAny(objectMap, "disableMetricsCollection", s.DisableMetricsCollection) populate(objectMap, "expression", s.Expression) populateAny(objectMap, "maxConcurrentConnections", s.MaxConcurrentConnections) + populateAny(objectMap, "pageSize", s.PageSize) populateAny(objectMap, "queryTimeout", s.QueryTimeout) populateAny(objectMap, "sourceRetryCount", s.SourceRetryCount) populateAny(objectMap, "sourceRetryWait", s.SourceRetryWait) @@ -48998,6 +49304,9 @@ func (s *ServiceNowV2Source) UnmarshalJSON(data []byte) error { case "maxConcurrentConnections": err = unpopulate(val, "MaxConcurrentConnections", &s.MaxConcurrentConnections) delete(rawMsg, key) + case "pageSize": + err = unpopulate(val, "PageSize", &s.PageSize) + delete(rawMsg, key) case "queryTimeout": err = unpopulate(val, "QueryTimeout", &s.QueryTimeout) delete(rawMsg, key) @@ -50561,6 +50870,7 @@ func (s SnowflakeLinkedV2ServiceTypeProperties) MarshalJSON() ([]byte, error) { populate(objectMap, "clientSecret", s.ClientSecret) populateAny(objectMap, "database", s.Database) populate(objectMap, "encryptedCredential", s.EncryptedCredential) + populateAny(objectMap, "host", s.Host) populate(objectMap, "password", s.Password) populate(objectMap, "privateKey", s.PrivateKey) populate(objectMap, "privateKeyPassphrase", s.PrivateKeyPassphrase) @@ -50598,6 +50908,9 @@ func (s *SnowflakeLinkedV2ServiceTypeProperties) UnmarshalJSON(data []byte) erro case "encryptedCredential": err = unpopulate(val, "EncryptedCredential", &s.EncryptedCredential) delete(rawMsg, key) + case "host": + err = unpopulate(val, "Host", &s.Host) + delete(rawMsg, key) case "password": s.Password, err = unmarshalSecretBaseClassification(val) delete(rawMsg, key) diff --git a/sdk/resourcemanager/datafactory/armdatafactory/operations_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/operations_client_example_test.go index acde23237972..82ca0f196ca2 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/operations_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/operations_client_example_test.go @@ -17,7 +17,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json func ExampleOperationsClient_NewListPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/pipelineruns_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/pipelineruns_client_example_test.go index 3d8c87e68532..a178b7d3a37a 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/pipelineruns_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/pipelineruns_client_example_test.go @@ -20,7 +20,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json func ExamplePipelineRunsClient_QueryByFactory() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -99,7 +99,7 @@ func ExamplePipelineRunsClient_QueryByFactory() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json func ExamplePipelineRunsClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -140,7 +140,7 @@ func ExamplePipelineRunsClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json func ExamplePipelineRunsClient_Cancel() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/pipelines_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/pipelines_client_example_test.go index 0cade0e43de1..99b3b9d517e6 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/pipelines_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/pipelines_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json func ExamplePipelinesClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -107,7 +107,7 @@ func ExamplePipelinesClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json func ExamplePipelinesClient_CreateOrUpdate_pipelinesCreate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -275,7 +275,7 @@ func ExamplePipelinesClient_CreateOrUpdate_pipelinesCreate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json func ExamplePipelinesClient_CreateOrUpdate_pipelinesUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -417,7 +417,7 @@ func ExamplePipelinesClient_CreateOrUpdate_pipelinesUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json func ExamplePipelinesClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -508,7 +508,7 @@ func ExamplePipelinesClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json func ExamplePipelinesClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -525,7 +525,7 @@ func ExamplePipelinesClient_Delete() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json func ExamplePipelinesClient_CreateRun() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/polymorphic_helpers.go b/sdk/resourcemanager/datafactory/armdatafactory/polymorphic_helpers.go index b433700e7197..ab2ff3790a9d 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/polymorphic_helpers.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/polymorphic_helpers.go @@ -207,6 +207,8 @@ func unmarshalCopySinkClassification(rawMsg json.RawMessage) (CopySinkClassifica b = &DynamicsSink{} case "FileSystemSink": b = &FileSystemSink{} + case "IcebergSink": + b = &IcebergSink{} case "InformixSink": b = &InformixSink{} case "JsonSink": @@ -683,6 +685,8 @@ func unmarshalDatasetClassification(rawMsg json.RawMessage) (DatasetClassificati b = &HTTPDataset{} case "HubspotObject": b = &HubspotObjectDataset{} + case "Iceberg": + b = &IcebergDataset{} case "ImpalaObject": b = &ImpalaObjectDataset{} case "InformixTable": diff --git a/sdk/resourcemanager/datafactory/armdatafactory/privateendpointconnection_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/privateendpointconnection_client_example_test.go index 1b29bd3a85b9..129e528c048b 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/privateendpointconnection_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/privateendpointconnection_client_example_test.go @@ -18,7 +18,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json func ExamplePrivateEndpointConnectionClient_CreateOrUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -65,7 +65,7 @@ func ExamplePrivateEndpointConnectionClient_CreateOrUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateEndpointConnection.json func ExamplePrivateEndpointConnectionClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -101,7 +101,7 @@ func ExamplePrivateEndpointConnectionClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DeletePrivateEndpointConnection.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/DeletePrivateEndpointConnection.json func ExamplePrivateEndpointConnectionClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/privateendpointconnections_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/privateendpointconnections_client_example_test.go index 7ec140a82c1e..9692c13dede9 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/privateendpointconnections_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/privateendpointconnections_client_example_test.go @@ -17,7 +17,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PrivateEndPointConnections_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PrivateEndPointConnections_ListByFactory.json func ExamplePrivateEndPointConnectionsClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/privatelinkresources_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/privatelinkresources_client_example_test.go index 457a2004d8e5..90c1b7d8c346 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/privatelinkresources_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/privatelinkresources_client_example_test.go @@ -17,7 +17,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateLinkResources.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/GetPrivateLinkResources.json func ExamplePrivateLinkResourcesClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/triggerruns_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/triggerruns_client_example_test.go index 7306f7e8f33a..72eb48b0b614 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/triggerruns_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/triggerruns_client_example_test.go @@ -20,7 +20,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json func ExampleTriggerRunsClient_Rerun() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -37,7 +37,7 @@ func ExampleTriggerRunsClient_Rerun() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Cancel.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Cancel.json func ExampleTriggerRunsClient_Cancel() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -54,7 +54,7 @@ func ExampleTriggerRunsClient_Cancel() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json func ExampleTriggerRunsClient_QueryByFactory() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { diff --git a/sdk/resourcemanager/datafactory/armdatafactory/triggers_client_example_test.go b/sdk/resourcemanager/datafactory/armdatafactory/triggers_client_example_test.go index 38ef73b80ea9..eda400077c9e 100644 --- a/sdk/resourcemanager/datafactory/armdatafactory/triggers_client_example_test.go +++ b/sdk/resourcemanager/datafactory/armdatafactory/triggers_client_example_test.go @@ -20,7 +20,7 @@ import ( "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory/v9" ) -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json func ExampleTriggersClient_NewListByFactoryPager() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -80,7 +80,7 @@ func ExampleTriggersClient_NewListByFactoryPager() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_QueryByFactory.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_QueryByFactory.json func ExampleTriggersClient_QueryByFactory() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -120,7 +120,7 @@ func ExampleTriggersClient_QueryByFactory() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json func ExampleTriggersClient_CreateOrUpdate_triggersCreate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -196,7 +196,7 @@ func ExampleTriggersClient_CreateOrUpdate_triggersCreate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json func ExampleTriggersClient_CreateOrUpdate_triggersUpdate() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -274,7 +274,7 @@ func ExampleTriggersClient_CreateOrUpdate_triggersUpdate() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json func ExampleTriggersClient_Get() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -325,7 +325,7 @@ func ExampleTriggersClient_Get() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json func ExampleTriggersClient_Delete() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -342,7 +342,7 @@ func ExampleTriggersClient_Delete() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_SubscribeToEvents.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_SubscribeToEvents.json func ExampleTriggersClient_BeginSubscribeToEvents() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -370,7 +370,7 @@ func ExampleTriggersClient_BeginSubscribeToEvents() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_GetEventSubscriptionStatus.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_GetEventSubscriptionStatus.json func ExampleTriggersClient_GetEventSubscriptionStatus() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -394,7 +394,7 @@ func ExampleTriggersClient_GetEventSubscriptionStatus() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_UnsubscribeFromEvents.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_UnsubscribeFromEvents.json func ExampleTriggersClient_BeginUnsubscribeFromEvents() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -422,7 +422,7 @@ func ExampleTriggersClient_BeginUnsubscribeFromEvents() { // } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json func ExampleTriggersClient_BeginStart() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil { @@ -443,7 +443,7 @@ func ExampleTriggersClient_BeginStart() { } } -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/edb7904bfead536c7aa9716d44dba15bdabd0b00/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json +// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/ab04533261eff228f28e08900445d0edef3eb70c/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json func ExampleTriggersClient_BeginStop() { cred, err := azidentity.NewDefaultAzureCredential(nil) if err != nil {