forked from hashicorp/go-azure-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request hashicorp#947 from hashicorp/auto-pr/676871bf
Auto PR: Regenerating the Go SDK (0515d69)
Access has been restricted
You have triggered a rate limit.
Please wait a few minutes before you try again;
in some cases this may take up to an hour.
Showing
240 changed files
with
9,960 additions
and
1,005 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
resource-manager/datafactory/2018-06-01/dataflows/model_powerquerysink.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package dataflows | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
type PowerQuerySink struct { | ||
Dataset *DatasetReference `json:"dataset,omitempty"` | ||
Description *string `json:"description,omitempty"` | ||
Flowlet *DataFlowReference `json:"flowlet,omitempty"` | ||
LinkedService *LinkedServiceReference `json:"linkedService,omitempty"` | ||
Name string `json:"name"` | ||
RejectedDataLinkedService *LinkedServiceReference `json:"rejectedDataLinkedService,omitempty"` | ||
SchemaLinkedService *LinkedServiceReference `json:"schemaLinkedService,omitempty"` | ||
Script *string `json:"script,omitempty"` | ||
} |
36 changes: 34 additions & 2 deletions
36
resource-manager/datafactory/2018-06-01/datasets/model_amazons3compatiblelocation.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,44 @@ | ||
package datasets | ||
|
||
import ( | ||
"encoding/json" | ||
"fmt" | ||
) | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
var _ DatasetLocation = AmazonS3CompatibleLocation{} | ||
|
||
type AmazonS3CompatibleLocation struct { | ||
BucketName *interface{} `json:"bucketName,omitempty"` | ||
Version *interface{} `json:"version,omitempty"` | ||
|
||
// Fields inherited from DatasetLocation | ||
FileName *interface{} `json:"fileName,omitempty"` | ||
FolderPath *interface{} `json:"folderPath,omitempty"` | ||
Type string `json:"type"` | ||
Version *interface{} `json:"version,omitempty"` | ||
} | ||
|
||
var _ json.Marshaler = AmazonS3CompatibleLocation{} | ||
|
||
func (s AmazonS3CompatibleLocation) MarshalJSON() ([]byte, error) { | ||
type wrapper AmazonS3CompatibleLocation | ||
wrapped := wrapper(s) | ||
encoded, err := json.Marshal(wrapped) | ||
if err != nil { | ||
return nil, fmt.Errorf("marshaling AmazonS3CompatibleLocation: %+v", err) | ||
} | ||
|
||
var decoded map[string]interface{} | ||
if err := json.Unmarshal(encoded, &decoded); err != nil { | ||
return nil, fmt.Errorf("unmarshaling AmazonS3CompatibleLocation: %+v", err) | ||
} | ||
decoded["type"] = "AmazonS3CompatibleLocation" | ||
|
||
encoded, err = json.Marshal(decoded) | ||
if err != nil { | ||
return nil, fmt.Errorf("re-marshaling AmazonS3CompatibleLocation: %+v", err) | ||
} | ||
|
||
return encoded, nil | ||
} |
36 changes: 34 additions & 2 deletions
36
resource-manager/datafactory/2018-06-01/datasets/model_amazons3location.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,44 @@ | ||
package datasets | ||
|
||
import ( | ||
"encoding/json" | ||
"fmt" | ||
) | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
var _ DatasetLocation = AmazonS3Location{} | ||
|
||
type AmazonS3Location struct { | ||
BucketName *interface{} `json:"bucketName,omitempty"` | ||
Version *interface{} `json:"version,omitempty"` | ||
|
||
// Fields inherited from DatasetLocation | ||
FileName *interface{} `json:"fileName,omitempty"` | ||
FolderPath *interface{} `json:"folderPath,omitempty"` | ||
Type string `json:"type"` | ||
Version *interface{} `json:"version,omitempty"` | ||
} | ||
|
||
var _ json.Marshaler = AmazonS3Location{} | ||
|
||
func (s AmazonS3Location) MarshalJSON() ([]byte, error) { | ||
type wrapper AmazonS3Location | ||
wrapped := wrapper(s) | ||
encoded, err := json.Marshal(wrapped) | ||
if err != nil { | ||
return nil, fmt.Errorf("marshaling AmazonS3Location: %+v", err) | ||
} | ||
|
||
var decoded map[string]interface{} | ||
if err := json.Unmarshal(encoded, &decoded); err != nil { | ||
return nil, fmt.Errorf("unmarshaling AmazonS3Location: %+v", err) | ||
} | ||
decoded["type"] = "AmazonS3Location" | ||
|
||
encoded, err = json.Marshal(decoded) | ||
if err != nil { | ||
return nil, fmt.Errorf("re-marshaling AmazonS3Location: %+v", err) | ||
} | ||
|
||
return encoded, nil | ||
} |
34 changes: 33 additions & 1 deletion
34
resource-manager/datafactory/2018-06-01/datasets/model_avroformat.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,42 @@ | ||
package datasets | ||
|
||
import ( | ||
"encoding/json" | ||
"fmt" | ||
) | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
var _ DatasetStorageFormat = AvroFormat{} | ||
|
||
type AvroFormat struct { | ||
|
||
// Fields inherited from DatasetStorageFormat | ||
Deserializer *interface{} `json:"deserializer,omitempty"` | ||
Serializer *interface{} `json:"serializer,omitempty"` | ||
Type string `json:"type"` | ||
} | ||
|
||
var _ json.Marshaler = AvroFormat{} | ||
|
||
func (s AvroFormat) MarshalJSON() ([]byte, error) { | ||
type wrapper AvroFormat | ||
wrapped := wrapper(s) | ||
encoded, err := json.Marshal(wrapped) | ||
if err != nil { | ||
return nil, fmt.Errorf("marshaling AvroFormat: %+v", err) | ||
} | ||
|
||
var decoded map[string]interface{} | ||
if err := json.Unmarshal(encoded, &decoded); err != nil { | ||
return nil, fmt.Errorf("unmarshaling AvroFormat: %+v", err) | ||
} | ||
decoded["type"] = "AvroFormat" | ||
|
||
encoded, err = json.Marshal(decoded) | ||
if err != nil { | ||
return nil, fmt.Errorf("re-marshaling AvroFormat: %+v", err) | ||
} | ||
|
||
return encoded, nil | ||
} |
36 changes: 34 additions & 2 deletions
36
resource-manager/datafactory/2018-06-01/datasets/model_azureblobfslocation.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,43 @@ | ||
package datasets | ||
|
||
import ( | ||
"encoding/json" | ||
"fmt" | ||
) | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
var _ DatasetLocation = AzureBlobFSLocation{} | ||
|
||
type AzureBlobFSLocation struct { | ||
FileName *interface{} `json:"fileName,omitempty"` | ||
FileSystem *interface{} `json:"fileSystem,omitempty"` | ||
|
||
// Fields inherited from DatasetLocation | ||
FileName *interface{} `json:"fileName,omitempty"` | ||
FolderPath *interface{} `json:"folderPath,omitempty"` | ||
Type string `json:"type"` | ||
} | ||
|
||
var _ json.Marshaler = AzureBlobFSLocation{} | ||
|
||
func (s AzureBlobFSLocation) MarshalJSON() ([]byte, error) { | ||
type wrapper AzureBlobFSLocation | ||
wrapped := wrapper(s) | ||
encoded, err := json.Marshal(wrapped) | ||
if err != nil { | ||
return nil, fmt.Errorf("marshaling AzureBlobFSLocation: %+v", err) | ||
} | ||
|
||
var decoded map[string]interface{} | ||
if err := json.Unmarshal(encoded, &decoded); err != nil { | ||
return nil, fmt.Errorf("unmarshaling AzureBlobFSLocation: %+v", err) | ||
} | ||
decoded["type"] = "AzureBlobFSLocation" | ||
|
||
encoded, err = json.Marshal(decoded) | ||
if err != nil { | ||
return nil, fmt.Errorf("re-marshaling AzureBlobFSLocation: %+v", err) | ||
} | ||
|
||
return encoded, nil | ||
} |
36 changes: 34 additions & 2 deletions
36
resource-manager/datafactory/2018-06-01/datasets/model_azureblobstoragelocation.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,43 @@ | ||
package datasets | ||
|
||
import ( | ||
"encoding/json" | ||
"fmt" | ||
) | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
var _ DatasetLocation = AzureBlobStorageLocation{} | ||
|
||
type AzureBlobStorageLocation struct { | ||
Container *interface{} `json:"container,omitempty"` | ||
Container *interface{} `json:"container,omitempty"` | ||
|
||
// Fields inherited from DatasetLocation | ||
FileName *interface{} `json:"fileName,omitempty"` | ||
FolderPath *interface{} `json:"folderPath,omitempty"` | ||
Type string `json:"type"` | ||
} | ||
|
||
var _ json.Marshaler = AzureBlobStorageLocation{} | ||
|
||
func (s AzureBlobStorageLocation) MarshalJSON() ([]byte, error) { | ||
type wrapper AzureBlobStorageLocation | ||
wrapped := wrapper(s) | ||
encoded, err := json.Marshal(wrapped) | ||
if err != nil { | ||
return nil, fmt.Errorf("marshaling AzureBlobStorageLocation: %+v", err) | ||
} | ||
|
||
var decoded map[string]interface{} | ||
if err := json.Unmarshal(encoded, &decoded); err != nil { | ||
return nil, fmt.Errorf("unmarshaling AzureBlobStorageLocation: %+v", err) | ||
} | ||
decoded["type"] = "AzureBlobStorageLocation" | ||
|
||
encoded, err = json.Marshal(decoded) | ||
if err != nil { | ||
return nil, fmt.Errorf("re-marshaling AzureBlobStorageLocation: %+v", err) | ||
} | ||
|
||
return encoded, nil | ||
} |
34 changes: 33 additions & 1 deletion
34
resource-manager/datafactory/2018-06-01/datasets/model_azuredatalakestorelocation.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,42 @@ | ||
package datasets | ||
|
||
import ( | ||
"encoding/json" | ||
"fmt" | ||
) | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
var _ DatasetLocation = AzureDataLakeStoreLocation{} | ||
|
||
type AzureDataLakeStoreLocation struct { | ||
|
||
// Fields inherited from DatasetLocation | ||
FileName *interface{} `json:"fileName,omitempty"` | ||
FolderPath *interface{} `json:"folderPath,omitempty"` | ||
Type string `json:"type"` | ||
} | ||
|
||
var _ json.Marshaler = AzureDataLakeStoreLocation{} | ||
|
||
func (s AzureDataLakeStoreLocation) MarshalJSON() ([]byte, error) { | ||
type wrapper AzureDataLakeStoreLocation | ||
wrapped := wrapper(s) | ||
encoded, err := json.Marshal(wrapped) | ||
if err != nil { | ||
return nil, fmt.Errorf("marshaling AzureDataLakeStoreLocation: %+v", err) | ||
} | ||
|
||
var decoded map[string]interface{} | ||
if err := json.Unmarshal(encoded, &decoded); err != nil { | ||
return nil, fmt.Errorf("unmarshaling AzureDataLakeStoreLocation: %+v", err) | ||
} | ||
decoded["type"] = "AzureDataLakeStoreLocation" | ||
|
||
encoded, err = json.Marshal(decoded) | ||
if err != nil { | ||
return nil, fmt.Errorf("re-marshaling AzureDataLakeStoreLocation: %+v", err) | ||
} | ||
|
||
return encoded, nil | ||
} |
34 changes: 33 additions & 1 deletion
34
resource-manager/datafactory/2018-06-01/datasets/model_azurefilestoragelocation.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,42 @@ | ||
package datasets | ||
|
||
import ( | ||
"encoding/json" | ||
"fmt" | ||
) | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
var _ DatasetLocation = AzureFileStorageLocation{} | ||
|
||
type AzureFileStorageLocation struct { | ||
|
||
// Fields inherited from DatasetLocation | ||
FileName *interface{} `json:"fileName,omitempty"` | ||
FolderPath *interface{} `json:"folderPath,omitempty"` | ||
Type string `json:"type"` | ||
} | ||
|
||
var _ json.Marshaler = AzureFileStorageLocation{} | ||
|
||
func (s AzureFileStorageLocation) MarshalJSON() ([]byte, error) { | ||
type wrapper AzureFileStorageLocation | ||
wrapped := wrapper(s) | ||
encoded, err := json.Marshal(wrapped) | ||
if err != nil { | ||
return nil, fmt.Errorf("marshaling AzureFileStorageLocation: %+v", err) | ||
} | ||
|
||
var decoded map[string]interface{} | ||
if err := json.Unmarshal(encoded, &decoded); err != nil { | ||
return nil, fmt.Errorf("unmarshaling AzureFileStorageLocation: %+v", err) | ||
} | ||
decoded["type"] = "AzureFileStorageLocation" | ||
|
||
encoded, err = json.Marshal(decoded) | ||
if err != nil { | ||
return nil, fmt.Errorf("re-marshaling AzureFileStorageLocation: %+v", err) | ||
} | ||
|
||
return encoded, nil | ||
} |
36 changes: 34 additions & 2 deletions
36
resource-manager/datafactory/2018-06-01/datasets/model_customdataset.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,48 @@ | ||
package datasets | ||
|
||
import ( | ||
"encoding/json" | ||
"fmt" | ||
) | ||
|
||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See NOTICE.txt in the project root for license information. | ||
|
||
var _ Dataset = CustomDataset{} | ||
|
||
type CustomDataset struct { | ||
TypeProperties *interface{} `json:"typeProperties,omitempty"` | ||
|
||
// Fields inherited from Dataset | ||
Annotations *[]interface{} `json:"annotations,omitempty"` | ||
Description *string `json:"description,omitempty"` | ||
Folder *DatasetFolder `json:"folder,omitempty"` | ||
LinkedServiceName LinkedServiceReference `json:"linkedServiceName"` | ||
Parameters *map[string]ParameterSpecification `json:"parameters,omitempty"` | ||
Schema *interface{} `json:"schema,omitempty"` | ||
Structure *interface{} `json:"structure,omitempty"` | ||
Type string `json:"type"` | ||
TypeProperties *interface{} `json:"typeProperties,omitempty"` | ||
} | ||
|
||
var _ json.Marshaler = CustomDataset{} | ||
|
||
func (s CustomDataset) MarshalJSON() ([]byte, error) { | ||
type wrapper CustomDataset | ||
wrapped := wrapper(s) | ||
encoded, err := json.Marshal(wrapped) | ||
if err != nil { | ||
return nil, fmt.Errorf("marshaling CustomDataset: %+v", err) | ||
} | ||
|
||
var decoded map[string]interface{} | ||
if err := json.Unmarshal(encoded, &decoded); err != nil { | ||
return nil, fmt.Errorf("unmarshaling CustomDataset: %+v", err) | ||
} | ||
decoded["type"] = "CustomDataset" | ||
|
||
encoded, err = json.Marshal(decoded) | ||
if err != nil { | ||
return nil, fmt.Errorf("re-marshaling CustomDataset: %+v", err) | ||
} | ||
|
||
return encoded, nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Access has been restricted
You have triggered a rate limit.
Please wait a few minutes before you try again;
in some cases this may take up to an hour.