İngilizce dilinde oku

Aracılığıyla paylaş


ApiCollectionInner Class

public final class ApiCollectionInner
extends ProxyResource

An API collection as represented by Microsoft Defender for APIs.

Constructor Summary

Constructor Description
ApiCollectionInner()

Creates an instance of ApiCollectionInner 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 ApiCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of ApiCollectionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

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)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ApiCollectionInner

public ApiCollectionInner()

Creates an instance of ApiCollectionInner 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 ApiCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of ApiCollectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ApiCollectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ApiCollectionInner.name()

Returns:

the name value.

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)

Overrides:

ApiCollectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ApiCollectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to

Azure SDK for Java

Preview