İngilizce dilinde oku

Aracılığıyla paylaş


ApiCollectionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.fluent.models.ApiCollectionProperties

Implements

public final class ApiCollectionProperties
implements JsonSerializable<ApiCollectionProperties>

Describes the properties of an API collection.

Constructor Summary

Constructor Description
ApiCollectionProperties()

Creates an instance of ApiCollectionProperties class.

Method Summary

Modifier and Type Method and Description
String baseUrl()

Get the baseUrl property: The base URI for this API collection.

String discoveredVia()

Get the discoveredVia property: The resource Id of the resource from where this API collection was discovered.

String displayName()

Get the displayName property: The display name of the API collection.

static ApiCollectionProperties fromJson(JsonReader jsonReader)

Reads an instance of ApiCollectionProperties from the JsonReader.

Long numberOfApiEndpoints()

Get the numberOfApiEndpoints property: The number of API endpoints discovered in this API collection.

Long numberOfApiEndpointsWithSensitiveDataExposed()

Get the numberOfApiEndpointsWithSensitiveDataExposed property: The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.

Long numberOfExternalApiEndpoints()

Get the numberOfExternalApiEndpoints property: The number of API endpoints in this API collection for which API traffic from the internet was observed.

Long numberOfInactiveApiEndpoints()

Get the numberOfInactiveApiEndpoints property: The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.

Long numberOfUnauthenticatedApiEndpoints()

Get the numberOfUnauthenticatedApiEndpoints property: The number of API endpoints in this API collection that are unauthenticated.

ProvisioningState provisioningState()

Get the provisioningState property: Gets the provisioning state of the API collection.

String sensitivityLabel()

Get the sensitivityLabel property: The highest priority sensitivity label from Microsoft Purview in this API collection.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ApiCollectionProperties

public ApiCollectionProperties()

Creates an instance of ApiCollectionProperties class.

Method Details

baseUrl

public String baseUrl()

Get the baseUrl property: The base URI for this API collection. All endpoints of this API collection extend this base URI.

Returns:

the baseUrl value.

discoveredVia

public String discoveredVia()

Get the discoveredVia property: The resource Id of the resource from where this API collection was discovered.

Returns:

the discoveredVia value.

displayName

public String displayName()

Get the displayName property: The display name of the API collection.

Returns:

the displayName value.

fromJson

public static ApiCollectionProperties fromJson(JsonReader jsonReader)

Reads an instance of ApiCollectionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApiCollectionProperties 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 ApiCollectionProperties.

numberOfApiEndpoints

public Long numberOfApiEndpoints()

Get the numberOfApiEndpoints property: The number of API endpoints discovered in this API collection.

Returns:

the numberOfApiEndpoints value.

numberOfApiEndpointsWithSensitiveDataExposed

public Long numberOfApiEndpointsWithSensitiveDataExposed()

Get the numberOfApiEndpointsWithSensitiveDataExposed property: The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.

Returns:

the numberOfApiEndpointsWithSensitiveDataExposed value.

numberOfExternalApiEndpoints

public Long numberOfExternalApiEndpoints()

Get the numberOfExternalApiEndpoints property: The number of API endpoints in this API collection for which API traffic from the internet was observed.

Returns:

the numberOfExternalApiEndpoints value.

numberOfInactiveApiEndpoints

public Long numberOfInactiveApiEndpoints()

Get the numberOfInactiveApiEndpoints property: The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.

Returns:

the numberOfInactiveApiEndpoints value.

numberOfUnauthenticatedApiEndpoints

public Long numberOfUnauthenticatedApiEndpoints()

Get the numberOfUnauthenticatedApiEndpoints property: The number of API endpoints in this API collection that are unauthenticated.

Returns:

the numberOfUnauthenticatedApiEndpoints value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Gets the provisioning state of the API collection.

Returns:

the provisioningState value.

sensitivityLabel

public String sensitivityLabel()

Get the sensitivityLabel property: The highest priority sensitivity label from Microsoft Purview in this API collection.

Returns:

the sensitivityLabel value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to

Azure SDK for Java

Preview