Skip to content

Commit a00885b

Browse files
authored
Fix Analytics Purview Readme issue (Azure#22460)
* update mixed reality sample * update readme
1 parent e0cdc9f commit a00885b

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

sdk/objectanchors/Azure.MixedReality.ObjectAnchors.Conversion/tests/Samples/AssetConversionProcessSample.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ public async Task<FileInfo> DownloadConvertedAsset(Guid jobId)
8080

8181
AssetConversionOperation operation = new AssetConversionOperation(jobId, client);
8282

83+
await operation.WaitForCompletionAsync();
84+
85+
if (!operation.HasCompletedSuccessfully)
86+
{
87+
throw new Exception("The asset conversion operation completed with an unsuccessful status");
88+
}
89+
8390
string localFileDownloadPath = modelDownloadLocalFilePath;
8491

8592
BlobClient downloadBlobClient = new BlobClient(operation.Value.OutputModelUri, new BlobClientOptions());

sdk/purview/Azure.Analytics.Purview.Catalog/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Azure Purview Catalog is a fully managed cloud service whose users can discover
66
- Browse associated technical, business, semantic, and operational metadata
77
- Identify the sensitivity level of data.
88

9-
**Please rely heavily on the [service's documentation][catalog_product_documentation] and our [protocol client docs][protocol_client_quickstart] to use this library**
9+
**Please rely heavily on the [service's documentation][catalog_service_documentation] and our [protocol client docs][protocol_client_quickstart] to use this library**
1010

1111
[Source code][source_code] | [Package (NuGet)][client_nuget_package] | [Product documentation][catalog_product_documentation]
1212

@@ -103,7 +103,8 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
103103
<!-- LINKS -->
104104
[source_code]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/purview/Azure.Analytics.Purview.Catalog/src
105105
[client_nuget_package]: https://www.nuget.org/packages?q=Azure.Analytics.Purview.Catalog
106-
[catalog_product_documentation]: https://azure.microsoft.com/services/purview/
106+
[catalog_service_documentation]: https://azure.microsoft.com/services/purview/
107+
[catalog_product_documentation]: https://docs.microsoft.com/azure/purview/
107108
[azure_identity]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/identity/Azure.Identity
108109
[protocol_client_quickstart]: https://aka.ms/azsdk/net/protocol/quickstart
109110
[default_cred_ref]: https://docs.microsoft.com/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet
@@ -114,5 +115,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
114115
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
115116
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
116117
[coc_contact]: mailto:[email protected]
118+
[contributing]: https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md
117119

118120
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net%2Fsdk%2Fpurview%2FAzure.Analytics.Purview.Catalog%2FREADME.png)

sdk/purview/Azure.Analytics.Purview.Scanning/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Azure Purview Scanning is a fully managed cloud service whose users can scan you
66
- Examine your data
77
- Extract schemas from your data
88

9-
**Please rely heavily on the [service's documentation][catalog_product_documentation] and our [protocol client docs][protocol_client_quickstart] to use this library**
9+
**Please rely heavily on the [service's documentation][catalog_service_documentation] and our [protocol client docs][protocol_client_quickstart] to use this library**
1010

1111
[Source code][source_code] | [Package (NuGet)][client_nuget_package] | [Product documentation][catalog_product_documentation]
1212

@@ -34,7 +34,7 @@ Once you have chosen and configured your credential, you can create instances of
3434

3535
```C#
3636
var credential = new DefaultAzureCredential();
37-
var client = new PurviewScanningClient(new Url("https://<my-account-name>.scanning.purview.azure.com"), credential);
37+
var client = new PurviewScanningClient(new Url("https://<my-account-name>.scan.purview.azure.com"), credential);
3838
```
3939

4040
## Key concepts
@@ -66,7 +66,7 @@ The following section shows you how to initialize and authenticate your client,
6666

6767
```C#
6868
var credential = new DefaultAzureCredential();
69-
var client = new PurviewScanningServiceClient(new Uri("https://<my-account-name>.scanning.purview.azure.com"), credential);
69+
var client = new PurviewScanningServiceClient(new Uri("https://<my-account-name>.scan.purview.azure.com"), credential);
7070

7171
var response = await client.GetDataSourcesAsync();
7272
var responseDocument = JsonDocument.Parse(response.Content);
@@ -103,7 +103,8 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
103103
<!-- LINKS -->
104104
[source_code]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/purview/Azure.Analytics.Purview.Scanning/src
105105
[client_nuget_package]: https://www.nuget.org/packages?q=Azure.Analytics.Purview.Scanning
106-
[catalog_product_documentation]: https://azure.microsoft.com/services/purview/
106+
[catalog_service_documentation]: https://azure.microsoft.com/services/purview/
107+
[catalog_product_documentation]: https://docs.microsoft.com/azure/purview/
107108
[azure_identity]: https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/identity/Azure.Identity
108109
[protocol_client_quickstart]: https://aka.ms/azsdk/net/protocol/quickstart
109110
[default_cred_ref]: https://docs.microsoft.com/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet
@@ -114,5 +115,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
114115
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
115116
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
116117
[coc_contact]: mailto:[email protected]
118+
[contributing]: https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md
117119

118120
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net%2Fsdk%2Fpurview%2FAzure.Analytics.Purview.Scanning%2FREADME.png)

0 commit comments

Comments
 (0)