< Back

Enable-AzureStorageDeleteRetentionPolicy

Sun Jan 12, 2020 4:16 pm

NAME Enable-AzureStorageDeleteRetentionPolicy



SYNTAX

Enable-AzureStorageDeleteRetentionPolicy [-RetentionDays] <int> [-PassThru] [-Context <IStorageContext>] [-WhatIf]

[-Confirm] [<CommonParameters>]





PARAMETERS

-Confirm



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases cf

Dynamic? false



-Context <IStorageContext>

Azure Storage Context Object



Required? false

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-PassThru

Display DeleteRetentionPolicyProperties



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-RetentionDays <int>

Sets the number of retention days for the DeleteRetentionPolicy.



Required? true

Position? 0

Accept pipeline input? false

Parameter set name (All)

Aliases Days

Dynamic? false



-WhatIf



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases wi

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext





OUTPUTS

Microsoft.WindowsAzure.Commands.Storage.Model.ResourceModel.PSDeleteRetentionPolicy





ALIASES

Enable-AzureStorageSoftDelete





REMARKS

None





syntax : @{syntaxItem=@{name=blackbox-get-log; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=blackbox-get-log -TABLE_NAME

log71384680ffe50ddadate170912 -KEEP_MONITOR; remarks=System.Management.Automation.PSObject[];

title=-------------------------- EXAMPLE 1 --------------------------}}

details : @{name=blackbox-get-log}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : blackbox-get-log

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : blackbox





syntax : @{syntaxItem=@{name=blackbox-get-screencapture; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=System.Management.Automation.PSObject[]}

details : @{name=blackbox-get-screencapture}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : blackbox-get-screencapture

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : blackbox





syntax : @{syntaxItem=@{name=blackbox-get-session; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=blackbox-get-session;

remarks=System.Management.Automation.PSObject[]; title=-------------------------- EXAMPLE 1

--------------------------}}

details : @{name=blackbox-get-session}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : blackbox-get-session

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : blackbox





syntax : @{syntaxItem=@{name=blackbox-get-table-list; parameter=@{name=FILTER_STR; parameterValue=String;

required=false; globbing=false; pipelineInput=true (ByValue, ByPropertyName); position=1}}}

parameters : @{parameter=@{defaultValue=; parameterValue=String; name=FILTER_STR; type=@{name=String};

required=false; globbing=false; pipelineInput=true (ByValue, ByPropertyName); position=1}}

examples : @{example=System.Management.Automation.PSObject[]}

details : @{name=blackbox-get-table-list}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : blackbox-get-table-list

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : blackbox





syntax : @{syntaxItem=@{name=blackbox-init; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=blackbox-init

-STORAGE_ACCOUNT_NAME blackboxandroid -STORAGE_ACCOUNT_KEY cZg2h0pMVDjDE...==;

remarks=System.Management.Automation.PSObject[]; title=-------------------------- EXAMPLE 1

--------------------------}}

details : @{name=blackbox-init}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : blackbox-init

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : blackbox





syntax : @{syntaxItem=@{name=blackbox-init-check}}

parameters :

examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=blackbox-init-check;

remarks=System.Management.Automation.PSObject[]; title=-------------------------- EXAMPLE 1

--------------------------}}

details : @{name=blackbox-init-check}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : blackbox-init-check

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : blackbox





syntax : @{syntaxItem=@{name=blackbox-module-install-import; parameter=@{name=MODULE_NAME;

parameterValue=String; required=true; globbing=false; pipelineInput=true (ByValue, ByPropertyName);

position=1}}}

parameters : @{parameter=@{defaultValue=; parameterValue=String; name=MODULE_NAME; type=@{name=String};

required=true; globbing=false; pipelineInput=true (ByValue, ByPropertyName); position=1}}

examples : @{example=@{introduction=System.Management.Automation.PSObject[]; code=blackbox-module-install-import

-MODULE_NAME Azure.Storage; remarks=System.Management.Automation.PSObject[];

title=-------------------------- EXAMPLE 1 --------------------------}}

details : @{name=blackbox-module-install-import}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : blackbox-module-install-import

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : blackbox





syntax : @{syntaxItem=@{name=blackbox-remove-screencapture; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=System.Management.Automation.PSObject[]}

details : @{name=blackbox-remove-screencapture}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : blackbox-remove-screencapture

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : blackbox





syntax : @{syntaxItem=@{name=blackbox-remove-table; parameter=System.Management.Automation.PSObject[]}}

parameters : @{parameter=System.Management.Automation.PSObject[]}

examples : @{example=System.Management.Automation.PSObject[]}

details : @{name=blackbox-remove-table}

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

Name : blackbox-remove-table

Category : Function

Synopsis :

Component :

Role :

Functionality :

ModuleName : blackbox