azure-native.security.getAPICollectionByAzureApiManagementService
Explore with Pulumi AI
Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected. Azure REST API version: 2023-11-15.
Using getAPICollectionByAzureApiManagementService
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAPICollectionByAzureApiManagementService(args: GetAPICollectionByAzureApiManagementServiceArgs, opts?: InvokeOptions): Promise<GetAPICollectionByAzureApiManagementServiceResult>
function getAPICollectionByAzureApiManagementServiceOutput(args: GetAPICollectionByAzureApiManagementServiceOutputArgs, opts?: InvokeOptions): Output<GetAPICollectionByAzureApiManagementServiceResult>
def get_api_collection_by_azure_api_management_service(api_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAPICollectionByAzureApiManagementServiceResult
def get_api_collection_by_azure_api_management_service_output(api_id: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAPICollectionByAzureApiManagementServiceResult]
func LookupAPICollectionByAzureApiManagementService(ctx *Context, args *LookupAPICollectionByAzureApiManagementServiceArgs, opts ...InvokeOption) (*LookupAPICollectionByAzureApiManagementServiceResult, error)
func LookupAPICollectionByAzureApiManagementServiceOutput(ctx *Context, args *LookupAPICollectionByAzureApiManagementServiceOutputArgs, opts ...InvokeOption) LookupAPICollectionByAzureApiManagementServiceResultOutput
> Note: This function is named LookupAPICollectionByAzureApiManagementService
in the Go SDK.
public static class GetAPICollectionByAzureApiManagementService
{
public static Task<GetAPICollectionByAzureApiManagementServiceResult> InvokeAsync(GetAPICollectionByAzureApiManagementServiceArgs args, InvokeOptions? opts = null)
public static Output<GetAPICollectionByAzureApiManagementServiceResult> Invoke(GetAPICollectionByAzureApiManagementServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAPICollectionByAzureApiManagementServiceResult> getAPICollectionByAzureApiManagementService(GetAPICollectionByAzureApiManagementServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:security:getAPICollectionByAzureApiManagementService
arguments:
# arguments dictionary
The following arguments are supported:
- Api
Id string - API revision identifier. Must be unique in the API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of the API Management service.
- Api
Id string - API revision identifier. Must be unique in the API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of the API Management service.
- api
Id String - API revision identifier. Must be unique in the API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name String - The name of the API Management service.
- api
Id string - API revision identifier. Must be unique in the API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- service
Name string - The name of the API Management service.
- api_
id str - API revision identifier. Must be unique in the API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- service_
name str - The name of the API Management service.
- api
Id String - API revision identifier. Must be unique in the API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name String - The name of the API Management service.
getAPICollectionByAzureApiManagementService Result
The following output properties are available:
- Base
Url string - The base URI for this API collection. All endpoints of this API collection extend this base URI.
- Discovered
Via string - The resource Id of the resource from where this API collection was discovered.
- Display
Name string - The display name of the API collection.
- Id string
- Resource Id
- Name string
- Resource name
- Number
Of doubleApi Endpoints - The number of API endpoints discovered in this API collection.
- Number
Of doubleApi Endpoints With Sensitive Data Exposed - The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.
- Number
Of doubleExternal Api Endpoints - The number of API endpoints in this API collection for which API traffic from the internet was observed.
- Number
Of doubleInactive Api Endpoints - The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.
- Number
Of doubleUnauthenticated Api Endpoints - The number of API endpoints in this API collection that are unauthenticated.
- Provisioning
State string - Gets the provisioning state of the API collection.
- Sensitivity
Label string - The highest priority sensitivity label from Microsoft Purview in this API collection.
- Type string
- Resource type
- Base
Url string - The base URI for this API collection. All endpoints of this API collection extend this base URI.
- Discovered
Via string - The resource Id of the resource from where this API collection was discovered.
- Display
Name string - The display name of the API collection.
- Id string
- Resource Id
- Name string
- Resource name
- Number
Of float64Api Endpoints - The number of API endpoints discovered in this API collection.
- Number
Of float64Api Endpoints With Sensitive Data Exposed - The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.
- Number
Of float64External Api Endpoints - The number of API endpoints in this API collection for which API traffic from the internet was observed.
- Number
Of float64Inactive Api Endpoints - The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.
- Number
Of float64Unauthenticated Api Endpoints - The number of API endpoints in this API collection that are unauthenticated.
- Provisioning
State string - Gets the provisioning state of the API collection.
- Sensitivity
Label string - The highest priority sensitivity label from Microsoft Purview in this API collection.
- Type string
- Resource type
- base
Url String - The base URI for this API collection. All endpoints of this API collection extend this base URI.
- discovered
Via String - The resource Id of the resource from where this API collection was discovered.
- display
Name String - The display name of the API collection.
- id String
- Resource Id
- name String
- Resource name
- number
Of DoubleApi Endpoints - The number of API endpoints discovered in this API collection.
- number
Of DoubleApi Endpoints With Sensitive Data Exposed - The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.
- number
Of DoubleExternal Api Endpoints - The number of API endpoints in this API collection for which API traffic from the internet was observed.
- number
Of DoubleInactive Api Endpoints - The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.
- number
Of DoubleUnauthenticated Api Endpoints - The number of API endpoints in this API collection that are unauthenticated.
- provisioning
State String - Gets the provisioning state of the API collection.
- sensitivity
Label String - The highest priority sensitivity label from Microsoft Purview in this API collection.
- type String
- Resource type
- base
Url string - The base URI for this API collection. All endpoints of this API collection extend this base URI.
- discovered
Via string - The resource Id of the resource from where this API collection was discovered.
- display
Name string - The display name of the API collection.
- id string
- Resource Id
- name string
- Resource name
- number
Of numberApi Endpoints - The number of API endpoints discovered in this API collection.
- number
Of numberApi Endpoints With Sensitive Data Exposed - The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.
- number
Of numberExternal Api Endpoints - The number of API endpoints in this API collection for which API traffic from the internet was observed.
- number
Of numberInactive Api Endpoints - The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.
- number
Of numberUnauthenticated Api Endpoints - The number of API endpoints in this API collection that are unauthenticated.
- provisioning
State string - Gets the provisioning state of the API collection.
- sensitivity
Label string - The highest priority sensitivity label from Microsoft Purview in this API collection.
- type string
- Resource type
- base_
url str - The base URI for this API collection. All endpoints of this API collection extend this base URI.
- discovered_
via str - The resource Id of the resource from where this API collection was discovered.
- display_
name str - The display name of the API collection.
- id str
- Resource Id
- name str
- Resource name
- number_
of_ floatapi_ endpoints - The number of API endpoints discovered in this API collection.
- number_
of_ floatapi_ endpoints_ with_ sensitive_ data_ exposed - The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.
- number_
of_ floatexternal_ api_ endpoints - The number of API endpoints in this API collection for which API traffic from the internet was observed.
- number_
of_ floatinactive_ api_ endpoints - The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.
- number_
of_ floatunauthenticated_ api_ endpoints - The number of API endpoints in this API collection that are unauthenticated.
- provisioning_
state str - Gets the provisioning state of the API collection.
- sensitivity_
label str - The highest priority sensitivity label from Microsoft Purview in this API collection.
- type str
- Resource type
- base
Url String - The base URI for this API collection. All endpoints of this API collection extend this base URI.
- discovered
Via String - The resource Id of the resource from where this API collection was discovered.
- display
Name String - The display name of the API collection.
- id String
- Resource Id
- name String
- Resource name
- number
Of NumberApi Endpoints - The number of API endpoints discovered in this API collection.
- number
Of NumberApi Endpoints With Sensitive Data Exposed - The number of API endpoints in this API collection which are exposing sensitive data in their requests and/or responses.
- number
Of NumberExternal Api Endpoints - The number of API endpoints in this API collection for which API traffic from the internet was observed.
- number
Of NumberInactive Api Endpoints - The number of API endpoints in this API collection that have not received any API traffic in the last 30 days.
- number
Of NumberUnauthenticated Api Endpoints - The number of API endpoints in this API collection that are unauthenticated.
- provisioning
State String - Gets the provisioning state of the API collection.
- sensitivity
Label String - The highest priority sensitivity label from Microsoft Purview in this API collection.
- type String
- Resource type
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0