Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sdk/dashboard/azure-resourcemanager-dashboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

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

- Azure Resource Manager Dashboard client library for Java. This package contains Microsoft Azure SDK for Dashboard Management SDK. The Microsoft.Dashboard Rest API spec. Package tag package-2021-09-01-preview. 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/dashboard/azure-resourcemanager-dashboard/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-dashboard</artifactId>
<version>1.0.0-beta.1</version>
<version>1.0.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,23 @@ public DashboardManager authenticate(TokenCredential credential, AzureProfile pr
}
}

/** @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);
}
return operations;
}

/** @return Resource collection API of Grafanas. */
/**
* Gets the resource collection API of Grafanas.
*
* @return Resource collection API of Grafanas.
*/
public Grafanas grafanas() {
if (this.grafanas == null) {
this.grafanas = new GrafanasImpl(clientObject.getGrafanas(), this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,8 @@ public DashboardManagementClientBuilder serializerAdapter(SerializerAdapter seri
* @return an instance of DashboardManagementClientImpl.
*/
public DashboardManagementClientImpl buildClient() {
if (pipeline == null) {
this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
}
if (endpoint == null) {
this.endpoint = "";
this.endpoint = "https://management.azure.com";
}
if (environment == null) {
this.environment = AzureEnvironment.AZURE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ public static ActionType fromString(String name) {
return fromString(name, ActionType.class);
}

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

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

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

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

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

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