Documentation ¶
Index ¶
- func PossibleValuesForFormat() []string
- func PossibleValuesForInventoryRuleType() []string
- func PossibleValuesForObjectType() []string
- func PossibleValuesForSchedule() []string
- type BlobInventoryCreationTime
- type BlobInventoryPoliciesClient
- func (c BlobInventoryPoliciesClient) CreateOrUpdate(ctx context.Context, id commonids.StorageAccountId, input BlobInventoryPolicy) (result CreateOrUpdateOperationResponse, err error)
- func (c BlobInventoryPoliciesClient) Delete(ctx context.Context, id commonids.StorageAccountId) (result DeleteOperationResponse, err error)
- func (c BlobInventoryPoliciesClient) Get(ctx context.Context, id commonids.StorageAccountId) (result GetOperationResponse, err error)
- func (c BlobInventoryPoliciesClient) List(ctx context.Context, id commonids.StorageAccountId) (result ListOperationResponse, err error)
- type BlobInventoryPolicy
- type BlobInventoryPolicyDefinition
- type BlobInventoryPolicyFilter
- type BlobInventoryPolicyProperties
- type BlobInventoryPolicyRule
- type BlobInventoryPolicySchema
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Format
- type GetOperationResponse
- type InventoryRuleType
- type ListBlobInventoryPolicy
- type ListOperationResponse
- type ObjectType
- type Schedule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFormat ¶
func PossibleValuesForFormat() []string
func PossibleValuesForInventoryRuleType ¶
func PossibleValuesForInventoryRuleType() []string
func PossibleValuesForObjectType ¶
func PossibleValuesForObjectType() []string
func PossibleValuesForSchedule ¶
func PossibleValuesForSchedule() []string
Types ¶
type BlobInventoryCreationTime ¶
type BlobInventoryCreationTime struct {
LastNDays *int64 `json:"lastNDays,omitempty"`
}
type BlobInventoryPoliciesClient ¶
type BlobInventoryPoliciesClient struct {
Client *resourcemanager.Client
}
func NewBlobInventoryPoliciesClientWithBaseURI ¶
func NewBlobInventoryPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*BlobInventoryPoliciesClient, error)
func (BlobInventoryPoliciesClient) CreateOrUpdate ¶
func (c BlobInventoryPoliciesClient) CreateOrUpdate(ctx context.Context, id commonids.StorageAccountId, input BlobInventoryPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BlobInventoryPoliciesClient) Delete ¶
func (c BlobInventoryPoliciesClient) Delete(ctx context.Context, id commonids.StorageAccountId) (result DeleteOperationResponse, err error)
Delete ...
func (BlobInventoryPoliciesClient) Get ¶
func (c BlobInventoryPoliciesClient) Get(ctx context.Context, id commonids.StorageAccountId) (result GetOperationResponse, err error)
Get ...
func (BlobInventoryPoliciesClient) List ¶
func (c BlobInventoryPoliciesClient) List(ctx context.Context, id commonids.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 BlobInventoryPolicyFilter ¶
type BlobInventoryPolicyFilter struct { BlobTypes *[]string `json:"blobTypes,omitempty"` CreationTime *BlobInventoryCreationTime `json:"creationTime,omitempty"` ExcludePrefix *[]string `json:"excludePrefix,omitempty"` IncludeBlobVersions *bool `json:"includeBlobVersions,omitempty"` IncludeDeleted *bool `json:"includeDeleted,omitempty"` IncludeSnapshots *bool `json:"includeSnapshots,omitempty"` PrefixMatch *[]string `json:"prefixMatch,omitempty"` }
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 { Destination *string `json:"destination,omitempty"` Enabled bool `json:"enabled"` Rules []BlobInventoryPolicyRule `json:"rules"` Type InventoryRuleType `json:"type"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BlobInventoryPolicy }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BlobInventoryPolicy }
type InventoryRuleType ¶
type InventoryRuleType string
const (
InventoryRuleTypeInventory InventoryRuleType = "Inventory"
)
func (*InventoryRuleType) UnmarshalJSON ¶ added in v0.20231114.1115341
func (s *InventoryRuleType) UnmarshalJSON(bytes []byte) error
type ListBlobInventoryPolicy ¶
type ListBlobInventoryPolicy struct {
Value *[]BlobInventoryPolicy `json:"value,omitempty"`
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ListBlobInventoryPolicy }
type ObjectType ¶
type ObjectType string
const ( ObjectTypeBlob ObjectType = "Blob" ObjectTypeContainer ObjectType = "Container" )
func (*ObjectType) UnmarshalJSON ¶ added in v0.20231114.1115341
func (s *ObjectType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_blobinventorycreationtime.go
- model_blobinventorypolicy.go
- model_blobinventorypolicydefinition.go
- model_blobinventorypolicyfilter.go
- model_blobinventorypolicyproperties.go
- model_blobinventorypolicyrule.go
- model_blobinventorypolicyschema.go
- model_listblobinventorypolicy.go
- version.go
Click to show internal directories.
Click to hide internal directories.