Skip to content

Commit

Permalink
Updating based on b9eddbf3
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-tf-azure committed Jun 5, 2024
1 parent 2c7436a commit 7b6c20f
Show file tree
Hide file tree
Showing 27 changed files with 39 additions and 159 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
package blobcontainers

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type BlobContainer struct {
Etag *string `json:"etag,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *ContainerProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
Etag *string `json:"etag,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *ContainerProperties `json:"properties,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package blobcontainers

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

Expand All @@ -12,6 +8,5 @@ type ImmutabilityPolicy struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties ImmutabilityPolicyProperty `json:"properties"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
package blobcontainers

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type ListContainerItem struct {
Etag *string `json:"etag,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *ContainerProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
Etag *string `json:"etag,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *ContainerProperties `json:"properties,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package blobservice

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

Expand All @@ -12,6 +8,5 @@ type BlobServiceProperties struct {
Name *string `json:"name,omitempty"`
Properties *BlobServicePropertiesProperties `json:"properties,omitempty"`
Sku *Sku `json:"sku,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package deletedaccounts

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type DeletedAccount struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *DeletedAccountProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package encryptionscopes

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type EncryptionScope struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *EncryptionScopeProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package fileservice

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

Expand All @@ -12,6 +8,5 @@ type FileServiceProperties struct {
Name *string `json:"name,omitempty"`
Properties *FileServicePropertiesProperties `json:"properties,omitempty"`
Sku *Sku `json:"sku,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
15 changes: 5 additions & 10 deletions resource-manager/storage/2023-05-01/fileshares/model_fileshare.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
package fileshares

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type FileShare struct {
Etag *string `json:"etag,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *FileShareProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
Etag *string `json:"etag,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *FileShareProperties `json:"properties,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
package fileshares

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type FileShareItem struct {
Etag *string `json:"etag,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *FileShareProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
Etag *string `json:"etag,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *FileShareProperties `json:"properties,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package managementpolicies

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type ManagementPolicy struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *ManagementPolicyProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package objectreplicationpolicies

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type ObjectReplicationPolicy struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *ObjectReplicationPolicyProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package privateendpointconnections

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type PrivateEndpointConnection struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package privatelinkresources

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type PrivateLinkResource struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *PrivateLinkResourceProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package queueservice

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type ListQueue struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *ListQueueProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *ListQueueProperties `json:"properties,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package queueservice

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type StorageQueue struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *QueueProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *QueueProperties `json:"properties,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package queueserviceproperties

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type QueueServiceProperties struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *QueueServicePropertiesProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package storageaccounts

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type PrivateEndpointConnection struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package storageaccounts
import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/edgezones"
"github.com/hashicorp/go-azure-helpers/resourcemanager/identity"
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
Expand All @@ -18,7 +17,6 @@ type StorageAccount struct {
Name *string `json:"name,omitempty"`
Properties *StorageAccountProperties `json:"properties,omitempty"`
Sku *Sku `json:"sku,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Tags *map[string]string `json:"tags,omitempty"`
Type *string `json:"type,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ type ListCompleteResult struct {
}

type ListOperationOptions struct {
Filter *string
Maxpagesize *string
}

Expand All @@ -46,9 +45,6 @@ func (o ListOperationOptions) ToOData() *odata.Query {

func (o ListOperationOptions) ToQuery() *client.QueryParams {
out := client.QueryParams{}
if o.Filter != nil {
out.Append("$filter", fmt.Sprintf("%v", *o.Filter))
}
if o.Maxpagesize != nil {
out.Append("$maxpagesize", fmt.Sprintf("%v", *o.Maxpagesize))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ package storagetaskassignments

type ExecutionTarget struct {
ExcludePrefix *[]string `json:"excludePrefix,omitempty"`
Prefix []string `json:"prefix"`
Prefix *[]string `json:"prefix,omitempty"`
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
package storagetaskassignments

import (
"github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata"
)

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type StorageTaskAssignment struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *StorageTaskAssignmentProperties `json:"properties,omitempty"`
SystemData *systemdata.SystemData `json:"systemData,omitempty"`
Type *string `json:"type,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties StorageTaskAssignmentProperties `json:"properties"`
Type *string `json:"type,omitempty"`
}
Loading

0 comments on commit 7b6c20f

Please sign in to comment.