Skip to content

Conversation

@weidongxu-microsoft
Copy link
Member

No description provided.

* @throws IllegalStateException unexcepted state
*/
public static boolean runSample(AzureResourceManager azureResourceManager, String clientId) throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException {
final String rgName = azureResourceManager.resourceGroups().manager().internalContext().randomResourceName("rg", 24);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide these to Utils.

* @param urlString the target URL.
* @return Content of the HTTP response.
*/
public static String sendGetRequest(String urlString) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename it to sendGetRequest.

* @param body the request body.
* @return Content of the HTTP response.
* */
public static String sendPostRequest(String urlString, String body) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename it to sendPostRequest.

@weidongxu-microsoft weidongxu-microsoft merged commit 49cf2a1 into Azure:master Sep 28, 2020
@weidongxu-microsoft weidongxu-microsoft deleted the mgmt_samples-improvement branch September 28, 2020 04:40
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-java that referenced this pull request Aug 25, 2021
[Hub Generated] Public private branch 'raonon-MixedReality-UpdateResourceResponse' (Azure#15763)

* Updated response payload to include missing properties

* Reverted Identity property

* Updated stable/2020_05_01/proxy.json to include missing object properties

Co-authored-by: Raymond Ononiwu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants