Skip to content

Commit

Permalink
CodeGen from PR 18996 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Migrate to net track2 for some resource-manager readmes (Azure#18996)

* migrate to net track2 for some mgmt RPs

* Update readme.md
  • Loading branch information
SDKAuto committed May 13, 2022
1 parent ecb9fbd commit d167d93
Show file tree
Hide file tree
Showing 24 changed files with 115 additions and 614 deletions.
4 changes: 3 additions & 1 deletion sdk/iotcentral/azure-resourcemanager-iotcentral/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.1.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2022-05-13)

- Azure Resource Manager IotCentral client library for Java. This package contains Microsoft Azure SDK for IotCentral Management SDK. Use this API to manage IoT Central Applications in your Azure subscription. Package tag package-preview-2021-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
2 changes: 1 addition & 1 deletion sdk/iotcentral/azure-resourcemanager-iotcentral/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-iotcentral</artifactId>
<version>1.1.0-beta.1</version>
<version>1.1.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public IotCentralManager authenticate(TokenCredential credential, AzureProfile p
.append("-")
.append("com.azure.resourcemanager.iotcentral")
.append("/")
.append("1.1.0-beta.1");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -272,15 +272,23 @@ public IotCentralManager authenticate(TokenCredential credential, AzureProfile p
}
}

/** @return Resource collection API of Apps. */
/**
* Gets the resource collection API of Apps.
*
* @return Resource collection API of Apps.
*/
public Apps apps() {
if (this.apps == null) {
this.apps = new AppsImpl(clientObject.getApps(), this);
}
return apps;
}

/** @return Resource collection API of PrivateEndpointConnections. */
/**
* Gets the resource collection API of PrivateEndpointConnections.
*
* @return Resource collection API of PrivateEndpointConnections.
*/
public PrivateEndpointConnections privateEndpointConnections() {
if (this.privateEndpointConnections == null) {
this.privateEndpointConnections =
Expand All @@ -289,15 +297,23 @@ public PrivateEndpointConnections privateEndpointConnections() {
return privateEndpointConnections;
}

/** @return Resource collection API of PrivateLinks. */
/**
* Gets the resource collection API of PrivateLinks.
*
* @return Resource collection API of PrivateLinks.
*/
public PrivateLinks privateLinks() {
if (this.privateLinks == null) {
this.privateLinks = new PrivateLinksImpl(clientObject.getPrivateLinks(), this);
}
return privateLinks;
}

/** @return Resource collection API of Operations. */
/**
* Gets the resource collection API of Operations.
*
* @return Resource collection API of Operations.
*/
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ public IotCentralClientBuilder serializerAdapter(SerializerAdapter serializerAda
* @return an instance of IotCentralClientImpl.
*/
public IotCentralClientImpl buildClient() {
if (pipeline == null) {
this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
}
if (endpoint == null) {
this.endpoint = "https://management.azure.com";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ public static AppSku fromString(String name) {
return fromString(name, AppSku.class);
}

/** @return known AppSku values. */
/**
* Gets known AppSku values.
*
* @return known AppSku values.
*/
public static Collection<AppSku> values() {
return values(AppSku.class);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ public static AppState fromString(String name) {
return fromString(name, AppState.class);
}

/** @return known AppState values. */
/**
* Gets known AppState values.
*
* @return known AppState values.
*/
public static Collection<AppState> values() {
return values(AppState.class);
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d167d93

Please sign in to comment.