com.azure.resourcemanager.newrelicobservability.implementation.MonitoredSubscriptionImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-newrelicobservability Show documentation
Show all versions of azure-resourcemanager-newrelicobservability Show documentation
This package contains Microsoft Azure SDK for NewRelicObservability Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2024-01-01.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.newrelicobservability.implementation;
import com.azure.resourcemanager.newrelicobservability.fluent.models.MonitoredSubscriptionInner;
import com.azure.resourcemanager.newrelicobservability.fluent.models.MonitoringTagRulesPropertiesInner;
import com.azure.resourcemanager.newrelicobservability.models.MonitoredSubscription;
import com.azure.resourcemanager.newrelicobservability.models.MonitoringTagRulesProperties;
import com.azure.resourcemanager.newrelicobservability.models.Status;
public final class MonitoredSubscriptionImpl implements MonitoredSubscription {
private MonitoredSubscriptionInner innerObject;
private final com.azure.resourcemanager.newrelicobservability.NewRelicObservabilityManager serviceManager;
MonitoredSubscriptionImpl(MonitoredSubscriptionInner innerObject,
com.azure.resourcemanager.newrelicobservability.NewRelicObservabilityManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String subscriptionId() {
return this.innerModel().subscriptionId();
}
public Status status() {
return this.innerModel().status();
}
public String error() {
return this.innerModel().error();
}
public MonitoringTagRulesProperties tagRules() {
MonitoringTagRulesPropertiesInner inner = this.innerModel().tagRules();
if (inner != null) {
return new MonitoringTagRulesPropertiesImpl(inner, this.manager());
} else {
return null;
}
}
public MonitoredSubscriptionInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.newrelicobservability.NewRelicObservabilityManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy