@@ -24,13 +24,13 @@ The [Microsoft Azure Storage Explorer](https://azure.microsoft.com/features/stor
24
24
### Getting Started with Storage Explorer
25
25
1 . Open the Azure Storage Explorer desktop application.
26
26
27
- 2 . You'll be prompted to add an Azure account; in the dropdown choose the "Azure US Government" option:
27
+ 1 . You'll be prompted to add an Azure account; in the dropdown choose the "Azure US Government" option:
28
28
29
29
![ storage1] ( ./media/documentation-government-get-started-connect-with-storage-img1.png )
30
- 3 . Sign in to your Azure Government account and you can see all of your resources. The Storage Explorer should look similar to the screenshot below. Click on your Storage Account to see the blob containers, file shares, Queues, and Tables.
30
+ 1 . Sign in to your Azure Government account and you can see all of your resources. The Storage Explorer should look similar to the screenshot below. Click on your Storage Account to see the blob containers, file shares, Queues, and Tables.
31
31
32
32
![ storage2] ( ./media/documentation-government-get-started-connect-with-storage-img2.png )
33
-
33
+
34
34
For more information about Azure Storage Explorer, see [ Get started with Storage Explorer] ( ../vs-azure-tools-storage-manage-with-storage-explorer.md ) .
35
35
36
36
## Connecting to the Storage API
@@ -138,39 +138,6 @@ These endpoint differences must be taken into account when you connect to storag
138
138
print(" \t Blob name: " + blob. name)
139
139
```
140
140
141
- #### PHP
142
- 1. Download the [Azure Storage SDK for PHP ](https: // github.com/Azure/azure-sdk-for-php).
143
- 2. The code below accesses Azure Table Storage using the Azure Storage API .
144
- In the `connectionString` variable, you' ll notice that there' s a `TableEndpoint ` parameter.
145
- Depending on which service you' re using, you must define the parameter and set it to the endpoint for that service:
146
-
147
- - BlobEndpoint= //ends with ' blob. core. usgovcloudapi. net'
148
- - QueueEndpoint= //ends with ' queue. core. usgovcloudapi. net'
149
- - TableEndpoint= //ends with ' table. core. usgovcloudapi. net'
150
- >[!Note]
151
- > You can find these endpoints by navigating to your Storage Account from the [portal](https://portal.azure.us).
152
- > **Paste** in your storage account name, key, and service endpoint in the `connectionString` variable.
153
- >
154
-
155
- ```php
156
- <?php
157
- require_once "vendor/autoload.php";
158
- use WindowsAzure\C ommon\S ervicesBuilder;
159
- use MicrosoftAzure\S torage\C ommon\S erviceException;
160
- $connectionString = ' DefaultEndpointsProtocol = http;AccountName = < accountname> ;AccountKey = < accountkey> ;TableEndpoint = http: // <storageaccountname>.table.core.usgovcloudapi.net/';
161
-
162
- $tableRestProxy = ServicesBuilder :: getInstance()- > createTableService($connectionString);
163
- try {
164
- // Create table.
165
- $tableRestProxy- > createTable(" test" );
166
- }
167
- catch (ServiceException $e){
168
- $code = $e- > getCode();
169
- $error_message = $e- > getMessage();
170
- }
171
- ? >
172
- ```
173
-
174
141
## Next steps
175
142
176
143
- Read more about [Azure Storage ](.. / storage/ index. yml).
0 commit comments