Interface MonitorResource
public interface MonitorResource
An immutable client-side representation of MonitorResource.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the MonitorResource definition.static interface
The MonitorResource definition stages.static interface
The template for MonitorResource update.static interface
The MonitorResource update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the dynatraceEnvironmentProperties property: Properties of the Dynatrace environment.Gets the user account credentials for a Monitor.com.azure.core.http.rest.Response<AccountInfoSecure>
getAccountCredentialsWithResponse
(com.azure.core.util.Context context) Gets the user account credentials for a Monitor.Gets the SSO configuration details from the partner.com.azure.core.http.rest.Response<SsoDetailsResponse>
getSsoDetailsWithResponse
(SsoDetailsRequest request, com.azure.core.util.Context context) Gets the SSO configuration details from the partner.Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.com.azure.core.http.rest.Response<VMExtensionPayload>
getVMHostPayloadWithResponse
(com.azure.core.util.Context context) Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.id()
Gets the id property: Fully qualified resource Id for the resource.identity()
Gets the identity property: The managed service identities assigned to this resource.Gets the inner com.azure.resourcemanager.dynatrace.fluent.models.MonitorResourceInner object.Gets the liftrResourceCategory property: Liftr Resource category.Gets the liftrResourcePreference property: The priority of the resource.com.azure.core.http.rest.PagedIterable<AppServiceInfo>
Gets list of App Services with Dynatrace PaaS OneAgent enabled.com.azure.core.http.rest.PagedIterable<AppServiceInfo>
listAppServices
(com.azure.core.util.Context context) Gets list of App Services with Dynatrace PaaS OneAgent enabled.com.azure.core.http.rest.PagedIterable<VMInfo>
List the compute resources currently being monitored by the Dynatrace resource.com.azure.core.http.rest.PagedIterable<VMInfo>
listHosts
(com.azure.core.util.Context context) List the compute resources currently being monitored by the Dynatrace resource.com.azure.core.http.rest.PagedIterable<LinkableEnvironmentResponse>
Gets all the Dynatrace environments that a user can link a azure resource to.com.azure.core.http.rest.PagedIterable<LinkableEnvironmentResponse>
listLinkableEnvironments
(LinkableEnvironmentRequest request, com.azure.core.util.Context context) Gets all the Dynatrace environments that a user can link a azure resource to.com.azure.core.http.rest.PagedIterable<MonitoredResource>
List the resources currently being monitored by the Dynatrace monitor resource.com.azure.core.http.rest.PagedIterable<MonitoredResource>
listMonitoredResources
(com.azure.core.util.Context context) List the resources currently being monitored by the Dynatrace monitor resource.location()
Gets the location property: The geo-location where the resource lives.Gets the marketplaceSubscriptionStatus property: Marketplace subscription status.Gets the monitoringStatus property: Status of the monitor.name()
Gets the name property: The name of the resource.planData()
Gets the planData property: Billing plan information.Gets the provisioningState property: Provisioning state of the resource.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.com.azure.core.management.SystemData
Gets the systemData property: System metadata for this resource.tags()
Gets the tags property: Resource tags.type()
Gets the type property: The type of the resource.update()
Begins update for the MonitorResource resource.userInfo()
Gets the userInfo property: User info.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: System metadata for this resource.- Returns:
- the systemData value.
-
identity
IdentityProperties identity()Gets the identity property: The managed service identities assigned to this resource.- Returns:
- the identity value.
-
monitoringStatus
MonitoringStatus monitoringStatus()Gets the monitoringStatus property: Status of the monitor.- Returns:
- the monitoringStatus value.
-
marketplaceSubscriptionStatus
MarketplaceSubscriptionStatus marketplaceSubscriptionStatus()Gets the marketplaceSubscriptionStatus property: Marketplace subscription status.- Returns:
- the marketplaceSubscriptionStatus value.
-
dynatraceEnvironmentProperties
DynatraceEnvironmentProperties dynatraceEnvironmentProperties()Gets the dynatraceEnvironmentProperties property: Properties of the Dynatrace environment.- Returns:
- the dynatraceEnvironmentProperties value.
-
userInfo
UserInfo userInfo()Gets the userInfo property: User info.- Returns:
- the userInfo value.
-
planData
PlanData planData()Gets the planData property: Billing plan information.- Returns:
- the planData value.
-
liftrResourceCategory
LiftrResourceCategories liftrResourceCategory()Gets the liftrResourceCategory property: Liftr Resource category.- Returns:
- the liftrResourceCategory value.
-
liftrResourcePreference
Integer liftrResourcePreference()Gets the liftrResourcePreference property: The priority of the resource.- Returns:
- the liftrResourcePreference value.
-
provisioningState
ProvisioningState provisioningState()Gets the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
MonitorResourceInner innerModel()Gets the inner com.azure.resourcemanager.dynatrace.fluent.models.MonitorResourceInner object.- Returns:
- the inner object.
-
update
MonitorResource.Update update()Begins update for the MonitorResource resource.- Returns:
- the stage of resource update.
-
refresh
MonitorResource refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
getAccountCredentials
AccountInfoSecure getAccountCredentials()Gets the user account credentials for a Monitor.- Returns:
- the user account credentials for a Monitor.
- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getAccountCredentialsWithResponse
com.azure.core.http.rest.Response<AccountInfoSecure> getAccountCredentialsWithResponse(com.azure.core.util.Context context) Gets the user account credentials for a Monitor.- Parameters:
context
- The context to associate with this operation.- Returns:
- the user account credentials for a Monitor along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listMonitoredResources
com.azure.core.http.rest.PagedIterable<MonitoredResource> listMonitoredResources()List the resources currently being monitored by the Dynatrace monitor resource.- Returns:
- list of all the resources being monitored by Dynatrace monitor resource as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listMonitoredResources
com.azure.core.http.rest.PagedIterable<MonitoredResource> listMonitoredResources(com.azure.core.util.Context context) List the resources currently being monitored by the Dynatrace monitor resource.- Parameters:
context
- The context to associate with this operation.- Returns:
- list of all the resources being monitored by Dynatrace monitor resource as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getVMHostPayload
VMExtensionPayload getVMHostPayload()Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.- Returns:
- response of payload to be passed while installing VM agent.
- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getVMHostPayloadWithResponse
com.azure.core.http.rest.Response<VMExtensionPayload> getVMHostPayloadWithResponse(com.azure.core.util.Context context) Returns the payload that needs to be passed in the request body for installing Dynatrace agent on a VM.- Parameters:
context
- The context to associate with this operation.- Returns:
- response of payload to be passed while installing VM agent along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listHosts
com.azure.core.http.rest.PagedIterable<VMInfo> listHosts()List the compute resources currently being monitored by the Dynatrace resource.- Returns:
- response of a list VM Host Operation as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listHosts
List the compute resources currently being monitored by the Dynatrace resource.- Parameters:
context
- The context to associate with this operation.- Returns:
- response of a list VM Host Operation as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listAppServices
com.azure.core.http.rest.PagedIterable<AppServiceInfo> listAppServices()Gets list of App Services with Dynatrace PaaS OneAgent enabled.- Returns:
- list of App Services with Dynatrace PaaS OneAgent enabled as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listAppServices
com.azure.core.http.rest.PagedIterable<AppServiceInfo> listAppServices(com.azure.core.util.Context context) Gets list of App Services with Dynatrace PaaS OneAgent enabled.- Parameters:
context
- The context to associate with this operation.- Returns:
- list of App Services with Dynatrace PaaS OneAgent enabled as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getSsoDetails
SsoDetailsResponse getSsoDetails()Gets the SSO configuration details from the partner.- Returns:
- the SSO configuration details from the partner.
- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getSsoDetailsWithResponse
com.azure.core.http.rest.Response<SsoDetailsResponse> getSsoDetailsWithResponse(SsoDetailsRequest request, com.azure.core.util.Context context) Gets the SSO configuration details from the partner.- Parameters:
request
- The details of the get sso details request.context
- The context to associate with this operation.- Returns:
- the SSO configuration details from the partner along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listLinkableEnvironments
com.azure.core.http.rest.PagedIterable<LinkableEnvironmentResponse> listLinkableEnvironments(LinkableEnvironmentRequest request) Gets all the Dynatrace environments that a user can link a azure resource to.- Parameters:
request
- The details of the linkable environment request.- Returns:
- all the Dynatrace environments that a user can link a azure resource to as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listLinkableEnvironments
com.azure.core.http.rest.PagedIterable<LinkableEnvironmentResponse> listLinkableEnvironments(LinkableEnvironmentRequest request, com.azure.core.util.Context context) Gets all the Dynatrace environments that a user can link a azure resource to.- Parameters:
request
- The details of the linkable environment request.context
- The context to associate with this operation.- Returns:
- all the Dynatrace environments that a user can link a azure resource to as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-