Interface LoggerContract
-
public interface LoggerContract
An immutable client-side representation of LoggerContract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
LoggerContract.Definition
The entirety of the LoggerContract definition.static interface
LoggerContract.DefinitionStages
The LoggerContract definition stages.static interface
LoggerContract.Update
The template for LoggerContract update.static interface
LoggerContract.UpdateStages
The LoggerContract update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
credentials()
Gets the credentials property: The name and SendRule connection string of the event hub for azureEventHub logger.String
description()
Gets the description property: Logger description.String
id()
Gets the id property: Fully qualified resource Id for the resource.LoggerContractInner
innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.LoggerContractInner object.Boolean
isBuffered()
Gets the isBuffered property: Whether records are buffered in the logger before publishing.LoggerType
loggerType()
Gets the loggerType property: Logger type.String
name()
Gets the name property: The name of the resource.LoggerContract
refresh()
Refreshes the resource to sync with Azure.LoggerContract
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.String
resourceId()
Gets the resourceId property: Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).String
type()
Gets the type property: The type of the resource.LoggerContract.Update
update()
Begins update for the LoggerContract resource.
-
-
-
Method Detail
-
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.
-
loggerType
LoggerType loggerType()
Gets the loggerType property: Logger type.- Returns:
- the loggerType value.
-
description
String description()
Gets the description property: Logger description.- Returns:
- the description value.
-
credentials
Map<String,String> credentials()
Gets the credentials property: The name and SendRule connection string of the event hub for azureEventHub logger. Instrumentation key for applicationInsights logger.- Returns:
- the credentials value.
-
isBuffered
Boolean isBuffered()
Gets the isBuffered property: Whether records are buffered in the logger before publishing. Default is assumed to be true.- Returns:
- the isBuffered value.
-
resourceId
String resourceId()
Gets the resourceId property: Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).- Returns:
- the resourceId value.
-
innerModel
LoggerContractInner innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.LoggerContractInner object.- Returns:
- the inner object.
-
update
LoggerContract.Update update()
Begins update for the LoggerContract resource.- Returns:
- the stage of resource update.
-
refresh
LoggerContract refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
LoggerContract refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-