Client library for Security Center
npm install --save @datafire/azure_security_locations
let azure_security_locations = require('@datafire/azure_security_locations').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
API spec for Microsoft.Security (Azure Security Center) resource provider
The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.
azure_security_locations.Locations_List({
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- api-version required
string
: API version for the operation - subscriptionId required
string
: Azure subscription ID
- api-version required
- output
object
: List of locations where ASC saves your data- nextLink
string
: The URI to fetch the next page. - value
array
- items
object
: The ASC location of the subscription is in the "name" field- properties
object
: An empty set of properties - id
string
: Resource Id - name
string
: Resource name - type
string
: Resource type
- properties
- items
- nextLink
Details of a specific location
azure_security_locations.Locations_Get({
"api-version": "",
"subscriptionId": "",
"ascLocation": ""
}, context)
- input
object
- api-version required
string
: API version for the operation - subscriptionId required
string
: Azure subscription ID - ascLocation required
string
: The location where ASC stores the data of the subscription. can be retrieved from Get locations
- api-version required
- output
object
: The ASC location of the subscription is in the "name" field- properties
object
: An empty set of properties - id
string
: Resource Id - name
string
: Resource name - type
string
: Resource type
- properties
This integration has no definitions