Skip to content

Commit

Permalink
change trenton to terraform (Azure#13227)
Browse files Browse the repository at this point in the history
* change trenton to terraform

* change _ to -

* change  _ to -
  • Loading branch information
dw511214992 authored and mkarmark committed Jul 20, 2021
1 parent 5e6323a commit f3f1304
Show file tree
Hide file tree
Showing 17 changed files with 119 additions and 133 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## overrides

These settings apply only when `--trenton` is specified on the command line.
``` yaml $(trenton)
These settings apply only when `--terraform` is specified on the command line.
``` yaml $(terraform)
overrides:
- where:
resource: "*"
Expand Down Expand Up @@ -40,14 +40,14 @@ overrides:
- EnumValues/1/GoEnumMemberName: "ScopeTypeResource"
- EnumValues/2/GoEnumMemberName: "ScopeTypeSubscription"
```
## trenton
## Terraform
These settings apply only when `--trenton` is specified on the command line.
These settings apply only when `--terraform` is specified on the command line.

``` yaml $(trenton)
trenton:
``` yaml $(terraform)
terraform:
cli-name: alertsManagement
package-name: alertsmanagement
clear-output-folder: true
output-folder: $(trenton-output-folder)/alertsmanagement
output-folder: $(terraform-output-folder)/alertsmanagement
```
4 changes: 2 additions & 2 deletions specification/attestation/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ csharp:

See configuration in [readme.go.md](./readme.go.md)

## Trenton
## Terraform

See configuration in [readme.trenton.md](./readme.trenton.md)
See configuration in [readme.terraform.md](./readme.terraform.md)

## AzureResourceSchema

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

## trenton
## Terraform

These settings apply only when `--trenton` is specified on the command line.
These settings apply only when `--terraform` is specified on the command line.

``` yaml $(trenton)
trenton:
``` yaml $(terraform)
terraform:
cli-name: attestation
package-name: attestation
clear-output-folder: true
output-folder: $(trenton-output-folder)/attestation
output-folder: $(terraform-output-folder)/attestation
overrides:
- where:
property: "x5C"
Expand Down
18 changes: 2 additions & 16 deletions specification/customproviders/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ See configuration in [readme.csharp.md](./readme.csharp.md)

See configuration in [readme.nodejs.md](./readme.nodejs.md)

## Trenton
## Terraform

See configuration in [readme.trenton.md](./readme.trenton.md)
See configuration in [readme.terraform.md](./readme.terraform.md)

## AzureResourceSchema

Expand All @@ -113,17 +113,3 @@ cli:
clear-output-folder: false
```

## trenton

These settings apply only when `--trenton` is specified on the command line.

``` yaml $(trenton)
trenton:
cli_name: customproviders
azure_arm: true
license_header: MICROSOFT_MIT_NO_VERSION
payload_flattening_threshold: 2
namespace: azure.mgmt.customproviders
package_name: azure-mgmt-customproviders
clear_output_folder: false
```
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
## Trenton
## Terraform

These settings apply only when `--trenton` is specified on the command line.
These settings apply only when `--terraform` is specified on the command line.

``` yaml $(trenton)
trenton:
cli_name: customproviders
``` yaml $(terraform)
terraform:
cli-name: customproviders
azure_arm: true
license_header: MICROSOFT_MIT_NO_VERSION
payload_flattening_threshold: 2
namespace: azure.mgmt.customproviders
package_name: azure-mgmt-customproviders
clear_output_folder: false
clear-output-folder: true
overrides:
- where:
property: resourceProviderName
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@

## trenton
## Terraform

These settings apply only when `--trenton` is specified on the command line.
These settings apply only when `--terraform` is specified on the command line.

``` yaml $(trenton)
trenton:
``` yaml $(terraform)
terraform:
cli-name: databoxedge
package-name: databoxedge
clear-output-folder: true
output-folder: $(trenton-output-folder)/databoxedge
output-folder: $(terraform-output-folder)/databoxedge
```
## overrides
These settings apply only when `--trenton` is specified on the command line.
``` yaml $(trenton)
These settings apply only when `--terraform` is specified on the command line.
``` yaml $(terraform)
overrides:
- where:
resource: "BandwidthSchedules"
Expand Down
25 changes: 25 additions & 0 deletions specification/datashare/resource-manager/readme.terraform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## overrides

These settings apply only when `--terraform` is specified on the command line.
``` yaml $(terraform)
overrides:
- where:
resource: "*"
set:
- NeedSeparated: false
- where:
resource: "Accounts"
set:
- CombineCreateUpdate: false
```
## Terraform
These settings apply only when `--terraform` is specified on the command line.

``` yaml $(terraform)
terraform:
cli-name: dataShare
package-name: datashare
clear-output-folder: true
output-folder: $(terraform-output-folder)/datashare
```
25 changes: 0 additions & 25 deletions specification/datashare/resource-manager/readme.trenton.md

This file was deleted.

8 changes: 4 additions & 4 deletions specification/devops/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ See configuration in [readme.csharp.md](./readme.csharp.md)

See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)

