Skip to content

Commit d07bd6a

Browse files
Merge pull request #9192 from terraform-providers/f/giovanni-api-bump
dependencies: upgrading to Giovanni API Version 2019-12-12
2 parents f639dce + 9bff97b commit d07bd6a

File tree

151 files changed

+105
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+105
-68
lines changed

azurerm/internal/services/compute/tests/virtual_machine_unmanaged_disks_resource_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/acceptance"
1313
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
1414
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
15-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/blobs"
15+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs"
1616
)
1717

1818
func TestAccAzureRMVirtualMachine_basicLinuxMachine(t *testing.T) {

azurerm/internal/services/compute/virtual_machine_resource.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/tags"
2525
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
2626
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
27-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/blobs"
27+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs"
2828
"golang.org/x/net/context"
2929
)
3030

azurerm/internal/services/storage/blobs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"time"
1414

1515
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
16-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/blobs"
16+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs"
1717
)
1818

1919
const pollingInterval = time.Second * 15

azurerm/internal/services/storage/client/client.go

+9-9
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ import (
99
"github.com/Azure/go-autorest/autorest"
1010
az "github.com/Azure/go-autorest/autorest/azure"
1111
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/common"
12-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/accounts"
13-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/blobs"
14-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/containers"
15-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/datalakestore/filesystems"
16-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/file/directories"
17-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/file/shares"
18-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/queue/queues"
19-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/table/entities"
20-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/table/tables"
12+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/accounts"
13+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs"
14+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/containers"
15+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/datalakestore/filesystems"
16+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/directories"
17+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/shares"
18+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/queue/queues"
19+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/table/entities"
20+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/table/tables"
2121
)
2222

2323
type Client struct {

azurerm/internal/services/storage/resource_arm_storage_account.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import (
2525
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/tags"
2626
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
2727
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
28-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/accounts"
29-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/queue/queues"
28+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/accounts"
29+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/queue/queues"
3030
)
3131

3232
var storageAccountResourceName = "azurerm_storage_account"

azurerm/internal/services/storage/resource_arm_storage_blob.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
1414
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
1515
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
16-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/blobs"
16+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs"
1717
)
1818

1919
func resourceArmStorageBlob() *schema.Resource {

azurerm/internal/services/storage/resource_arm_storage_container.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
1616
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
1717
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
18-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/containers"
18+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/containers"
1919
)
2020

2121
func resourceArmStorageContainer() *schema.Resource {

azurerm/internal/services/storage/resource_arm_storage_data_lake_gen2_filesystem.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/storage/parsers"
1414
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
1515
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
16-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/datalakestore/filesystems"
16+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/datalakestore/filesystems"
1717
)
1818

1919
func resourceArmStorageDataLakeGen2FileSystem() *schema.Resource {

azurerm/internal/services/storage/resource_arm_storage_queue.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
1212
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
1313
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
14-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/queue/queues"
14+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/queue/queues"
1515
)
1616

1717
func resourceArmStorageQueue() *schema.Resource {

azurerm/internal/services/storage/resource_arm_storage_share.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
1515
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
1616
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
17-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/file/shares"
17+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/shares"
1818
)
1919

2020
func resourceArmStorageShare() *schema.Resource {

azurerm/internal/services/storage/resource_arm_storage_share_directory.go

+5-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
1616
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
1717
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
18-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/file/directories"
18+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/directories"
1919
)
2020

2121
func resourceArmStorageShareDirectory() *schema.Resource {
@@ -97,7 +97,10 @@ func resourceArmStorageShareDirectoryCreate(d *schema.ResourceData, meta interfa
9797
return tf.ImportAsExistsError("azurerm_storage_share_directory", id)
9898
}
9999

100-
if _, err := client.Create(ctx, accountName, shareName, directoryName, metaData); err != nil {
100+
input := directories.CreateDirectoryInput{
101+
MetaData: metaData,
102+
}
103+
if _, err := client.Create(ctx, accountName, shareName, directoryName, input); err != nil {
101104
return fmt.Errorf("Error creating Directory %q (File Share %q / Account %q): %+v", directoryName, shareName, accountName, err)
102105
}
103106

azurerm/internal/services/storage/resource_arm_storage_share_migration.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/hashicorp/terraform-plugin-sdk/helper/validation"
1010
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure"
1111
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
12-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/file/shares"
12+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/shares"
1313
)
1414

1515
// the schema schema was used for both V0 and V1

azurerm/internal/services/storage/resource_arm_storage_table.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
1313
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
1414
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
15-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/table/tables"
15+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/table/tables"
1616
)
1717

1818
func resourceArmStorageTable() *schema.Resource {

azurerm/internal/services/storage/resource_arm_storage_table_entity.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
1212
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/timeouts"
1313
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
14-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/table/entities"
14+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/table/entities"
1515
)
1616

1717
func resourceArmStorageTableEntity() *schema.Resource {

azurerm/internal/services/storage/tests/resource_arm_storage_blob_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/acceptance"
1313
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
1414
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
15-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/blobs"
15+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs"
1616
)
1717

1818
func TestAccAzureRMStorageBlob_disappears(t *testing.T) {

azurerm/internal/services/storage/tests/resource_arm_storage_table_entity_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/hashicorp/terraform-plugin-sdk/terraform"
1010
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/acceptance"
1111
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/clients"
12-
"github.com/tombuildsstuff/giovanni/storage/2018-11-09/table/entities"
12+
"github.com/tombuildsstuff/giovanni/storage/2019-12-12/table/entities"
1313
)
1414

1515
func TestAccAzureRMTableEntity_basic(t *testing.T) {

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/accounts/README.md vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/accounts/README.md

+2-2

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/accounts/version.go vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/accounts/version.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/blobs/README.md vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs/README.md

+2-2

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/blobs/version.go vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs/version.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/containers/README.md vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/containers/README.md

+2-2

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/blob/containers/version.go vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/containers/version.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/datalakestore/filesystems/README.md vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/datalakestore/filesystems/README.md

+2-2

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/datalakestore/filesystems/version.go vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/datalakestore/filesystems/version.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/file/directories/README.md vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/directories/README.md

+6-2

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/file/directories/api.go vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/directories/api.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/file/directories/create.go vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/directories/create.go

+35-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tombuildsstuff/giovanni/storage/2018-11-09/file/directories/version.go vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/directories/version.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)