DataCollectionRuleResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. monitor. fluent. models. DataCollectionRuleResourceInner
- com.
- com.
- com.
public final class DataCollectionRuleResourceInner
extends Resource
Definition of ARM tracked top level resource.
Constructor Summary
Constructor | Description |
---|---|
DataCollectionRuleResourceInner() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
dataCollectionEndpointId()
Get the data |
List<Data |
dataFlows()
Get the data |
Data |
dataSources()
Get the data |
String |
description()
Get the description property: Description of the data collection rule. |
Data |
destinations()
Get the destinations property: The specification of destinations. |
String |
etag()
Get the etag property: Resource entity tag (ETag). |
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
immutableId()
Get the immutable |
Known |
kind()
Get the kind property: The kind of the resource. |
Data |
metadata()
Get the metadata property: Metadata about the resource. |
String |
name()
Get the name property: The name of the resource. |
Known |
provisioningState()
Get the provisioning |
Map<String,Stream |
streamDeclarations()
Get the stream |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Data |
withDataCollectionEndpointId(String dataCollectionEndpointId)
Set the data |
Data |
withDataFlows(List<DataFlow> dataFlows)
Set the data |
Data |
withDataSources(DataCollectionRuleDataSources dataSources)
Set the data |
Data |
withDescription(String description)
Set the description property: Description of the data collection rule. |
Data |
withDestinations(DataCollectionRuleDestinations destinations)
Set the destinations property: The specification of destinations. |
Data |
withKind(KnownDataCollectionRuleResourceKind kind)
Set the kind property: The kind of the resource. |
Data |
withLocation(String location) |
Data |
withStreamDeclarations(Map<String,StreamDeclaration> streamDeclarations)
Set the stream |
Data |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DataCollectionRuleResourceInner
public DataCollectionRuleResourceInner()
Creates an instance of DataCollectionRuleResourceInner class.
Method Details
dataCollectionEndpointId
public String dataCollectionEndpointId()
Get the dataCollectionEndpointId property: The resource ID of the data collection endpoint that this rule can be used with.
Returns:
dataFlows
public List
Get the dataFlows property: The specification of data flows.
Returns:
dataSources
public DataCollectionRuleDataSources dataSources()
Get the dataSources property: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
Returns:
description
public String description()
Get the description property: Description of the data collection rule.
Returns:
destinations
public DataCollectionRuleDestinations destinations()
Get the destinations property: The specification of destinations.
Returns:
etag
public String etag()
Get the etag property: Resource entity tag (ETag).
Returns:
fromJson
public static DataCollectionRuleResourceInner fromJson(JsonReader jsonReader)
Reads an instance of DataCollectionRuleResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DataCollectionRuleResourceInner.id()Returns:
immutableId
public String immutableId()
Get the immutableId property: The immutable ID of this data collection rule. This property is READ-ONLY.
Returns:
kind
public KnownDataCollectionRuleResourceKind kind()
Get the kind property: The kind of the resource.
Returns:
metadata
public DataCollectionRuleMetadata metadata()
Get the metadata property: Metadata about the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DataCollectionRuleResourceInner.name()Returns:
provisioningState
public KnownDataCollectionRuleProvisioningState provisioningState()
Get the provisioningState property: The resource provisioning state.
Returns:
streamDeclarations
public Map
Get the streamDeclarations property: Declaration of custom streams used in this rule.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataCollectionRuleResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DataCollectionRuleResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withDataCollectionEndpointId
public DataCollectionRuleResourceInner withDataCollectionEndpointId(String dataCollectionEndpointId)
Set the dataCollectionEndpointId property: The resource ID of the data collection endpoint that this rule can be used with.
Parameters:
Returns:
withDataFlows
public DataCollectionRuleResourceInner withDataFlows(List
Set the dataFlows property: The specification of data flows.
Parameters:
Returns:
withDataSources
public DataCollectionRuleResourceInner withDataSources(DataCollectionRuleDataSources dataSources)
Set the dataSources property: The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
Parameters:
Returns:
withDescription
public DataCollectionRuleResourceInner withDescription(String description)
Set the description property: Description of the data collection rule.
Parameters:
Returns:
withDestinations
public DataCollectionRuleResourceInner withDestinations(DataCollectionRuleDestinations destinations)
Set the destinations property: The specification of destinations.
Parameters:
Returns:
withKind
public DataCollectionRuleResourceInner withKind(KnownDataCollectionRuleResourceKind kind)
Set the kind property: The kind of the resource.
Parameters:
Returns:
withLocation
public DataCollectionRuleResourceInner withLocation(String location)
Overrides:
DataCollectionRuleResourceInner.withLocation(String location)Parameters:
withStreamDeclarations
public DataCollectionRuleResourceInner withStreamDeclarations(Map
Set the streamDeclarations property: Declaration of custom streams used in this rule.
Parameters:
Returns:
withTags
public DataCollectionRuleResourceInner withTags(Map
Overrides:
DataCollectionRuleResourceInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java