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.1.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2023-07-18)

- Azure Resource Manager NewRelicObservability client library for Java. This package contains Microsoft Azure SDK for NewRelicObservability Management SDK. Package tag package-2022-07-01. 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 @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-newrelicobservability</artifactId>
<version>1.0.0</version>
<version>1.1.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -103,3 +103,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fnewrelicobservability%2Fazure-resourcemanager-newrelicobservability%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public final class MonitorsCreateOrUpdateSamples {
.define("cdlymktqw")
.withRegion("k")
.withExistingResourceGroup("rgNewRelic")
.withTags(mapOf("key6976", "oaxfhf"))
.withTags(mapOf("key6976", "fakeTokenPlaceholder"))
.withNewRelicAccountProperties(
new NewRelicAccountProperties()
.withUserId("vcscxlncofcuduadesd")
Expand Down Expand Up @@ -291,7 +291,12 @@ public final class MonitorsGetMetricStatusSamples {
.getMetricStatusWithResponse(
"rgNewRelic",
"fhcjxnxumkdlgpwanewtkdnyuz",
new MetricsStatusRequest().withUserEmail("ruxvg@xqkmdhrnoo.hlmbpm"),
new MetricsStatusRequest()
.withAzureResourceIds(
Arrays
.asList(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"))
.withUserEmail("ruxvg@xqkmdhrnoo.hlmbpm"),
com.azure.core.util.Context.NONE);
}

Expand All @@ -311,7 +316,10 @@ public final class MonitorsGetMetricStatusSamples {
"rgNewRelic",
"fhcjxnxumkdlgpwanewtkdnyuz",
new MetricsStatusRequest()
.withAzureResourceIds(Arrays.asList("enfghpfw"))
.withAzureResourceIds(
Arrays
.asList(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"))
.withUserEmail("ruxvg@xqkmdhrnoo.hlmbpm"),
com.azure.core.util.Context.NONE);
}
Expand Down Expand Up @@ -362,7 +370,10 @@ public final class MonitorsListAppServicesSamples {
"rgNewRelic",
"fhcjxnxumkdlgpwanewtkdnyuz",
new AppServicesGetRequest()
.withAzureResourceIds(Arrays.asList("pvzrksrmzowobuhxpwiotnpcvjbu"))
.withAzureResourceIds(
Arrays
.asList(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"))
.withUserEmail("ruxvg@xqkmdhrnoo.hlmbpm"),
com.azure.core.util.Context.NONE);
}
Expand All @@ -382,7 +393,12 @@ public final class MonitorsListAppServicesSamples {
.listAppServices(
"rgNewRelic",
"fhcjxnxumkdlgpwanewtkdnyuz",
new AppServicesGetRequest().withUserEmail("ruxvg@xqkmdhrnoo.hlmbpm"),
new AppServicesGetRequest()
.withAzureResourceIds(
Arrays
.asList(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz"))
.withUserEmail("ruxvg@xqkmdhrnoo.hlmbpm"),
com.azure.core.util.Context.NONE);
}
}
Expand Down Expand Up @@ -543,7 +559,8 @@ public final class MonitorsSwitchBillingSamples {
"rgNewRelic",
"fhcjxnxumkdlgpwanewtkdnyuz",
new SwitchBillingRequest()
.withAzureResourceId("enfghpfw")
.withAzureResourceId(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgNewRelic/providers/NewRelic.Observability/monitors/fhcjxnxumkdlgpwanewtkdnyuz")
.withOrganizationId("k")
.withPlanData(
new PlanData()
Expand Down Expand Up @@ -599,7 +616,7 @@ public final class MonitorsUpdateSamples {
.getValue();
resource
.update()
.withTags(mapOf("key164", "jqakdrrmmyzytqu"))
.withTags(mapOf("key164", "fakeTokenPlaceholder"))
.withIdentity(
new ManagedServiceIdentity()
.withType(ManagedServiceIdentityType.NONE)
Expand Down Expand Up @@ -781,7 +798,7 @@ public final class PlansListSamples {
*/
public static void plansListMinimumSetGen(
com.azure.resourcemanager.newrelicobservability.NewRelicObservabilityManager manager) {
manager.plans().list(null, null, com.azure.core.util.Context.NONE);
manager.plans().list(null, "hilawwjz", com.azure.core.util.Context.NONE);
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public NewRelicObservabilityManager authenticate(TokenCredential credential, Azu
.append("-")
.append("com.azure.resourcemanager.newrelicobservability")
.append("/")
.append("1.0.0");
.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 @@ -6,7 +6,6 @@

import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.newrelicobservability.models.BillingSource;
import com.fasterxml.jackson.annotation.JsonProperty;

Expand All @@ -19,12 +18,6 @@ public final class OrganizationResourceInner extends ProxyResource {
@JsonProperty(value = "properties")
private OrganizationProperties innerProperties;

/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;

/** Creates an instance of OrganizationResourceInner class. */
public OrganizationResourceInner() {
}
Expand All @@ -38,15 +31,6 @@ private OrganizationProperties innerProperties() {
return this.innerProperties;
}

/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}

/**
* Get the organizationId property: organization id.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.resourcemanager.newrelicobservability.models.AccountCreationSource;
import com.azure.resourcemanager.newrelicobservability.models.OrgCreationSource;
import com.azure.resourcemanager.newrelicobservability.models.PlanData;
Expand All @@ -21,12 +20,6 @@ public final class PlanDataResourceInner extends ProxyResource {
@JsonProperty(value = "properties")
private PlanDataProperties innerProperties;

/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;

/** Creates an instance of PlanDataResourceInner class. */
public PlanDataResourceInner() {
}
Expand All @@ -40,15 +33,6 @@ private PlanDataProperties innerProperties() {
return this.innerProperties;
}

/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}

/**
* Get the planData property: Plan details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.newrelicobservability.models.LogRules;
import com.azure.resourcemanager.newrelicobservability.models.ProvisioningState;
Expand All @@ -21,12 +20,6 @@ public final class TagRuleInner extends ProxyResource {
@JsonProperty(value = "properties", required = true)
private MonitoringTagRulesPropertiesInner innerProperties = new MonitoringTagRulesPropertiesInner();

/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
private SystemData systemData;

/** Creates an instance of TagRuleInner class. */
public TagRuleInner() {
}
Expand All @@ -40,15 +33,6 @@ private MonitoringTagRulesPropertiesInner innerProperties() {
return this.innerProperties;
}

/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
* @return the systemData value.
*/
public SystemData systemData() {
return this.systemData;
}

/**
* Get the provisioningState property: Provisioning State of the resource.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

package com.azure.resourcemanager.newrelicobservability.implementation;

import com.azure.core.management.SystemData;
import com.azure.resourcemanager.newrelicobservability.fluent.models.OrganizationResourceInner;
import com.azure.resourcemanager.newrelicobservability.models.BillingSource;
import com.azure.resourcemanager.newrelicobservability.models.OrganizationResource;
Expand Down Expand Up @@ -33,10 +32,6 @@ public String type() {
return this.innerModel().type();
}

public SystemData systemData() {
return this.innerModel().systemData();
}

public String organizationId() {
return this.innerModel().organizationId();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

package com.azure.resourcemanager.newrelicobservability.implementation;

import com.azure.core.management.SystemData;
import com.azure.resourcemanager.newrelicobservability.fluent.models.PlanDataResourceInner;
import com.azure.resourcemanager.newrelicobservability.models.AccountCreationSource;
import com.azure.resourcemanager.newrelicobservability.models.OrgCreationSource;
Expand Down Expand Up @@ -35,10 +34,6 @@ public String type() {
return this.innerModel().type();
}

public SystemData systemData() {
return this.innerModel().systemData();
}

public PlanData planData() {
return this.innerModel().planData();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

package com.azure.resourcemanager.newrelicobservability.implementation;

import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.newrelicobservability.fluent.models.MetricRulesInner;
import com.azure.resourcemanager.newrelicobservability.fluent.models.TagRuleInner;
Expand All @@ -31,10 +30,6 @@ public String type() {
return this.innerModel().type();
}

public SystemData systemData() {
return this.innerModel().systemData();
}

public ProvisioningState provisioningState() {
return this.innerModel().provisioningState();
}
Expand Down
Loading