blobcontainers

package
v0.20220809.1065905 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2022 License: MPL-2.0 Imports: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/storage/2021-04-01/blobcontainers Documentation

The blobcontainers SDK allows for interaction with the Azure Resource Manager Service storage (API Version 2021-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/storage/2021-04-01/blobcontainers"

Client Initialization

client := blobcontainers.NewBlobContainersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BlobContainersClient.ClearLegalHold

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

payload := blobcontainers.LegalHold{
	// ...
}


read, err := client.ClearLegalHold(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.Create

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

payload := blobcontainers.BlobContainer{
	// ...
}


read, err := client.Create(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.CreateOrUpdateImmutabilityPolicy

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

payload := blobcontainers.ImmutabilityPolicy{
	// ...
}


read, err := client.CreateOrUpdateImmutabilityPolicy(ctx, id, payload, blobcontainers.DefaultCreateOrUpdateImmutabilityPolicyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.Delete

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.DeleteImmutabilityPolicy

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

read, err := client.DeleteImmutabilityPolicy(ctx, id, blobcontainers.DefaultDeleteImmutabilityPolicyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.ExtendImmutabilityPolicy

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

payload := blobcontainers.ImmutabilityPolicy{
	// ...
}


read, err := client.ExtendImmutabilityPolicy(ctx, id, payload, blobcontainers.DefaultExtendImmutabilityPolicyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.Get

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.GetImmutabilityPolicy

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

read, err := client.GetImmutabilityPolicy(ctx, id, blobcontainers.DefaultGetImmutabilityPolicyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.Lease

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

payload := blobcontainers.LeaseContainerRequest{
	// ...
}


read, err := client.Lease(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.List

ctx := context.TODO()
id := blobcontainers.NewStorageAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

// alternatively `client.List(ctx, id, blobcontainers.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, blobcontainers.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BlobContainersClient.LockImmutabilityPolicy

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

read, err := client.LockImmutabilityPolicy(ctx, id, blobcontainers.DefaultLockImmutabilityPolicyOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.ObjectLevelWorm

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

if err := client.ObjectLevelWormThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: BlobContainersClient.SetLegalHold

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

payload := blobcontainers.LegalHold{
	// ...
}


read, err := client.SetLegalHold(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BlobContainersClient.Update

ctx := context.TODO()
id := blobcontainers.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "containerValue")

payload := blobcontainers.BlobContainer{
	// ...
}


read, err := client.Update(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAction

func PossibleValuesForAction() []string

func PossibleValuesForImmutabilityPolicyState

func PossibleValuesForImmutabilityPolicyState() []string

func PossibleValuesForImmutabilityPolicyUpdateType

func PossibleValuesForImmutabilityPolicyUpdateType() []string

func PossibleValuesForLeaseDuration

func PossibleValuesForLeaseDuration() []string

func PossibleValuesForLeaseState

func PossibleValuesForLeaseState() []string

func PossibleValuesForLeaseStatus

func PossibleValuesForLeaseStatus() []string

func PossibleValuesForListContainersInclude

func PossibleValuesForListContainersInclude() []string

func PossibleValuesForMigrationState

func PossibleValuesForMigrationState() []string

func PossibleValuesForPublicAccess

func PossibleValuesForPublicAccess() []string

func ValidateContainerID

func ValidateContainerID(input interface{}, key string) (warnings []string, errors []error)

ValidateContainerID checks that 'input' can be parsed as a Container ID

func ValidateStorageAccountID

func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID

Types

type Action

type Action string
const (
	ActionAcquire Action = "Acquire"
	ActionBreak   Action = "Break"
	ActionChange  Action = "Change"
	ActionRelease Action = "Release"
	ActionRenew   Action = "Renew"
)

type BlobContainer

type BlobContainer struct {
	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"`
}

type BlobContainersClient

type BlobContainersClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewBlobContainersClientWithBaseURI

func NewBlobContainersClientWithBaseURI(endpoint string) BlobContainersClient

func (BlobContainersClient) ClearLegalHold

func (c BlobContainersClient) ClearLegalHold(ctx context.Context, id ContainerId, input LegalHold) (result ClearLegalHoldOperationResponse, err error)

ClearLegalHold ...

func (BlobContainersClient) Create

Create ...

func (BlobContainersClient) CreateOrUpdateImmutabilityPolicy

CreateOrUpdateImmutabilityPolicy ...

func (BlobContainersClient) Delete

Delete ...

func (BlobContainersClient) DeleteImmutabilityPolicy

DeleteImmutabilityPolicy ...

func (BlobContainersClient) ExtendImmutabilityPolicy

ExtendImmutabilityPolicy ...

func (BlobContainersClient) Get

Get ...

func (BlobContainersClient) GetImmutabilityPolicy

GetImmutabilityPolicy ...

func (BlobContainersClient) Lease

Lease ...

func (BlobContainersClient) List

List ...

func (BlobContainersClient) ListComplete

ListComplete retrieves all of the results into a single object

func (BlobContainersClient) ListCompleteMatchingPredicate

func (c BlobContainersClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, options ListOperationOptions, predicate ListContainerItemOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (BlobContainersClient) LockImmutabilityPolicy

LockImmutabilityPolicy ...

func (BlobContainersClient) ObjectLevelWorm

func (c BlobContainersClient) ObjectLevelWorm(ctx context.Context, id ContainerId) (result ObjectLevelWormOperationResponse, err error)

ObjectLevelWorm ...

func (BlobContainersClient) ObjectLevelWormThenPoll

func (c BlobContainersClient) ObjectLevelWormThenPoll(ctx context.Context, id ContainerId) error

ObjectLevelWormThenPoll performs ObjectLevelWorm then polls until it's completed

func (BlobContainersClient) SetLegalHold

func (c BlobContainersClient) SetLegalHold(ctx context.Context, id ContainerId, input LegalHold) (result SetLegalHoldOperationResponse, err error)

SetLegalHold ...

func (BlobContainersClient) Update

Update ...

type ClearLegalHoldOperationResponse

type ClearLegalHoldOperationResponse struct {
	HttpResponse *http.Response
	Model        *LegalHold
}

type ContainerId

type ContainerId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
	ContainerName     string
}

ContainerId is a struct representing the Resource ID for a Container

func NewContainerID

func NewContainerID(subscriptionId string, resourceGroupName string, accountName string, containerName string) ContainerId

NewContainerID returns a new ContainerId struct

func ParseContainerID

func ParseContainerID(input string) (*ContainerId, error)

ParseContainerID parses 'input' into a ContainerId

func ParseContainerIDInsensitively

func ParseContainerIDInsensitively(input string) (*ContainerId, error)

ParseContainerIDInsensitively parses 'input' case-insensitively into a ContainerId note: this method should only be used for API response data and not user input

func (ContainerId) ID

func (id ContainerId) ID() string

ID returns the formatted Container ID

func (ContainerId) Segments

func (id ContainerId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Container ID

func (ContainerId) String

func (id ContainerId) String() string

String returns a human-readable description of this Container ID

type ContainerProperties

type ContainerProperties struct {
	DefaultEncryptionScope         *string                         `json:"defaultEncryptionScope,omitempty"`
	Deleted                        *bool                           `json:"deleted,omitempty"`
	DeletedTime                    *string                         `json:"deletedTime,omitempty"`
	DenyEncryptionScopeOverride    *bool                           `json:"denyEncryptionScopeOverride,omitempty"`
	HasImmutabilityPolicy          *bool                           `json:"hasImmutabilityPolicy,omitempty"`
	HasLegalHold                   *bool                           `json:"hasLegalHold,omitempty"`
	ImmutabilityPolicy             *ImmutabilityPolicyProperties   `json:"immutabilityPolicy,omitempty"`
	ImmutableStorageWithVersioning *ImmutableStorageWithVersioning `json:"immutableStorageWithVersioning,omitempty"`
	LastModifiedTime               *string                         `json:"lastModifiedTime,omitempty"`
	LeaseDuration                  *LeaseDuration                  `json:"leaseDuration,omitempty"`
	LeaseState                     *LeaseState                     `json:"leaseState,omitempty"`
	LeaseStatus                    *LeaseStatus                    `json:"leaseStatus,omitempty"`
	LegalHold                      *LegalHoldProperties            `json:"legalHold,omitempty"`
	Metadata                       *map[string]string              `json:"metadata,omitempty"`
	PublicAccess                   *PublicAccess                   `json:"publicAccess,omitempty"`
	RemainingRetentionDays         *int64                          `json:"remainingRetentionDays,omitempty"`
	Version                        *string                         `json:"version,omitempty"`
}

func (*ContainerProperties) GetDeletedTimeAsTime

func (o *ContainerProperties) GetDeletedTimeAsTime() (*time.Time, error)

func (*ContainerProperties) GetLastModifiedTimeAsTime

func (o *ContainerProperties) GetLastModifiedTimeAsTime() (*time.Time, error)

func (*ContainerProperties) SetDeletedTimeAsTime

func (o *ContainerProperties) SetDeletedTimeAsTime(input time.Time)

func (*ContainerProperties) SetLastModifiedTimeAsTime

func (o *ContainerProperties) SetLastModifiedTimeAsTime(input time.Time)

type CreateOperationResponse

type CreateOperationResponse struct {
	HttpResponse *http.Response
	Model        *BlobContainer
}

type CreateOrUpdateImmutabilityPolicyOperationOptions

type CreateOrUpdateImmutabilityPolicyOperationOptions struct {
	IfMatch *string
}

func DefaultCreateOrUpdateImmutabilityPolicyOperationOptions

func DefaultCreateOrUpdateImmutabilityPolicyOperationOptions() CreateOrUpdateImmutabilityPolicyOperationOptions

type CreateOrUpdateImmutabilityPolicyOperationResponse

type CreateOrUpdateImmutabilityPolicyOperationResponse struct {
	HttpResponse *http.Response
	Model        *ImmutabilityPolicy
}

type DeleteImmutabilityPolicyOperationOptions

type DeleteImmutabilityPolicyOperationOptions struct {
	IfMatch *string
}

func DefaultDeleteImmutabilityPolicyOperationOptions

func DefaultDeleteImmutabilityPolicyOperationOptions() DeleteImmutabilityPolicyOperationOptions

type DeleteImmutabilityPolicyOperationResponse

type DeleteImmutabilityPolicyOperationResponse struct {
	HttpResponse *http.Response
	Model        *ImmutabilityPolicy
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
}

type ExtendImmutabilityPolicyOperationOptions

type ExtendImmutabilityPolicyOperationOptions struct {
	IfMatch *string
}

func DefaultExtendImmutabilityPolicyOperationOptions

func DefaultExtendImmutabilityPolicyOperationOptions() ExtendImmutabilityPolicyOperationOptions

type ExtendImmutabilityPolicyOperationResponse

type ExtendImmutabilityPolicyOperationResponse struct {
	HttpResponse *http.Response
	Model        *ImmutabilityPolicy
}

type GetImmutabilityPolicyOperationOptions

type GetImmutabilityPolicyOperationOptions struct {
	IfMatch *string
}

func DefaultGetImmutabilityPolicyOperationOptions

func DefaultGetImmutabilityPolicyOperationOptions() GetImmutabilityPolicyOperationOptions

type GetImmutabilityPolicyOperationResponse

type GetImmutabilityPolicyOperationResponse struct {
	HttpResponse *http.Response
	Model        *ImmutabilityPolicy
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *BlobContainer
}

type ImmutabilityPolicy

type ImmutabilityPolicy struct {
	Etag       *string                    `json:"etag,omitempty"`
	Id         *string                    `json:"id,omitempty"`
	Name       *string                    `json:"name,omitempty"`
	Properties ImmutabilityPolicyProperty `json:"properties"`
	Type       *string                    `json:"type,omitempty"`
}

type ImmutabilityPolicyProperties

type ImmutabilityPolicyProperties struct {
	Etag          *string                     `json:"etag,omitempty"`
	Properties    *ImmutabilityPolicyProperty `json:"properties,omitempty"`
	UpdateHistory *[]UpdateHistoryProperty    `json:"updateHistory,omitempty"`
}

type ImmutabilityPolicyProperty

type ImmutabilityPolicyProperty struct {
	AllowProtectedAppendWrites            *bool                    `json:"allowProtectedAppendWrites,omitempty"`
	ImmutabilityPeriodSinceCreationInDays *int64                   `json:"immutabilityPeriodSinceCreationInDays,omitempty"`
	State                                 *ImmutabilityPolicyState `json:"state,omitempty"`
}

type ImmutabilityPolicyState

type ImmutabilityPolicyState string
const (
	ImmutabilityPolicyStateLocked   ImmutabilityPolicyState = "Locked"
	ImmutabilityPolicyStateUnlocked ImmutabilityPolicyState = "Unlocked"
)

type ImmutabilityPolicyUpdateType

type ImmutabilityPolicyUpdateType string
const (
	ImmutabilityPolicyUpdateTypeExtend ImmutabilityPolicyUpdateType = "extend"
	ImmutabilityPolicyUpdateTypeLock   ImmutabilityPolicyUpdateType = "lock"
	ImmutabilityPolicyUpdateTypePut    ImmutabilityPolicyUpdateType = "put"
)

type ImmutableStorageWithVersioning

type ImmutableStorageWithVersioning struct {
	Enabled        *bool           `json:"enabled,omitempty"`
	MigrationState *MigrationState `json:"migrationState,omitempty"`
	TimeStamp      *string         `json:"timeStamp,omitempty"`
}

func (*ImmutableStorageWithVersioning) GetTimeStampAsTime

func (o *ImmutableStorageWithVersioning) GetTimeStampAsTime() (*time.Time, error)

func (*ImmutableStorageWithVersioning) SetTimeStampAsTime

func (o *ImmutableStorageWithVersioning) SetTimeStampAsTime(input time.Time)

type LeaseContainerRequest

type LeaseContainerRequest struct {
	Action          Action  `json:"action"`
	BreakPeriod     *int64  `json:"breakPeriod,omitempty"`
	LeaseDuration   *int64  `json:"leaseDuration,omitempty"`
	LeaseId         *string `json:"leaseId,omitempty"`
	ProposedLeaseId *string `json:"proposedLeaseId,omitempty"`
}

type LeaseContainerResponse

type LeaseContainerResponse struct {
	LeaseId          *string `json:"leaseId,omitempty"`
	LeaseTimeSeconds *string `json:"leaseTimeSeconds,omitempty"`
}

type LeaseDuration

type LeaseDuration string
const (
	LeaseDurationFixed    LeaseDuration = "Fixed"
	LeaseDurationInfinite LeaseDuration = "Infinite"
)

type LeaseOperationResponse

type LeaseOperationResponse struct {
	HttpResponse *http.Response
	Model        *LeaseContainerResponse
}

type LeaseState

type LeaseState string
const (
	LeaseStateAvailable LeaseState = "Available"
	LeaseStateBreaking  LeaseState = "Breaking"
	LeaseStateBroken    LeaseState = "Broken"
	LeaseStateExpired   LeaseState = "Expired"
	LeaseStateLeased    LeaseState = "Leased"
)

type LeaseStatus

type LeaseStatus string
const (
	LeaseStatusLocked   LeaseStatus = "Locked"
	LeaseStatusUnlocked LeaseStatus = "Unlocked"
)

type LegalHold

type LegalHold struct {
	HasLegalHold *bool    `json:"hasLegalHold,omitempty"`
	Tags         []string `json:"tags"`
}

type LegalHoldProperties

type LegalHoldProperties struct {
	HasLegalHold *bool          `json:"hasLegalHold,omitempty"`
	Tags         *[]TagProperty `json:"tags,omitempty"`
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []ListContainerItem
}

type ListContainerItem

type ListContainerItem struct {
	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"`
}

type ListContainerItemOperationPredicate

type ListContainerItemOperationPredicate struct {
	Etag *string
	Id   *string
	Name *string
	Type *string
}

func (ListContainerItemOperationPredicate) Matches

type ListContainersInclude

type ListContainersInclude string
const (
	ListContainersIncludeDeleted ListContainersInclude = "deleted"
)

type ListOperationOptions

type ListOperationOptions struct {
	Filter      *string
	Include     *ListContainersInclude
	Maxpagesize *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ListContainerItem
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type LockImmutabilityPolicyOperationOptions

type LockImmutabilityPolicyOperationOptions struct {
	IfMatch *string
}

func DefaultLockImmutabilityPolicyOperationOptions

func DefaultLockImmutabilityPolicyOperationOptions() LockImmutabilityPolicyOperationOptions

type LockImmutabilityPolicyOperationResponse

type LockImmutabilityPolicyOperationResponse struct {
	HttpResponse *http.Response
	Model        *ImmutabilityPolicy
}

type MigrationState

type MigrationState string
const (
	MigrationStateCompleted  MigrationState = "Completed"
	MigrationStateInProgress MigrationState = "InProgress"
)

type ObjectLevelWormOperationResponse

type ObjectLevelWormOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type PublicAccess

type PublicAccess string
const (
	PublicAccessBlob      PublicAccess = "Blob"
	PublicAccessContainer PublicAccess = "Container"
	PublicAccessNone      PublicAccess = "None"
)

type SetLegalHoldOperationResponse

type SetLegalHoldOperationResponse struct {
	HttpResponse *http.Response
	Model        *LegalHold
}

type StorageAccountId

type StorageAccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

StorageAccountId is a struct representing the Resource ID for a Storage Account

func NewStorageAccountID

func NewStorageAccountID(subscriptionId string, resourceGroupName string, accountName string) StorageAccountId

NewStorageAccountID returns a new StorageAccountId struct

func ParseStorageAccountID

func ParseStorageAccountID(input string) (*StorageAccountId, error)

ParseStorageAccountID parses 'input' into a StorageAccountId

func ParseStorageAccountIDInsensitively

func ParseStorageAccountIDInsensitively(input string) (*StorageAccountId, error)

ParseStorageAccountIDInsensitively parses 'input' case-insensitively into a StorageAccountId note: this method should only be used for API response data and not user input

func (StorageAccountId) ID

func (id StorageAccountId) ID() string

ID returns the formatted Storage Account ID

func (StorageAccountId) Segments

func (id StorageAccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Storage Account ID

func (StorageAccountId) String

func (id StorageAccountId) String() string

String returns a human-readable description of this Storage Account ID

type TagProperty

type TagProperty struct {
	ObjectIdentifier *string `json:"objectIdentifier,omitempty"`
	Tag              *string `json:"tag,omitempty"`
	TenantId         *string `json:"tenantId,omitempty"`
	Timestamp        *string `json:"timestamp,omitempty"`
	Upn              *string `json:"upn,omitempty"`
}

func (*TagProperty) GetTimestampAsTime

func (o *TagProperty) GetTimestampAsTime() (*time.Time, error)

func (*TagProperty) SetTimestampAsTime

func (o *TagProperty) SetTimestampAsTime(input time.Time)

type UpdateHistoryProperty

type UpdateHistoryProperty struct {
	ImmutabilityPeriodSinceCreationInDays *int64                        `json:"immutabilityPeriodSinceCreationInDays,omitempty"`
	ObjectIdentifier                      *string                       `json:"objectIdentifier,omitempty"`
	TenantId                              *string                       `json:"tenantId,omitempty"`
	Timestamp                             *string                       `json:"timestamp,omitempty"`
	Update                                *ImmutabilityPolicyUpdateType `json:"update,omitempty"`
	Upn                                   *string                       `json:"upn,omitempty"`
}

func (*UpdateHistoryProperty) GetTimestampAsTime

func (o *UpdateHistoryProperty) GetTimestampAsTime() (*time.Time, error)

func (*UpdateHistoryProperty) SetTimestampAsTime

func (o *UpdateHistoryProperty) SetTimestampAsTime(input time.Time)

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *BlobContainer
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL