Set-SmStorageConnection
Modifies your existing storage system connections.
Syntax
Set-SmStorageConnection [-Storage] <String> [-Port] <UInt16> [-Protocol] <ConnectProtocol> [-Timeout] <Int32> [-Credential] <PSCredential> [-PreferredIP] <String> [-DisableAsupOnFailure] <> [-DisableSysLog] <> [-Type] <StorageSystemType> [-NetAppAccountName] <String> [-CredentialName] <String> [-NetAppAccountId] <bigint(20)> [-CredentialId] <bigint(20)> [-ResourceGroup] <String> [-PlatformType] <String> [-IsSecondary] <> [-RediscoverSVM] <>
Detailed Description
Modifies your existing storage system connections. You must create your storage system connection in advance of performing any provisioning or data protection jobs.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
Storage |
true |
true (ByPropertyName) |
||
Port |
Specifies the port for the storage system connection. 80 is the default port and is used if you omit the Port parameter. |
false |
true (ByPropertyName) |
|
Protocol |
Specifies the communication protocol you want to use to connect to the storage system. Valid values are: HTTP and HTTPS. |
false |
true (ByPropertyName) |
|
Timeout |
Specifies the storage system timeout in seconds. |
false |
true (ByPropertyName) |
|
Credential |
Specifies your storage system credentials. You must have created valid storage system credentials in advance. |
false |
true (ByPropertyName) |
|
PreferredIP |
Specifies the preferred IP address for the storage system management or data LIF IP address. |
false |
true (ByPropertyName) |
|
DisableAsupOnFailure |
false |
true (ByPropertyName) |
||
DisableSysLog |
false |
true (ByPropertyName) |
||
Type |
Specifies the type of storage. |
false |
true (ByPropertyName) |
|
NetAppAccountName |
Specifies the Azure NetApp Account name. |
false |
true (ByPropertyName) |
|
NetAppAccountId |
Specifies the Azure NetApp Account ID. |
false |
true (ByPropertyName) |
|
CredentialName |
Specifies the Azure NetApp Credential name. |
false |
true (ByPropertyName) |
|
CredentialId |
Specifies the Azure credential ID. |
false |
true (ByPropertyName) |
|
ResourceGroup |
Specifies the resource group. |
false |
true (ByPropertyName) |
|
PlatformType |
This optional parameter specifies the SVM platform type for licensing purposes. Possible values are Hardware and Software. Hardware indicates that you are using a FAS or All Flash FAS plaform. Software indicates that you are using ONTAP Cloud or ONTAP Select.If you specify Type as ONTAP SVM as the storage connection type,and you do not specify PlatformType, the default value is set to Hardware. |
false |
true (ByPropertyName) |
|
IsSecondary |
false |
true (ByPropertyName) |
||
RediscoverSVM |
false |
true (ByPropertyName) |
Examples
Example 1: Modifying a storage system connection
Set-SmStorageConnection -SVM 172.17.168.13 -Port 80 -Protocol Http -Timeout 70
This example syntax modifies an existing storage system connection.
cmdlet Set-SmStorageConnection at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Credential:
Set Storage connection successful
Example 2: Modifying a Azure NetApp Account
Set-SmStorageConnection -Type AzureNetAppAccount -NetAppAccountId 1 -NetAppAccountName "azureNetappAccount1_modified" -CredentialName "AzureCred1_modified" -ResourceGroup "azure_rg1_modified"
This example modifies an existing Azure NetApp Account.
Example 3: Modifying a Azure NetApp Account
Set-SmStorageConnection -Type AzureNetAppAccount -NetAppAccountId 1 -NetAppAccountName "azureNetappAccount1_modified" -CredentialId 2 -ResourceGroup "azure_rg1_modified"
This example modifies an existing Azure NetApp Account.