Class AccessModeSettingsExclusion
java.lang.Object
com.azure.resourcemanager.monitor.models.AccessModeSettingsExclusion
Properties that define the scope private link mode settings exclusion item. This setting applies to a specific
private endpoint connection and overrides the default settings for that private endpoint connection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AccessModeSettingsExclusion class. -
Method Summary
Modifier and TypeMethodDescriptionGet the ingestionAccessMode property: Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.Get the privateEndpointConnectionName property: The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings.Get the queryAccessMode property: Specifies the access mode of queries through the specified private endpoint connection in the exclusion.voidvalidate()Validates the instance.withIngestionAccessMode(AccessMode ingestionAccessMode) Set the ingestionAccessMode property: Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.withPrivateEndpointConnectionName(String privateEndpointConnectionName) Set the privateEndpointConnectionName property: The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings.withQueryAccessMode(AccessMode queryAccessMode) Set the queryAccessMode property: Specifies the access mode of queries through the specified private endpoint connection in the exclusion.
-
Constructor Details
-
AccessModeSettingsExclusion
public AccessModeSettingsExclusion()Creates an instance of AccessModeSettingsExclusion class.
-
-
Method Details
-
privateEndpointConnectionName
Get the privateEndpointConnectionName property: The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings.- Returns:
- the privateEndpointConnectionName value.
-
withPrivateEndpointConnectionName
public AccessModeSettingsExclusion withPrivateEndpointConnectionName(String privateEndpointConnectionName) Set the privateEndpointConnectionName property: The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings.- Parameters:
privateEndpointConnectionName- the privateEndpointConnectionName value to set.- Returns:
- the AccessModeSettingsExclusion object itself.
-
queryAccessMode
Get the queryAccessMode property: Specifies the access mode of queries through the specified private endpoint connection in the exclusion.- Returns:
- the queryAccessMode value.
-
withQueryAccessMode
Set the queryAccessMode property: Specifies the access mode of queries through the specified private endpoint connection in the exclusion.- Parameters:
queryAccessMode- the queryAccessMode value to set.- Returns:
- the AccessModeSettingsExclusion object itself.
-
ingestionAccessMode
Get the ingestionAccessMode property: Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.- Returns:
- the ingestionAccessMode value.
-
withIngestionAccessMode
Set the ingestionAccessMode property: Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.- Parameters:
ingestionAccessMode- the ingestionAccessMode value to set.- Returns:
- the AccessModeSettingsExclusion object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-