Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForRuleType() []string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ManagementPolicy + OData *odata.OData + type DateAfterCreation struct + DaysAfterCreationGreaterThan float64 + DaysAfterLastTierChangeGreaterThan *float64 + type DateAfterModification struct + DaysAfterCreationGreaterThan *float64 + DaysAfterLastAccessTimeGreaterThan *float64 + DaysAfterLastTierChangeGreaterThan *float64 + DaysAfterModificationGreaterThan *float64 + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *ManagementPolicy + OData *odata.OData + type ManagementPoliciesClient struct + Client *resourcemanager.Client + func NewManagementPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagementPoliciesClient, error) + func (c ManagementPoliciesClient) CreateOrUpdate(ctx context.Context, id commonids.StorageAccountId, input ManagementPolicy) (result CreateOrUpdateOperationResponse, err error) + func (c ManagementPoliciesClient) Delete(ctx context.Context, id commonids.StorageAccountId) (result DeleteOperationResponse, err error) + func (c ManagementPoliciesClient) Get(ctx context.Context, id commonids.StorageAccountId) (result GetOperationResponse, err error) + type ManagementPolicy struct + Id *string + Name *string + Properties *ManagementPolicyProperties + Type *string + type ManagementPolicyAction struct + BaseBlob *ManagementPolicyBaseBlob + Snapshot *ManagementPolicySnapShot + Version *ManagementPolicyVersion + type ManagementPolicyBaseBlob struct + Delete *DateAfterModification + EnableAutoTierToHotFromCool *bool + TierToArchive *DateAfterModification + TierToCold *DateAfterModification + TierToCool *DateAfterModification + TierToHot *DateAfterModification + type ManagementPolicyDefinition struct + Actions ManagementPolicyAction + Filters *ManagementPolicyFilter + type ManagementPolicyFilter struct + BlobIndexMatch *[]TagFilter + BlobTypes []string + PrefixMatch *[]string + type ManagementPolicyProperties struct + LastModifiedTime *string + Policy ManagementPolicySchema + func (o *ManagementPolicyProperties) GetLastModifiedTimeAsTime() (*time.Time, error) + func (o *ManagementPolicyProperties) SetLastModifiedTimeAsTime(input time.Time) + type ManagementPolicyRule struct + Definition ManagementPolicyDefinition + Enabled *bool + Name string + Type RuleType + type ManagementPolicySchema struct + Rules []ManagementPolicyRule + type ManagementPolicySnapShot struct + Delete *DateAfterCreation + TierToArchive *DateAfterCreation + TierToCold *DateAfterCreation + TierToCool *DateAfterCreation + TierToHot *DateAfterCreation + type ManagementPolicyVersion struct + Delete *DateAfterCreation + TierToArchive *DateAfterCreation + TierToCold *DateAfterCreation + TierToCool *DateAfterCreation + TierToHot *DateAfterCreation + type RuleType string + const RuleTypeLifecycle + func (s *RuleType) UnmarshalJSON(bytes []byte) error + type TagFilter struct + Name string + Op string + Value string