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
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.3 (Unreleased)
## 1.0.0-beta.1 (2022-01-13)

- Azure Resource Manager ApplicationInsights client library for Java. This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. Composite Swagger for Application Insights Management Client. Package tag package-2022-01-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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager ApplicationInsights client library for Java.

This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. Composite Swagger for Application Insights Management Client. Package tag package-2021-11-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. Composite Swagger for Application Insights Management Client. Package tag package-2022-01-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-applicationinsights</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ import java.util.Map;
/** Samples for Components CreateOrUpdate. */
public final class ComponentsCreateOrUpdateSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsCreate.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsCreate.json
*/
/**
* Sample code: ComponentCreate.
Expand All @@ -757,11 +757,13 @@ public final class ComponentsCreateOrUpdateSamples {
.withApplicationType(ApplicationType.WEB)
.withFlowType(FlowType.BLUEFIELD)
.withRequestSource(RequestSource.REST)
.withWorkspaceResourceId(
"/subscriptions/subid/resourcegroups/my-resource-group/providers/microsoft.operationalinsights/workspaces/my-workspace")
.create();
}

/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdate.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdate.json
*/
/**
* Sample code: ComponentUpdate.
Expand Down Expand Up @@ -801,7 +803,7 @@ import com.azure.core.util.Context;
/** Samples for Components Delete. */
public final class ComponentsDeleteSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsDelete.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsDelete.json
*/
/**
* Sample code: ComponentsDelete.
Expand All @@ -823,7 +825,7 @@ import com.azure.core.util.Context;
/** Samples for Components GetByResourceGroup. */
public final class ComponentsGetByResourceGroupSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsGet.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsGet.json
*/
/**
* Sample code: ComponentGet.
Expand All @@ -844,7 +846,7 @@ import com.azure.core.util.Context;
/** Samples for Components GetPurgeStatus. */
public final class ComponentsGetPurgeStatusSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurgeStatus.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsPurgeStatus.json
*/
/**
* Sample code: ComponentPurge.
Expand All @@ -869,7 +871,7 @@ import com.azure.core.util.Context;
/** Samples for Components List. */
public final class ComponentsListSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsList.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsList.json
*/
/**
* Sample code: ComponentsList.json.
Expand All @@ -891,7 +893,7 @@ import com.azure.core.util.Context;
/** Samples for Components ListByResourceGroup. */
public final class ComponentsListByResourceGroupSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsListByResourceGroup.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsListByResourceGroup.json
*/
/**
* Sample code: ComponentListByResourceGroup.
Expand All @@ -916,7 +918,7 @@ import java.util.Arrays;
/** Samples for Components Purge. */
public final class ComponentsPurgeSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsPurge.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsPurge.json
*/
/**
* Sample code: ComponentPurge.
Expand Down Expand Up @@ -955,7 +957,7 @@ import java.util.Map;
/** Samples for Components UpdateTags. */
public final class ComponentsUpdateTagsSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2018-05-01-preview/examples/ComponentsUpdateTagsOnly.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2020-02-02/examples/ComponentsUpdateTagsOnly.json
*/
/**
* Sample code: ComponentUpdateTagsOnly.
Expand Down Expand Up @@ -1471,7 +1473,7 @@ import com.azure.core.util.Context;
/** Samples for LiveToken Get. */
public final class LiveTokenGetSamples {
/*
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/examples/LiveTokenGet.json
* x-ms-original-file: specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2021-10-14/examples/LiveTokenGet.json
*/
/**
* Sample code: Get live token for resource.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for ApplicationInsights Management</name>
<description>This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Composite Swagger for Application Insights Management Client. Package tag package-2021-11-01.</description>
<description>This package contains Microsoft Azure SDK for ApplicationInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Composite Swagger for Application Insights Management Client. Package tag package-2022-01-11.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -39,6 +39,9 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.skip>true</jacoco.skip>
<codesnippet.skip>false</codesnippet.skip>
<javadocDoclet></javadocDoclet>
<javadocDocletOptions></javadocDocletOptions>
</properties>
<dependencies>
<dependency>
Expand All @@ -52,4 +55,8 @@
<version>1.5.1</version> <!-- {x-version-update;com.azure:azure-core-management;dependency} -->
</dependency>
</dependencies>
<build>
<plugins>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public ApplicationInsightsManager authenticate(TokenCredential credential, Azure
.append("-")
.append("com.azure.resourcemanager.applicationinsights")
.append("/")
.append("1.0.0-beta.2");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ public final class ApplicationInsightsComponentInner extends ComponentsResource
@JsonProperty(value = "kind", required = true)
private String kind;

/*
* Resource etag
*/
@JsonProperty(value = "etag")
private String etag;

/*
* Properties that define an Application Insights component resource.
*/
Expand Down Expand Up @@ -60,6 +66,26 @@ public ApplicationInsightsComponentInner withKind(String kind) {
return this;
}

/**
* Get the etag property: Resource etag.
*
* @return the etag value.
*/
public String etag() {
return this.etag;
}

/**
* Set the etag property: Resource etag.
*
* @param etag the etag value to set.
* @return the ApplicationInsightsComponentInner object itself.
*/
public ApplicationInsightsComponentInner withEtag(String etag) {
this.etag = etag;
return this;
}

/**
* Get the innerProperties property: Properties that define an Application Insights component resource.
*
Expand Down Expand Up @@ -102,6 +128,15 @@ public String appId() {
return this.innerProperties() == null ? null : this.innerProperties().appId();
}

/**
* Get the name property: Application name.
*
* @return the name value.
*/
public String namePropertiesName() {
return this.innerProperties() == null ? null : this.innerProperties().name();
}

/**
* Get the applicationType property: Type of application being monitored.
*
Expand Down Expand Up @@ -353,6 +388,42 @@ public ApplicationInsightsComponentInner withImmediatePurgeDataOn30Days(Boolean
return this;
}

/**
* Get the workspaceResourceId property: Resource Id of the log analytics workspace which the data will be ingested
* to. This property is required to create an application with this API version. Applications from older versions
* will not have this property.
*
* @return the workspaceResourceId value.
*/
public String workspaceResourceId() {
return this.innerProperties() == null ? null : this.innerProperties().workspaceResourceId();
}

/**
* Set the workspaceResourceId property: Resource Id of the log analytics workspace which the data will be ingested
* to. This property is required to create an application with this API version. Applications from older versions
* will not have this property.
*
* @param workspaceResourceId the workspaceResourceId value to set.
* @return the ApplicationInsightsComponentInner object itself.
*/
public ApplicationInsightsComponentInner withWorkspaceResourceId(String workspaceResourceId) {
if (this.innerProperties() == null) {
this.innerProperties = new ApplicationInsightsComponentProperties();
}
this.innerProperties().withWorkspaceResourceId(workspaceResourceId);
return this;
}

/**
* Get the laMigrationDate property: The date which the component got migrated to LA, in ISO 8601 format.
*
* @return the laMigrationDate value.
*/
public OffsetDateTime laMigrationDate() {
return this.innerProperties() == null ? null : this.innerProperties().laMigrationDate();
}

/**
* Get the privateLinkScopedResources property: List of linked private link scope resources.
*
Expand Down Expand Up @@ -435,6 +506,55 @@ public ApplicationInsightsComponentInner withIngestionMode(IngestionMode ingesti
return this;
}

/**
* Get the disableLocalAuth property: Disable Non-AAD based Auth.
*
* @return the disableLocalAuth value.
*/
public Boolean disableLocalAuth() {
return this.innerProperties() == null ? null : this.innerProperties().disableLocalAuth();
}

/**
* Set the disableLocalAuth property: Disable Non-AAD based Auth.
*
* @param disableLocalAuth the disableLocalAuth value to set.
* @return the ApplicationInsightsComponentInner object itself.
*/
public ApplicationInsightsComponentInner withDisableLocalAuth(Boolean disableLocalAuth) {
if (this.innerProperties() == null) {
this.innerProperties = new ApplicationInsightsComponentProperties();
}
this.innerProperties().withDisableLocalAuth(disableLocalAuth);
return this;
}

/**
* Get the forceCustomerStorageForProfiler property: Force users to create their own storage account for profiler
* and debugger.
*
* @return the forceCustomerStorageForProfiler value.
*/
public Boolean forceCustomerStorageForProfiler() {
return this.innerProperties() == null ? null : this.innerProperties().forceCustomerStorageForProfiler();
}

/**
* Set the forceCustomerStorageForProfiler property: Force users to create their own storage account for profiler
* and debugger.
*
* @param forceCustomerStorageForProfiler the forceCustomerStorageForProfiler value to set.
* @return the ApplicationInsightsComponentInner object itself.
*/
public ApplicationInsightsComponentInner withForceCustomerStorageForProfiler(
Boolean forceCustomerStorageForProfiler) {
if (this.innerProperties() == null) {
this.innerProperties = new ApplicationInsightsComponentProperties();
}
this.innerProperties().withForceCustomerStorageForProfiler(forceCustomerStorageForProfiler);
return this;
}

/**
* Validates the instance.
*
Expand Down
Loading