Class ApplicationInsightsComponentExportRequest
- java.lang.Object
-
- com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponentExportRequest
-
public final class ApplicationInsightsComponentExportRequest extends Object
An Application Insights component Continuous Export configuration request definition.
-
-
Constructor Summary
Constructors Constructor Description ApplicationInsightsComponentExportRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
destinationAccountId()
Get the destinationAccountId property: The name of destination storage account.String
destinationAddress()
Get the destinationAddress property: The SAS URL for the destination storage container.String
destinationStorageLocationId()
Get the destinationStorageLocationId property: The location ID of the destination storage container.String
destinationStorageSubscriptionId()
Get the destinationStorageSubscriptionId property: The subscription ID of the destination storage container.String
destinationType()
Get the destinationType property: The Continuous Export destination type.String
isEnabled()
Get the isEnabled property: Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.String
notificationQueueEnabled()
Get the notificationQueueEnabled property: Deprecated.String
notificationQueueUri()
Get the notificationQueueUri property: Deprecated.String
recordTypes()
Get the recordTypes property: The document types to be exported, as comma separated values.void
validate()
Validates the instance.ApplicationInsightsComponentExportRequest
withDestinationAccountId(String destinationAccountId)
Set the destinationAccountId property: The name of destination storage account.ApplicationInsightsComponentExportRequest
withDestinationAddress(String destinationAddress)
Set the destinationAddress property: The SAS URL for the destination storage container.ApplicationInsightsComponentExportRequest
withDestinationStorageLocationId(String destinationStorageLocationId)
Set the destinationStorageLocationId property: The location ID of the destination storage container.ApplicationInsightsComponentExportRequest
withDestinationStorageSubscriptionId(String destinationStorageSubscriptionId)
Set the destinationStorageSubscriptionId property: The subscription ID of the destination storage container.ApplicationInsightsComponentExportRequest
withDestinationType(String destinationType)
Set the destinationType property: The Continuous Export destination type.ApplicationInsightsComponentExportRequest
withIsEnabled(String isEnabled)
Set the isEnabled property: Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.ApplicationInsightsComponentExportRequest
withNotificationQueueEnabled(String notificationQueueEnabled)
Set the notificationQueueEnabled property: Deprecated.ApplicationInsightsComponentExportRequest
withNotificationQueueUri(String notificationQueueUri)
Set the notificationQueueUri property: Deprecated.ApplicationInsightsComponentExportRequest
withRecordTypes(String recordTypes)
Set the recordTypes property: The document types to be exported, as comma separated values.
-
-
-
Method Detail
-
recordTypes
public String recordTypes()
Get the recordTypes property: The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.- Returns:
- the recordTypes value.
-
withRecordTypes
public ApplicationInsightsComponentExportRequest withRecordTypes(String recordTypes)
Set the recordTypes property: The document types to be exported, as comma separated values. Allowed values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.- Parameters:
recordTypes
- the recordTypes value to set.- Returns:
- the ApplicationInsightsComponentExportRequest object itself.
-
destinationType
public String destinationType()
Get the destinationType property: The Continuous Export destination type. This has to be 'Blob'.- Returns:
- the destinationType value.
-
withDestinationType
public ApplicationInsightsComponentExportRequest withDestinationType(String destinationType)
Set the destinationType property: The Continuous Export destination type. This has to be 'Blob'.- Parameters:
destinationType
- the destinationType value to set.- Returns:
- the ApplicationInsightsComponentExportRequest object itself.
-
destinationAddress
public String destinationAddress()
Get the destinationAddress property: The SAS URL for the destination storage container. It must grant write permission.- Returns:
- the destinationAddress value.
-
withDestinationAddress
public ApplicationInsightsComponentExportRequest withDestinationAddress(String destinationAddress)
Set the destinationAddress property: The SAS URL for the destination storage container. It must grant write permission.- Parameters:
destinationAddress
- the destinationAddress value to set.- Returns:
- the ApplicationInsightsComponentExportRequest object itself.
-
isEnabled
public String isEnabled()
Get the isEnabled property: Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.- Returns:
- the isEnabled value.
-
withIsEnabled
public ApplicationInsightsComponentExportRequest withIsEnabled(String isEnabled)
Set the isEnabled property: Set to 'true' to create a Continuous Export configuration as enabled, otherwise set it to 'false'.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the ApplicationInsightsComponentExportRequest object itself.
-
notificationQueueEnabled
public String notificationQueueEnabled()
Get the notificationQueueEnabled property: Deprecated.- Returns:
- the notificationQueueEnabled value.
-
withNotificationQueueEnabled
public ApplicationInsightsComponentExportRequest withNotificationQueueEnabled(String notificationQueueEnabled)
Set the notificationQueueEnabled property: Deprecated.- Parameters:
notificationQueueEnabled
- the notificationQueueEnabled value to set.- Returns:
- the ApplicationInsightsComponentExportRequest object itself.
-
notificationQueueUri
public String notificationQueueUri()
Get the notificationQueueUri property: Deprecated.- Returns:
- the notificationQueueUri value.
-
withNotificationQueueUri
public ApplicationInsightsComponentExportRequest withNotificationQueueUri(String notificationQueueUri)
Set the notificationQueueUri property: Deprecated.- Parameters:
notificationQueueUri
- the notificationQueueUri value to set.- Returns:
- the ApplicationInsightsComponentExportRequest object itself.
-
destinationStorageSubscriptionId
public String destinationStorageSubscriptionId()
Get the destinationStorageSubscriptionId property: The subscription ID of the destination storage container.- Returns:
- the destinationStorageSubscriptionId value.
-
withDestinationStorageSubscriptionId
public ApplicationInsightsComponentExportRequest withDestinationStorageSubscriptionId(String destinationStorageSubscriptionId)
Set the destinationStorageSubscriptionId property: The subscription ID of the destination storage container.- Parameters:
destinationStorageSubscriptionId
- the destinationStorageSubscriptionId value to set.- Returns:
- the ApplicationInsightsComponentExportRequest object itself.
-
destinationStorageLocationId
public String destinationStorageLocationId()
Get the destinationStorageLocationId property: The location ID of the destination storage container.- Returns:
- the destinationStorageLocationId value.
-
withDestinationStorageLocationId
public ApplicationInsightsComponentExportRequest withDestinationStorageLocationId(String destinationStorageLocationId)
Set the destinationStorageLocationId property: The location ID of the destination storage container.- Parameters:
destinationStorageLocationId
- the destinationStorageLocationId value to set.- Returns:
- the ApplicationInsightsComponentExportRequest object itself.
-
destinationAccountId
public String destinationAccountId()
Get the destinationAccountId property: The name of destination storage account.- Returns:
- the destinationAccountId value.
-
withDestinationAccountId
public ApplicationInsightsComponentExportRequest withDestinationAccountId(String destinationAccountId)
Set the destinationAccountId property: The name of destination storage account.- Parameters:
destinationAccountId
- the destinationAccountId value to set.- Returns:
- the ApplicationInsightsComponentExportRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-