You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pscloud/README.md
+39-13Lines changed: 39 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
# Azure CLI Pscloud Extension #
2
2
3
-
This is an extension to Azure CLI to manage PureStorage Cloud resources including reservations and storage pools.
3
+
This is an extension to Azure CLI to manage Pure Storage Cloud Azure Native resources.
4
4
5
5
## How to use ##
6
6
7
+
For more details about the Pure Storage Cloud resources please visit [documentation on Pure Support](https://support.purestorage.com/bundle/m_azure_native_pure_storage_cloud/page/Pure_Cloud_Block_Store/Azure_Native_Pure_Storage_Cloud/design/c_resources_in_psc.html).
8
+
7
9
### Install the extension ###
8
10
9
11
Install this extension using the below CLI command:
10
12
```
11
-
az extension add --name pscloud
13
+
az extension add --name pscloud --allow-preview
12
14
```
13
15
14
16
### Check the version ###
@@ -32,57 +34,81 @@ az group create -n demoResourceGroup -l eastus
32
34
33
35
## Available Commands ##
34
36
35
-
#### Show a PureStorage Cloud Resource####
37
+
###Pure Storage Cloud Resource ###
36
38
37
-
```
39
+
This resource represents the enablement of the Pure Storage Cloud service within a selected region of the Azure subscription. This resource may be referred to in the documentation as a *Reservation* resource.
40
+
41
+
#### Create a Pure Storage Cloud Resource ####
42
+
43
+
To create a Pure Storage Cloud, you need to provide a subscription, resource group, selected location and the company information for billing.
44
+
45
+
Currently, creating a Pure Storage Cloud resource cannot be initiated from CLI.
46
+
47
+
#### Show a Pure Storage Cloud Resource ####
48
+
49
+
```bash
38
50
az pscloud show --resource-group {resource_group} --name {reservation_name}
39
51
```
40
52
41
-
#### List PureStorage Cloud Resources ####
53
+
#### List Pure Storage Cloud Resources ####
42
54
43
-
```
55
+
```bash
44
56
az pscloud list --resource-group {resource_group}
45
57
```
46
58
59
+
### Storage Pool Resource ###
60
+
61
+
This resource represents a block storage array instance, delivered as a service, within a specified availability zone and virtual network.
62
+
47
63
#### Create a Storage Pool ####
48
64
49
-
```
65
+
To create a Storage Pool, you need to have a virtual network with a delegated subnet to `PureStorage.Block` service.
az pscloud pool show --resource-group {resource_group} --storage-pool-name {storage_pool_name}
57
75
```
58
76
59
77
#### List Storage Pools ####
60
78
61
-
```
79
+
```bash
62
80
az pscloud pool list --resource-group {resource_group}
63
81
```
64
82
65
83
#### Update a Storage Pool ####
66
84
67
-
```
85
+
```bash
68
86
az pscloud pool update --resource-group {resource_group} --name {storage_pool_name} --provisioned-bandwidth {bandwidth_mb_per_sec}
69
87
```
70
88
71
89
#### Delete a Storage Pool ####
72
90
73
-
```
91
+
```bash
74
92
az pscloud pool delete --resource-group {resource_group} --storage-pool-name {storage_pool_name}
75
93
```
76
94
95
+
#### Connect a Storage Pool to AVS ####
96
+
97
+
Currently, establishing a connection between a Storage Pool and an Azure VMware Solution (AVS) resource must be initiated from the Azure Portal and cannot be initiated from CLI.
98
+
77
99
#### Get Storage Pool Health Status ####
78
100
79
-
```
101
+
This command provides the health status about the Storage Pool.
102
+
103
+
```bash
80
104
az pscloud pool get-health-status --resource-group {resource_group} --storage-pool-name {storage_pool_name}
81
105
```
82
106
83
107
#### Get Storage Pool AVS Status ####
84
108
85
-
```
109
+
This command provides the current connection status between the Storage Pool and Azure VMware Solution (AVS) resource.
110
+
111
+
```bash
86
112
az pscloud pool get-avs-status --resource-group {resource_group} --storage-pool-name {storage_pool_name}
0 commit comments