These settings apply only when --go
is specified on the command line.
go:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: security
clear-output-folder: true
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/security/armsecurity
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
modelerfour:
lenient-model-deduplication: true
directive:
- from: swagger-document
where: '$.paths.*[?(@.operationId.startsWith("Connectors_"))]'
transform: >
$["operationId"] = $["operationId"].replace("Connectors_", "AccountConnectors_");
- rename-model:
from: SecurityOperator
to: OperatorResource
- from: externalSecuritySolutions.json
where: $.definitions['ExternalSecuritySolutionKind']
transform: >
$ = {
"type": "string",
"description": "The kind of the external solution",
"enum": [
"CEF",
"ATA",
"AAD"
],
"x-ms-enum": {
"name": "ExternalSecuritySolutionKind",
"modelAsString": true,
"values": [
{
"value": "CEF"
},
{
"value": "ATA"
},
{
"value": "AAD"
}
]
}
};
- from: externalSecuritySolutions.json
where: $.definitions['ExternalSecuritySolution']
transform: >
$.properties['kind'] = {
"$ref": "#/definitions/ExternalSecuritySolutionKind"
};
$.allOf = [
{
"$ref": "../../../common/v1/types.json#/definitions/Resource"
},
{
"$ref": "../../../common/v1/types.json#/definitions/Location"
}
]
batch:
- tag: package-composite-v1
- tag: package-composite-v2
- tag: package-composite-v3
These settings apply only when --tag=package-composite-v1 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/v1.0/$(namespace)
These settings apply only when --tag=package-composite-v2 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/v2.0/$(namespace)
These settings apply only when --tag=package-composite-v3 --go
is specified on the command line.
Please also specify --go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>
.
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/v3.0/$(namespace)