Registry / cloud / azure-azure-storage-file-go

azure-azure-storage-file-go

JSON →
library0.8.0gogounverified

Go SDK for Azure Storage File shares.

go get github.com/Azure/azure-storage-file-go
INSTALL
IMPORT
SIG · AZURE-AZURE-STORAG
A
azure-azure-storage-file-go
cloudgov0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

file
github.com/Azure/azure-storage-file-go

Get properties of an Azure file share.

package main import ( "context" "fmt" "github.com/Azure/azure-storage-file-go/azfile" ) func main() { credential, _ := azfile.NewSharedKeyCredential("account", "key") pipeline := azfile.NewPipeline(credential, azfile.PipelineOptions{}) url := "https://account.file.core.windows.net/share" shareURL := azfile.NewShareURL(url, pipeline) props, _ := shareURL.GetProperties(context.Background(), azfile.ShareGetPropertiesOptions{}) fmt.Println(props) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
azure-azure-storage-file-go — go get azure-azure-storage-file-go · libregistry