This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
getStorageAccount.go
50 lines (45 loc) · 1.79 KB
/
getStorageAccount.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package latest
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupStorageAccount(ctx *pulumi.Context, args *LookupStorageAccountArgs, opts ...pulumi.InvokeOption) (*LookupStorageAccountResult, error) {
var rv LookupStorageAccountResult
err := ctx.Invoke("azure-nextgen:databoxedge/latest:getStorageAccount", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupStorageAccountArgs struct {
// The device name.
DeviceName string `pulumi:"deviceName"`
// The resource group name.
ResourceGroupName string `pulumi:"resourceGroupName"`
// The storage account name.
StorageAccountName string `pulumi:"storageAccountName"`
}
// Represents a Storage Account on the Data Box Edge/Gateway device.
type LookupStorageAccountResult struct {
// BlobEndpoint of Storage Account
BlobEndpoint string `pulumi:"blobEndpoint"`
// The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud.
ContainerCount int `pulumi:"containerCount"`
// Data policy of the storage Account.
DataPolicy string `pulumi:"dataPolicy"`
// Description for the storage Account.
Description *string `pulumi:"description"`
// The path ID that uniquely identifies the object.
Id string `pulumi:"id"`
// The object name.
Name string `pulumi:"name"`
// Storage Account Credential Id
StorageAccountCredentialId *string `pulumi:"storageAccountCredentialId"`
// Current status of the storage account
StorageAccountStatus *string `pulumi:"storageAccountStatus"`
// StorageAccount object on ASE device
SystemData SystemDataResponse `pulumi:"systemData"`
// The hierarchical type of the object.
Type string `pulumi:"type"`
}