Partager via


AccessModeSettingsExclusion Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.models.AccessModeSettingsExclusion

Implements

public final class AccessModeSettingsExclusion
implements JsonSerializable<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

Constructor Description
AccessModeSettingsExclusion()

Creates an instance of AccessModeSettingsExclusion class.

Method Summary

Modifier and Type Method and Description
static AccessModeSettingsExclusion fromJson(JsonReader jsonReader)

Reads an instance of AccessModeSettingsExclusion from the JsonReader.

AccessMode ingestionAccessMode()

Get the ingestionAccessMode property: Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.

String 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.

AccessMode queryAccessMode()

Get the queryAccessMode property: Specifies the access mode of queries through the specified private endpoint connection in the exclusion.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AccessModeSettingsExclusion withIngestionAccessMode(AccessMode ingestionAccessMode)

Set the ingestionAccessMode property: Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.

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.

AccessModeSettingsExclusion withQueryAccessMode(AccessMode queryAccessMode)

Set the queryAccessMode property: Specifies the access mode of queries through the specified private endpoint connection in the exclusion.

Methods inherited from java.lang.Object

Constructor Details

AccessModeSettingsExclusion

public AccessModeSettingsExclusion()

Creates an instance of AccessModeSettingsExclusion class.

Method Details

fromJson

public static AccessModeSettingsExclusion fromJson(JsonReader jsonReader)

Reads an instance of AccessModeSettingsExclusion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccessModeSettingsExclusion if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AccessModeSettingsExclusion.

ingestionAccessMode

public AccessMode ingestionAccessMode()

Get the ingestionAccessMode property: Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion.

Returns:

the ingestionAccessMode value.

privateEndpointConnectionName

public String 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.

queryAccessMode

public AccessMode queryAccessMode()

Get the queryAccessMode property: Specifies the access mode of queries through the specified private endpoint connection in the exclusion.

Returns:

the queryAccessMode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIngestionAccessMode

public AccessModeSettingsExclusion withIngestionAccessMode(AccessMode ingestionAccessMode)

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.

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.

withQueryAccessMode

public AccessModeSettingsExclusion withQueryAccessMode(AccessMode queryAccessMode)

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.

Applies to