Skip to content

Commit

Permalink
Remove usages of Uri.ToString() #22413 (#22506)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinagesh authored Jul 7, 2021
1 parent c925b78 commit 737a803
Show file tree
Hide file tree
Showing 50 changed files with 1,721 additions and 1,692 deletions.
8 changes: 4 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@

# PRLabel: %Digital Twins
# ServiceLabel: %Digital Twins %Service Attention
/sdk/digitaltwins/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @bikamani @barustum @jamdavi
/sdk/digitaltwins/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @barustum @jamdavi

# PRLabel: %IoT Models Repository
# ServiceLabel: %IoT Models Repository %Service Attention
/sdk/modelsrepository/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @bikamani @barustum @jamdavi @digimaun
/sdk/modelsrepository/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @barustum @jamdavi @digimaun

# PRLabel: %TimeSeriesInsights
# ServiceLabel: %TimeSeriesInsights %Service Attention
Expand Down Expand Up @@ -321,7 +321,7 @@
#/<NotInRepo>/ @madhurinms

# PRLabel: %Iot
/sdk/iot/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @bikamani @barustum @jamdavi
/sdk/iot/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @barustum @jamdavi

# ServiceLabel: %IotCentral %Service Attention
/sdk/iotcentral/Microsoft.Azure.Management.IotCentral/ @iluican @jlian
Expand All @@ -331,7 +331,7 @@

# PRLabel: %IotHub
# ServiceLabel: %IotHub %Service Attention
/sdk/iothub/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @bikamani @barustum @jamdavi
/sdk/iothub/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @barustum @jamdavi

# ServiceLabel: %IotHub %Service Attention
/sdk/iothub/Microsoft.Azure.Management.IotHub/ @rkmanda @chieftn
Expand Down
12 changes: 6 additions & 6 deletions sdk/iot/Azure.IoT.Hub.Service/src/JobsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public virtual Response<JobProperties> CreateExportDevicesJob(
var jobProperties = new JobProperties
{
Type = JobPropertiesType.Export,
OutputBlobContainerUri = outputBlobContainerUri.ToString(),
OutputBlobContainerUri = outputBlobContainerUri.AbsoluteUri,
ExcludeKeysInExport = excludeKeys,
StorageAuthenticationType = options?.AuthenticationType,
OutputBlobName = options?.OutputBlobName
Expand Down Expand Up @@ -78,7 +78,7 @@ public virtual Task<Response<JobProperties>> CreateExportDevicesJobAsync(
var jobProperties = new JobProperties
{
Type = JobPropertiesType.Export,
OutputBlobContainerUri = outputBlobContainerUri.ToString(),
OutputBlobContainerUri = outputBlobContainerUri.AbsoluteUri,
ExcludeKeysInExport = excludeKeys,
StorageAuthenticationType = options?.AuthenticationType,
OutputBlobName = options?.OutputBlobName
Expand Down Expand Up @@ -107,8 +107,8 @@ public virtual Response<JobProperties> CreateImportDevicesJob(
var jobProperties = new JobProperties
{
Type = JobPropertiesType.Import,
InputBlobContainerUri = importBlobContainerUri.ToString(),
OutputBlobContainerUri = outputBlobContainerUri.ToString(),
InputBlobContainerUri = importBlobContainerUri.AbsoluteUri,
OutputBlobContainerUri = outputBlobContainerUri.AbsoluteUri,
StorageAuthenticationType = options?.AuthenticationType,
InputBlobName = options?.InputBlobName,
OutputBlobName = options?.OutputBlobName,
Expand Down Expand Up @@ -137,8 +137,8 @@ public virtual Task<Response<JobProperties>> CreateImportDevicesJobAsync(
var jobProperties = new JobProperties
{
Type = JobPropertiesType.Import,
InputBlobContainerUri = importBlobContainerUri.ToString(),
OutputBlobContainerUri = outputBlobContainerUri.ToString(),
InputBlobContainerUri = importBlobContainerUri.AbsoluteUri,
OutputBlobContainerUri = outputBlobContainerUri.AbsoluteUri,
StorageAuthenticationType = options?.AuthenticationType,
InputBlobName = options?.InputBlobName,
OutputBlobName = options?.OutputBlobName,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 737a803

Please sign in to comment.