## trenton
## Terraform

These settings apply only when `--trenton` is specified on the command line.
These settings apply only when `--terraform` is specified on the command line.

``` yaml $(trenton)
trenton:
``` yaml $(terraform)
terraform:
cli-name: devops
azure_arm: true
license_header: MICROSOFT_MIT_NO_VERSION
Expand Down
10 changes: 5 additions & 5 deletions specification/logic/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,17 +252,17 @@ generate-interface: true

See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)

## trenton
## Terraform

These settings apply only when `--trenton` is specified on the command line.
These settings apply only when `--terraform` is specified on the command line.

``` yaml $(trenton)
trenton:
``` yaml $(terraform)
terraform:
cli-name: logic
azure_arm: true
license_header: MICROSOFT_MIT_NO_VERSION
payload_flattening_threshold: 2
namespace: logic
package-name: logic
clear_output_folder: false
clear-output-folder: false
```
10 changes: 5 additions & 5 deletions specification/netapp/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,18 +224,18 @@ See configuration in [readme.java.md](./readme.java.md)

See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)

## trenton
## Terraform

These settings apply only when `--trenton` is specified on the command line.
These settings apply only when `--terraform` is specified on the command line.

``` yaml $(trenton)
trenton:
``` yaml $(terraform)
terraform:
cli-name: netapp
azure_arm: true
license_header: MICROSOFT_MIT_NO_VERSION
payload_flattening_threshold: 2
namespace: netapp
package-name: netapp
clear_output_folder: false
clear-output-folder: false
```

12 changes: 6 additions & 6 deletions specification/resourcegraph/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,17 @@ cli:
clear-output-folder: false
```

## trenton
## Terraform

These settings apply only when `--trenton` is specified on the command line.
These settings apply only when `--terraform` is specified on the command line.

``` yaml $(trenton)
trenton:
cli_name: ResourceGraph
``` yaml $(terraform)
terraform:
cli-name: ResourceGraph
azure_arm: true
license_header: MICROSOFT_MIT_NO_VERSION
payload_flattening_threshold: 2
namespace: azure.mgmt.ResourceGraph
package_name: azure-mgmt-ResourceGraph
clear_output_folder: false
clear-output-folder: false
```
20 changes: 20 additions & 0 deletions specification/resourcemover/resource-manager/readme.terraform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

## Terraform

These settings apply only when `--terraform` is specified on the command line.

``` yaml $(terraform)
terraform:
cli-name: resourcemover
package-name: resourcemover
clear-output-folder: true
output-folder: $(terraform-output-folder)/resourcemover
```
``` yaml $(terraform)
overrides:
- where:
property: dependsOn
set:
- SchemaName: "dependency"
```
20 changes: 0 additions & 20 deletions specification/resourcemover/resource-manager/readme.trenton.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@

## trenton
## Terraform

These settings apply only when `--trenton` is specified on the command line.
These settings apply only when `--terraform` is specified on the command line.

<!-- ``` yaml $(trenton)
trenton:
<!-- ``` yaml $(terraform)
terraform:
cli-name: features
package-name: features
clear-output-folder: true
output-folder: $(trenton-output-folder)/features
output-folder: $(terraform-output-folder)/features
``` -->
``` yaml $(trenton)
``` yaml $(terraform)
batch:
- package-features: true
- package-policy: true
- package-managedapplications: true
```
```yaml $(trenton) && $(package-policy)
trenton:
```yaml $(terraform) && $(package-policy)
terraform:
cli-name: policy
package-name: policy
output-folder: $(trenton-output-folder)/policy
output-folder: $(terraform-output-folder)/policy
clear-output-folder: true
```
```yaml $(trenton) && $(package-features)
trenton:
```yaml $(terraform) && $(package-features)
terraform:
cli-name: features
package-name: features
output-folder: $(trenton-output-folder)/features
output-folder: $(terraform-output-folder)/features
clear-output-folder: true
```
```yaml $(trenton) && $(package-managedapplications)
trenton:
```yaml $(terraform) && $(package-managedapplications)
terraform:
cli-name: managedApplications
package-name: managedapplications
output-folder: $(trenton-output-folder)/managedapplications
output-folder: $(terraform-output-folder)/managedapplications
clear-output-folder: true

overrides:
Expand Down
Loading

0 comments on commit f3f1304

Please sign in to comment.