Skip to content

Commit

Permalink
Update service version to 2020-08-04 and add markdown directives (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
adreed-msft authored Jul 13, 2021
1 parent c166691 commit 6627561
Show file tree
Hide file tree
Showing 15 changed files with 1,233 additions and 12,666 deletions.
2 changes: 2 additions & 0 deletions azblob/url_append_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ func (ab AppendBlobURL) Create(ctx context.Context, h BlobHTTPHeaders, metadata
nil, // Blob ifTags
nil,
blobTagsString, // Blob tags
// immutability policy
nil, BlobImmutabilityPolicyModeNone, nil,
)
}

Expand Down
8 changes: 6 additions & 2 deletions azblob/url_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package azblob

import (
"context"
"github.com/Azure/azure-pipeline-go/pipeline"
"net/url"
"strings"

"github.com/Azure/azure-pipeline-go/pipeline"
)

// A BlobURL represents a URL to an Azure Storage blob; the blob may be a block blob, append blob, or page blob.
Expand Down Expand Up @@ -310,7 +311,10 @@ func (b BlobURL) StartCopyFromURL(ctx context.Context, source url.URL, metadata
dstLeaseID,
nil,
blobTagsString, // Blob tags
nil)
nil,
// immutability policy
nil, BlobImmutabilityPolicyModeNone, nil,
)
}

// AbortCopyFromURL stops a pending copy that was previously started and leaves a destination blob with 0 length and metadata.
Expand Down
6 changes: 6 additions & 0 deletions azblob/url_block_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ func (bb BlockBlobURL) Upload(ctx context.Context, body io.ReadSeeker, h BlobHTT
nil, // Blob ifTags
nil,
blobTagsString, // Blob tags
// immutability policy
nil, BlobImmutabilityPolicyModeNone, nil,
)
}

Expand Down Expand Up @@ -127,6 +129,8 @@ func (bb BlockBlobURL) CommitBlockList(ctx context.Context, base64BlockIDs []str
nil, // Blob ifTags
nil,
blobTagsString, // Blob tags
// immutability policy
nil, BlobImmutabilityPolicyModeNone, nil,
)
}

Expand Down Expand Up @@ -154,6 +158,8 @@ func (bb BlockBlobURL) CopyFromURL(ctx context.Context, source url.URL, metadata
nil, // Blob ifTags
dstLeaseID, nil, srcContentMD5,
blobTagsString, // Blob tags
// immutability policy
nil, BlobImmutabilityPolicyModeNone, nil,
)
}

Expand Down
2 changes: 2 additions & 0 deletions azblob/url_page_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ func (pb PageBlobURL) Create(ctx context.Context, size int64, sequenceNumber int
nil, // Blob tags
&sequenceNumber, nil,
blobTagsString, // Blob tags
// immutability policy
nil, BlobImmutabilityPolicyModeNone, nil,
)
}

Expand Down
19 changes: 15 additions & 4 deletions azblob/zz_generated_append_blob.go

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

Loading

0 comments on commit 6627561

Please sign in to comment.