AccessModeSettings Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. AccessModeSettings
- com.
Implements
public final class AccessModeSettings
implements JsonSerializable<AccessModeSettings>
Properties that define the scope private link mode settings.
Constructor Summary
Constructor | Description |
---|---|
AccessModeSettings() |
Creates an instance of Access |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Access |
exclusions()
Get the exclusions property: List of exclusions that override the default access mode settings for specific private endpoint connections. |
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
Access |
ingestionAccessMode()
Get the ingestion |
Access |
queryAccessMode()
Get the query |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Access |
withExclusions(List<AccessModeSettingsExclusion> exclusions)
Set the exclusions property: List of exclusions that override the default access mode settings for specific private endpoint connections. |
Access |
withIngestionAccessMode(AccessMode ingestionAccessMode)
Set the ingestion |
Access |
withQueryAccessMode(AccessMode queryAccessMode)
Set the query |
Methods inherited from java.lang.Object
Constructor Details
AccessModeSettings
public AccessModeSettings()
Creates an instance of AccessModeSettings class.
Method Details
exclusions
public List
Get the exclusions property: List of exclusions that override the default access mode settings for specific private endpoint connections.
Returns:
fromJson
public static AccessModeSettings fromJson(JsonReader jsonReader)
Reads an instance of AccessModeSettings from the JsonReader.
Parameters:
Returns:
Throws:
ingestionAccessMode
public AccessMode ingestionAccessMode()
Get the ingestionAccessMode property: Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
Returns:
queryAccessMode
public AccessMode queryAccessMode()
Get the queryAccessMode property: Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExclusions
public AccessModeSettings withExclusions(List
Set the exclusions property: List of exclusions that override the default access mode settings for specific private endpoint connections.
Parameters:
Returns:
withIngestionAccessMode
public AccessModeSettings withIngestionAccessMode(AccessMode ingestionAccessMode)
Set the ingestionAccessMode property: Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
Parameters:
Returns:
withQueryAccessMode
public AccessModeSettings withQueryAccessMode(AccessMode queryAccessMode)
Set the queryAccessMode property: Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array.
Parameters:
Returns:
Applies to
Azure SDK for Java