Documentation ¶
Index ¶
- func PossibleValuesForBlobInventoryPolicyName() []string
- func PossibleValuesForFormat() []string
- func PossibleValuesForInventoryRuleType() []string
- func PossibleValuesForObjectType() []string
- func PossibleValuesForSchedule() []string
- func ValidateBlobInventoryPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type BlobInventoryPoliciesClient
- func (c BlobInventoryPoliciesClient) CreateOrUpdate(ctx context.Context, id BlobInventoryPolicyId, input BlobInventoryPolicy) (result CreateOrUpdateOperationResponse, err error)
- func (c BlobInventoryPoliciesClient) Delete(ctx context.Context, id BlobInventoryPolicyId) (result DeleteOperationResponse, err error)
- func (c BlobInventoryPoliciesClient) Get(ctx context.Context, id BlobInventoryPolicyId) (result GetOperationResponse, err error)
- func (c BlobInventoryPoliciesClient) List(ctx context.Context, id StorageAccountId) (result ListOperationResponse, err error)
- type BlobInventoryPolicy
- type BlobInventoryPolicyDefinition
- type BlobInventoryPolicyFilter
- type BlobInventoryPolicyId
- type BlobInventoryPolicyName
- type BlobInventoryPolicyProperties
- type BlobInventoryPolicyRule
- type BlobInventoryPolicySchema
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Format
- type GetOperationResponse
- type InventoryRuleType
- type ListBlobInventoryPolicy
- type ListOperationResponse
- type ObjectType
- type Schedule
- type StorageAccountId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBlobInventoryPolicyName ¶
func PossibleValuesForBlobInventoryPolicyName() []string
func PossibleValuesForFormat ¶
func PossibleValuesForFormat() []string
func PossibleValuesForInventoryRuleType ¶
func PossibleValuesForInventoryRuleType() []string
func PossibleValuesForObjectType ¶
func PossibleValuesForObjectType() []string
func PossibleValuesForSchedule ¶
func PossibleValuesForSchedule() []string
func ValidateBlobInventoryPolicyID ¶
func ValidateBlobInventoryPolicyID(input interface{}, key string) (warnings []string, errors []error)
ValidateBlobInventoryPolicyID checks that 'input' can be parsed as a Blob Inventory Policy ID
func ValidateStorageAccountID ¶
ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID
Types ¶
type BlobInventoryPoliciesClient ¶
type BlobInventoryPoliciesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewBlobInventoryPoliciesClientWithBaseURI ¶
func NewBlobInventoryPoliciesClientWithBaseURI(endpoint string) BlobInventoryPoliciesClient
func (BlobInventoryPoliciesClient) CreateOrUpdate ¶
func (c BlobInventoryPoliciesClient) CreateOrUpdate(ctx context.Context, id BlobInventoryPolicyId, input BlobInventoryPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BlobInventoryPoliciesClient) Delete ¶
func (c BlobInventoryPoliciesClient) Delete(ctx context.Context, id BlobInventoryPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (BlobInventoryPoliciesClient) Get ¶
func (c BlobInventoryPoliciesClient) Get(ctx context.Context, id BlobInventoryPolicyId) (result GetOperationResponse, err error)
Get ...
func (BlobInventoryPoliciesClient) List ¶
func (c BlobInventoryPoliciesClient) List(ctx context.Context, id StorageAccountId) (result ListOperationResponse, err error)
List ...
type BlobInventoryPolicy ¶
type BlobInventoryPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BlobInventoryPolicyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type BlobInventoryPolicyDefinition ¶
type BlobInventoryPolicyDefinition struct { Filters *BlobInventoryPolicyFilter `json:"filters,omitempty"` Format Format `json:"format"` ObjectType ObjectType `json:"objectType"` Schedule Schedule `json:"schedule"` SchemaFields []string `json:"schemaFields"` }
type BlobInventoryPolicyId ¶
type BlobInventoryPolicyId struct { SubscriptionId string ResourceGroupName string AccountName string BlobInventoryPolicyName BlobInventoryPolicyName }
BlobInventoryPolicyId is a struct representing the Resource ID for a Blob Inventory Policy
func NewBlobInventoryPolicyID ¶
func NewBlobInventoryPolicyID(subscriptionId string, resourceGroupName string, accountName string, blobInventoryPolicyName BlobInventoryPolicyName) BlobInventoryPolicyId
NewBlobInventoryPolicyID returns a new BlobInventoryPolicyId struct
func ParseBlobInventoryPolicyID ¶
func ParseBlobInventoryPolicyID(input string) (*BlobInventoryPolicyId, error)
ParseBlobInventoryPolicyID parses 'input' into a BlobInventoryPolicyId
func ParseBlobInventoryPolicyIDInsensitively ¶
func ParseBlobInventoryPolicyIDInsensitively(input string) (*BlobInventoryPolicyId, error)
ParseBlobInventoryPolicyIDInsensitively parses 'input' case-insensitively into a BlobInventoryPolicyId note: this method should only be used for API response data and not user input
func (BlobInventoryPolicyId) ID ¶
func (id BlobInventoryPolicyId) ID() string
ID returns the formatted Blob Inventory Policy ID
func (BlobInventoryPolicyId) Segments ¶
func (id BlobInventoryPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Blob Inventory Policy ID
func (BlobInventoryPolicyId) String ¶
func (id BlobInventoryPolicyId) String() string
String returns a human-readable description of this Blob Inventory Policy ID
type BlobInventoryPolicyName ¶
type BlobInventoryPolicyName string
const (
BlobInventoryPolicyNameDefault BlobInventoryPolicyName = "default"
)
type BlobInventoryPolicyProperties ¶
type BlobInventoryPolicyProperties struct { LastModifiedTime *string `json:"lastModifiedTime,omitempty"` Policy BlobInventoryPolicySchema `json:"policy"` }
func (*BlobInventoryPolicyProperties) GetLastModifiedTimeAsTime ¶
func (o *BlobInventoryPolicyProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*BlobInventoryPolicyProperties) SetLastModifiedTimeAsTime ¶
func (o *BlobInventoryPolicyProperties) SetLastModifiedTimeAsTime(input time.Time)
type BlobInventoryPolicyRule ¶
type BlobInventoryPolicyRule struct { Definition BlobInventoryPolicyDefinition `json:"definition"` Destination string `json:"destination"` Enabled bool `json:"enabled"` Name string `json:"name"` }
type BlobInventoryPolicySchema ¶
type BlobInventoryPolicySchema struct { Enabled bool `json:"enabled"` Rules []BlobInventoryPolicyRule `json:"rules"` Type InventoryRuleType `json:"type"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *BlobInventoryPolicy }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *BlobInventoryPolicy }
type InventoryRuleType ¶
type InventoryRuleType string
const (
InventoryRuleTypeInventory InventoryRuleType = "Inventory"
)
type ListBlobInventoryPolicy ¶
type ListBlobInventoryPolicy struct {
Value *[]BlobInventoryPolicy `json:"value,omitempty"`
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *ListBlobInventoryPolicy }
type ObjectType ¶
type ObjectType string
const ( ObjectTypeBlob ObjectType = "Blob" ObjectTypeContainer ObjectType = "Container" )
type StorageAccountId ¶
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
Source Files ¶
- client.go
- constants.go
- id_blobinventorypolicy.go
- id_storageaccount.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_blobinventorypolicy.go
- model_blobinventorypolicydefinition.go
- model_blobinventorypolicyfilter.go
- model_blobinventorypolicyproperties.go
- model_blobinventorypolicyrule.go
- model_blobinventorypolicyschema.go
- model_listblobinventorypolicy.go
- version.go