Giter VIP home page Giter VIP logo

Comments (2)

codyhosterman avatar codyhosterman commented on June 3, 2024

NAME
New-PfaVvolStoragePolicy

SYNOPSIS
Creates a new FlashArray vVol Storage Policy

SYNTAX
New-PfaVvolStoragePolicy [-PolicyConfig] [[-Server] <VIServer[]>] []

New-PfaVvolStoragePolicy [[-Server] <VIServer[]>] [[-PolicyName] <String>] [[-PolicyDescription] <String>]
[[-ReplicationEnabled] <Nullable`1>] [[-ReplicationInterval] <TimeSpan>] [[-ReplicationRetentionShort] <TimeSpan>]
[[-ReplicationConcurrency] <Int32>] [[-ConsistencyGroupName] <String>] [[-LocalSnapshotEnabled] <Nullable`1>]
[[-LocalSnapshotInterval] <TimeSpan>] [[-LocalSnapshotRetentionShort] <TimeSpan>] [[-TargetFlashArrays]
<VasaStorageArray[]>] [[-SourceFlashArrays] <VasaStorageArray[]>] [<CommonParameters>]

DESCRIPTION
Creates a new FlashArray vVol Storage Policy with specified capabilities

PARAMETERS
-PolicyConfig

-Server <VIServer[]>

-PolicyName <String>

-PolicyDescription <String>

-ReplicationEnabled <Nullable`1>

-ReplicationInterval <TimeSpan>

-ReplicationRetentionShort <TimeSpan>

-ReplicationConcurrency <Int32>

-ConsistencyGroupName <String>

-LocalSnapshotEnabled <Nullable`1>

-LocalSnapshotInterval <TimeSpan>

-LocalSnapshotRetentionShort <TimeSpan>

-TargetFlashArrays <VasaStorageArray[]>

-SourceFlashArrays <VasaStorageArray[]>

<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).

-------------------------- EXAMPLE 1 --------------------------

PS > PS C:\ New-PfaVvolStoragePolicy

Creates the default SPBM policy that indicates a VM should be on a FlashArray using vVols. Default generated name
and description.




-------------------------- EXAMPLE 2 --------------------------

PS > PS C:\ New-PfaVvolStoragePolicy -PolicyName myGreatPolicy

Creates a SPBM policy with the specified name that indicates a VM should be on a FlashArray using vVols. Default
generated description.




-------------------------- EXAMPLE 3 --------------------------

PS > PS C:\ New-PfaVvolStoragePolicy -PolicyName myGreatReplicationPolicy -ReplicationInterval (New-TimeSpan
-Minutes 5) -ReplicationEnabled $true -ReplicationConcurrency 2

Creates a replication-type SPBM policy with the specified name that indicates a VM should be on a FlashArray using
vVols, replicated every 5 minutes to at least two other FlashArrays. Default generated description.




-------------------------- EXAMPLE 4 --------------------------

PS > PS C:\ $policy = Get-PfaVvolStoragePolicy -PolicyName myvVolreplicationpolicy
PS C:\ $policyConfig = Build-PfavVolStoragePolicyConfig -Policy $policy
PS C:\ $policyConfig.policyName = "MyEvenGreaterReplicationPolicy"
PS C:\ $policyConfig.replicationInterval = New-TimeSpan -Minutes 10
PS C:\ Edit-PfaVvolStoragePolicy -PolicyConfig $policyConfig

Creates a new policy with the identical configuration of a previously created policy but with a different name and
replication interval.

from purestorage.flasharray.vmware.

codyhosterman avatar codyhosterman commented on June 3, 2024

Added in 2.2.0.0

from purestorage.flasharray.vmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.