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: articles/java/sdk/lro.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Both `SyncPoller` and `PollerFlux` are the client-side abstractions intended to
27
27
Calling any API that returns a `SyncPoller` will immediately start the long-running operation. The API will return the `SyncPoller` immediately, letting you monitor the progress of the long-running operation and retrieve the final result. The following example shows how to monitor the progress of a long-running operation using the `SyncPoller`.
28
28
29
29
```java
30
-
SyncPoller<UploadBlobProgress, UploadedBlobProperties> poller = syncClient.beginUploadFromUri(<URI to upload from>)
30
+
SyncPoller<UploadBlobProgress, UploadedBlobProperties> poller = syncClient.beginUploadFromUri(<URI to upload from>);
entity-type: queue # set as "topic" if you use Service Bus Topic
961
961
```
962
962
963
963
> [!NOTE]
964
964
> The values allowed for `tenant-id` are: `common`, `organizations`, `consumers`, or the tenant ID. For more information about these values, see the [Used the wrong endpoint (personal and organization accounts)](/troubleshoot/azure/active-directory/error-code-aadsts50020-user-account-identity-provider-does-not-exist#cause-3-used-the-wrong-endpoint-personal-and-organization-accounts) section of [Error AADSTS50020 - User account from identity provider does not exist in tenant](/troubleshoot/azure/active-directory/error-code-aadsts50020-user-account-identity-provider-does-not-exist). For information on converting your single-tenant app, see [Convert single-tenant app to multitenant on Microsoft Entra ID](/entra/identity-platform/howto-convert-app-to-be-multi-tenant).
965
965
966
966
* For credentials as managed identities, configure the following properties in your **application.yml** file:
967
967
968
-
```yaml
969
-
spring:
970
-
cloud:
971
-
azure:
972
-
credential:
973
-
managed-identity-enabled: true
974
-
client-id: ${MANAGED_IDENTITY_CLIENT_ID} # Only needed when using a user-assigned managed identity
975
-
servicebus:
976
-
namespace: ${SERVICEBUS_NAMESPACE}
977
-
function:
978
-
definition: consume;supply
979
-
stream:
980
-
bindings:
981
-
consume-in-0:
982
-
destination: ${SERVICEBUS_ENTITY_NAME}
983
-
# If you use Service Bus Topic, add the following configuration
0 commit comments