Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Service version to 2020-04-08 #53

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions azfile/url_share.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (s ShareURL) Create(ctx context.Context, metadata Metadata, quotaInGB int32
if quotaInGB != 0 {
quota = &quotaInGB
}
return s.shareClient.Create(ctx, nil, metadata, quota, ShareAccessTierNone)
return s.shareClient.Create(ctx, nil, metadata, quota, ShareAccessTierNone, nil, ShareRootSquashNone)
}

// CreateSnapshot creates a read-only snapshot of a share.
Expand Down Expand Up @@ -101,7 +101,7 @@ func (s ShareURL) SetProperties(ctx context.Context, quotaInGB int32) (*ShareSet
if quotaInGB != 0 {
quota = &quotaInGB
}
return s.shareClient.SetProperties(ctx, nil, quota, ShareAccessTierNone, nil)
return s.shareClient.SetProperties(ctx, nil, quota, ShareAccessTierNone, nil, ShareRootSquashNone)
}

// SetMetadata sets the share's metadata.
Expand Down
2 changes: 1 addition & 1 deletion azfile/zz_generated_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 60 additions & 22 deletions azfile/zz_generated_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 18 additions & 8 deletions azfile/zz_generated_share.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion azfile/zz_generated_version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ More modifications have to be made after generation in order to fix issues that

### Settings
``` yaml
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-02-10/file.json
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.FileStorage/preview/2020-04-08/file.json
go: true
output-folder: Go_FileStorage
namespace: azfile
Expand Down