diff --git a/modules/analysis-services/server/README.md b/modules/analysis-services/server/README.md index 7fa90cf6f9..67343bda2a 100644 --- a/modules/analysis-services/server/README.md +++ b/modules/analysis-services/server/README.md @@ -28,8 +28,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/analysis-services.server:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Max](#example-2-max) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Max](#example-3-max) ### Example 1: _Using large parameter set_ @@ -151,7 +151,55 @@ module server 'br:bicep/modules/analysis-services.server:1.0.0' = {

-### Example 2: _Max_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module server 'br:bicep/modules/analysis-services.server:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-assmin' + params: { + // Required parameters + name: 'assmin' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "assmin" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Max_

@@ -298,54 +346,6 @@ module server 'br:bicep/modules/analysis-services.server:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module server 'br:bicep/modules/analysis-services.server:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-assmin' - params: { - // Required parameters - name: 'assmin' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "assmin" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ## Parameters diff --git a/modules/analysis-services/server/tests/e2e/min/main.test.bicep b/modules/analysis-services/server/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/analysis-services/server/tests/e2e/min/main.test.bicep rename to modules/analysis-services/server/tests/e2e/defaults/main.test.bicep diff --git a/modules/api-management/service/README.md b/modules/api-management/service/README.md index 596879a4b5..dda735bb01 100644 --- a/modules/api-management/service/README.md +++ b/modules/api-management/service/README.md @@ -43,8 +43,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/api-management.service:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Max](#example-2-max) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Max](#example-3-max) ### Example 1: _Using large parameter set_ @@ -200,7 +200,63 @@ module service 'br:bicep/modules/api-management.service:1.0.0' = {

-### Example 2: _Max_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module service 'br:bicep/modules/api-management.service:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-apismin' + params: { + // Required parameters + name: 'apismin001' + publisherEmail: 'apimgmt-noreply@mail.windowsazure.com' + publisherName: 'az-amorg-x-001' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "apismin001" + }, + "publisherEmail": { + "value": "apimgmt-noreply@mail.windowsazure.com" + }, + "publisherName": { + "value": "az-amorg-x-001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Max_

@@ -567,62 +623,6 @@ module service 'br:bicep/modules/api-management.service:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module service 'br:bicep/modules/api-management.service:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-apismin' - params: { - // Required parameters - name: 'apismin001' - publisherEmail: 'apimgmt-noreply@mail.windowsazure.com' - publisherName: 'az-amorg-x-001' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "apismin001" - }, - "publisherEmail": { - "value": "apimgmt-noreply@mail.windowsazure.com" - }, - "publisherName": { - "value": "az-amorg-x-001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ## Parameters diff --git a/modules/api-management/service/tests/e2e/min/main.test.bicep b/modules/api-management/service/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/api-management/service/tests/e2e/min/main.test.bicep rename to modules/api-management/service/tests/e2e/defaults/main.test.bicep diff --git a/modules/app-configuration/configuration-store/README.md b/modules/app-configuration/configuration-store/README.md index b7cd4a7c0d..46f091b2d9 100644 --- a/modules/app-configuration/configuration-store/README.md +++ b/modules/app-configuration/configuration-store/README.md @@ -31,8 +31,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/app-configuration.configuration-store:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) - [Pe](#example-4-pe) ### Example 1: _Using large parameter set_ @@ -211,7 +211,55 @@ module configurationStore 'br:bicep/modules/app-configuration.configuration-stor

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module configurationStore 'br:bicep/modules/app-configuration.configuration-store:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-accmin' + params: { + // Required parameters + name: 'accmin001' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "accmin001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Encr_

@@ -354,54 +402,6 @@ module configurationStore 'br:bicep/modules/app-configuration.configuration-stor

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module configurationStore 'br:bicep/modules/app-configuration.configuration-store:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-accmin' - params: { - // Required parameters - name: 'accmin001' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "accmin001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ### Example 4: _Pe_

diff --git a/modules/app-configuration/configuration-store/tests/e2e/min/main.test.bicep b/modules/app-configuration/configuration-store/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/app-configuration/configuration-store/tests/e2e/min/main.test.bicep rename to modules/app-configuration/configuration-store/tests/e2e/defaults/main.test.bicep diff --git a/modules/app/container-app/tests/e2e/min/dependencies.bicep b/modules/app/container-app/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/app/container-app/tests/e2e/min/dependencies.bicep rename to modules/app/container-app/tests/e2e/defaults/dependencies.bicep diff --git a/modules/app/container-app/tests/e2e/min/main.test.bicep b/modules/app/container-app/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/app/container-app/tests/e2e/min/main.test.bicep rename to modules/app/container-app/tests/e2e/defaults/main.test.bicep diff --git a/modules/app/job/tests/e2e/min/dependencies.bicep b/modules/app/job/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/app/job/tests/e2e/min/dependencies.bicep rename to modules/app/job/tests/e2e/defaults/dependencies.bicep diff --git a/modules/app/job/tests/e2e/min/main.test.bicep b/modules/app/job/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/app/job/tests/e2e/min/main.test.bicep rename to modules/app/job/tests/e2e/defaults/main.test.bicep diff --git a/modules/app/managed-environment/tests/e2e/min/dependencies.bicep b/modules/app/managed-environment/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/app/managed-environment/tests/e2e/min/dependencies.bicep rename to modules/app/managed-environment/tests/e2e/defaults/dependencies.bicep diff --git a/modules/app/managed-environment/tests/e2e/min/main.test.bicep b/modules/app/managed-environment/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/app/managed-environment/tests/e2e/min/main.test.bicep rename to modules/app/managed-environment/tests/e2e/defaults/main.test.bicep diff --git a/modules/automation/automation-account/README.md b/modules/automation/automation-account/README.md index a2f5f9fd1f..b5b6e86e68 100644 --- a/modules/automation/automation-account/README.md +++ b/modules/automation/automation-account/README.md @@ -38,8 +38,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/automation.automation-account:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) ### Example 1: _Using large parameter set_ @@ -497,7 +497,10 @@ module automationAccount 'br:bicep/modules/automation.automation-account:1.0.0'

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. +

@@ -505,22 +508,12 @@ module automationAccount 'br:bicep/modules/automation.automation-account:1.0.0' ```bicep module automationAccount 'br:bicep/modules/automation.automation-account:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-aaencr' + name: '${uniqueString(deployment().name, location)}-test-aamin' params: { // Required parameters - name: 'aaencr001' + name: 'aamin001' // Non-required parameters - customerManagedKey: { - keyName: '' - keyVaultResourceId: '' - userAssignedIdentityResourceId: '' - } enableDefaultTelemetry: '' - managedIdentities: { - userAssignedResourcesIds: [ - '' - ] - } } } ``` @@ -539,25 +532,11 @@ module automationAccount 'br:bicep/modules/automation.automation-account:1.0.0' "parameters": { // Required parameters "name": { - "value": "aaencr001" + "value": "aamin001" }, // Non-required parameters - "customerManagedKey": { - "value": { - "keyName": "", - "keyVaultResourceId": "", - "userAssignedIdentityResourceId": "" - } - }, "enableDefaultTelemetry": { "value": "" - }, - "managedIdentities": { - "value": { - "userAssignedResourcesIds": [ - "" - ] - } } } } @@ -566,10 +545,7 @@ module automationAccount 'br:bicep/modules/automation.automation-account:1.0.0'

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - +### Example 3: _Encr_

@@ -577,12 +553,22 @@ This instance deploys the module with the minimum set of required parameters. ```bicep module automationAccount 'br:bicep/modules/automation.automation-account:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-aamin' + name: '${uniqueString(deployment().name, location)}-test-aaencr' params: { // Required parameters - name: 'aamin001' + name: 'aaencr001' // Non-required parameters + customerManagedKey: { + keyName: '' + keyVaultResourceId: '' + userAssignedIdentityResourceId: '' + } enableDefaultTelemetry: '' + managedIdentities: { + userAssignedResourcesIds: [ + '' + ] + } } } ``` @@ -601,11 +587,25 @@ module automationAccount 'br:bicep/modules/automation.automation-account:1.0.0' "parameters": { // Required parameters "name": { - "value": "aamin001" + "value": "aaencr001" }, // Non-required parameters + "customerManagedKey": { + "value": { + "keyName": "", + "keyVaultResourceId": "", + "userAssignedIdentityResourceId": "" + } + }, "enableDefaultTelemetry": { "value": "" + }, + "managedIdentities": { + "value": { + "userAssignedResourcesIds": [ + "" + ] + } } } } diff --git a/modules/automation/automation-account/tests/e2e/min/main.test.bicep b/modules/automation/automation-account/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/automation/automation-account/tests/e2e/min/main.test.bicep rename to modules/automation/automation-account/tests/e2e/defaults/main.test.bicep diff --git a/modules/batch/batch-account/README.md b/modules/batch/batch-account/README.md index 968d2b7b7b..45497741ab 100644 --- a/modules/batch/batch-account/README.md +++ b/modules/batch/batch-account/README.md @@ -32,8 +32,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/batch.batch-account:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) ### Example 1: _Using large parameter set_ @@ -217,7 +217,59 @@ module batchAccount 'br:bicep/modules/batch.batch-account:1.0.0' = {

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module batchAccount 'br:bicep/modules/batch.batch-account:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-bbamin' + params: { + // Required parameters + name: 'bbamin001' + storageAccountId: '' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "bbamin001" + }, + "storageAccountId": { + "value": "" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Encr_

@@ -340,58 +392,6 @@ module batchAccount 'br:bicep/modules/batch.batch-account:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module batchAccount 'br:bicep/modules/batch.batch-account:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-bbamin' - params: { - // Required parameters - name: 'bbamin001' - storageAccountId: '' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "bbamin001" - }, - "storageAccountId": { - "value": "" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ## Parameters diff --git a/modules/batch/batch-account/tests/e2e/min/dependencies.bicep b/modules/batch/batch-account/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/batch/batch-account/tests/e2e/min/dependencies.bicep rename to modules/batch/batch-account/tests/e2e/defaults/dependencies.bicep diff --git a/modules/batch/batch-account/tests/e2e/min/main.test.bicep b/modules/batch/batch-account/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/batch/batch-account/tests/e2e/min/main.test.bicep rename to modules/batch/batch-account/tests/e2e/defaults/main.test.bicep diff --git a/modules/cache/redis-enterprise/README.md b/modules/cache/redis-enterprise/README.md index adcf1a6345..9dd72d458e 100644 --- a/modules/cache/redis-enterprise/README.md +++ b/modules/cache/redis-enterprise/README.md @@ -31,8 +31,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/cache.redis-enterprise:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Geo](#example-2-geo) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Geo](#example-3-geo) ### Example 1: _Using large parameter set_ @@ -228,7 +228,55 @@ module redisEnterprise 'br:bicep/modules/cache.redis-enterprise:1.0.0' = {

-### Example 2: _Geo_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module redisEnterprise 'br:bicep/modules/cache.redis-enterprise:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-cremin' + params: { + // Required parameters + name: 'cremin001' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "cremin001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Geo_

@@ -349,54 +397,6 @@ module redisEnterprise 'br:bicep/modules/cache.redis-enterprise:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module redisEnterprise 'br:bicep/modules/cache.redis-enterprise:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-cremin' - params: { - // Required parameters - name: 'cremin001' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "cremin001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ## Parameters diff --git a/modules/cache/redis-enterprise/tests/e2e/min/main.test.bicep b/modules/cache/redis-enterprise/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/cache/redis-enterprise/tests/e2e/min/main.test.bicep rename to modules/cache/redis-enterprise/tests/e2e/defaults/main.test.bicep diff --git a/modules/cache/redis/tests/e2e/min/main.test.bicep b/modules/cache/redis/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/cache/redis/tests/e2e/min/main.test.bicep rename to modules/cache/redis/tests/e2e/defaults/main.test.bicep diff --git a/modules/cognitive-services/account/README.md b/modules/cognitive-services/account/README.md index 88f881fde6..66a4163847 100644 --- a/modules/cognitive-services/account/README.md +++ b/modules/cognitive-services/account/README.md @@ -33,8 +33,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/cognitive-services.account:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) - [Speech](#example-4-speech) ### Example 1: _Using large parameter set_ @@ -237,7 +237,10 @@ module account 'br:bicep/modules/cognitive-services.account:1.0.0' = {

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. +

@@ -245,24 +248,13 @@ module account 'br:bicep/modules/cognitive-services.account:1.0.0' = { ```bicep module account 'br:bicep/modules/cognitive-services.account:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-csaencr' + name: '${uniqueString(deployment().name, location)}-test-csamin' params: { // Required parameters kind: 'SpeechServices' - name: 'csaencr001' + name: 'csamin001' // Non-required parameters - cMKKeyName: '' - cMKKeyVaultResourceId: '' - cMKUserAssignedIdentityResourceId: '' enableDefaultTelemetry: '' - managedIdentities: { - userAssignedResourcesIds: [ - '' - ] - } - publicNetworkAccess: 'Enabled' - restrictOutboundNetworkAccess: false - sku: 'S0' } } ``` @@ -284,36 +276,11 @@ module account 'br:bicep/modules/cognitive-services.account:1.0.0' = { "value": "SpeechServices" }, "name": { - "value": "csaencr001" + "value": "csamin001" }, // Non-required parameters - "cMKKeyName": { - "value": "" - }, - "cMKKeyVaultResourceId": { - "value": "" - }, - "cMKUserAssignedIdentityResourceId": { - "value": "" - }, "enableDefaultTelemetry": { "value": "" - }, - "managedIdentities": { - "value": { - "userAssignedResourcesIds": [ - "" - ] - } - }, - "publicNetworkAccess": { - "value": "Enabled" - }, - "restrictOutboundNetworkAccess": { - "value": false - }, - "sku": { - "value": "S0" } } } @@ -322,10 +289,7 @@ module account 'br:bicep/modules/cognitive-services.account:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - +### Example 3: _Encr_

@@ -333,13 +297,24 @@ This instance deploys the module with the minimum set of required parameters. ```bicep module account 'br:bicep/modules/cognitive-services.account:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-csamin' + name: '${uniqueString(deployment().name, location)}-test-csaencr' params: { // Required parameters kind: 'SpeechServices' - name: 'csamin001' + name: 'csaencr001' // Non-required parameters + cMKKeyName: '' + cMKKeyVaultResourceId: '' + cMKUserAssignedIdentityResourceId: '' enableDefaultTelemetry: '' + managedIdentities: { + userAssignedResourcesIds: [ + '' + ] + } + publicNetworkAccess: 'Enabled' + restrictOutboundNetworkAccess: false + sku: 'S0' } } ``` @@ -361,11 +336,36 @@ module account 'br:bicep/modules/cognitive-services.account:1.0.0' = { "value": "SpeechServices" }, "name": { - "value": "csamin001" + "value": "csaencr001" }, // Non-required parameters + "cMKKeyName": { + "value": "" + }, + "cMKKeyVaultResourceId": { + "value": "" + }, + "cMKUserAssignedIdentityResourceId": { + "value": "" + }, "enableDefaultTelemetry": { "value": "" + }, + "managedIdentities": { + "value": { + "userAssignedResourcesIds": [ + "" + ] + } + }, + "publicNetworkAccess": { + "value": "Enabled" + }, + "restrictOutboundNetworkAccess": { + "value": false + }, + "sku": { + "value": "S0" } } } diff --git a/modules/cognitive-services/account/tests/e2e/min/main.test.bicep b/modules/cognitive-services/account/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/cognitive-services/account/tests/e2e/min/main.test.bicep rename to modules/cognitive-services/account/tests/e2e/defaults/main.test.bicep diff --git a/modules/compute/availability-set/tests/e2e/min/main.test.bicep b/modules/compute/availability-set/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/compute/availability-set/tests/e2e/min/main.test.bicep rename to modules/compute/availability-set/tests/e2e/defaults/main.test.bicep diff --git a/modules/compute/disk/README.md b/modules/compute/disk/README.md index d1acd93b46..11eec29dec 100644 --- a/modules/compute/disk/README.md +++ b/modules/compute/disk/README.md @@ -27,9 +27,9 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/compute.disk:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Image](#example-2-image) -- [Import](#example-3-import) -- [Using only defaults](#example-4-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Image](#example-3-image) +- [Import](#example-4-import) ### Example 1: _Using large parameter set_ @@ -145,7 +145,63 @@ module disk 'br:bicep/modules/compute.disk:1.0.0' = {

-### Example 2: _Image_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module disk 'br:bicep/modules/compute.disk:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-cdmin' + params: { + // Required parameters + name: 'cdmin001' + sku: 'Standard_LRS' + // Non-required parameters + diskSizeGB: 1 + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "cdmin001" + }, + "sku": { + "value": "Standard_LRS" + }, + // Non-required parameters + "diskSizeGB": { + "value": 1 + }, + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Image_

@@ -230,7 +286,7 @@ module disk 'br:bicep/modules/compute.disk:1.0.0' = {

-### Example 3: _Import_ +### Example 4: _Import_

@@ -319,62 +375,6 @@ module disk 'br:bicep/modules/compute.disk:1.0.0' = {

-### Example 4: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module disk 'br:bicep/modules/compute.disk:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-cdmin' - params: { - // Required parameters - name: 'cdmin001' - sku: 'Standard_LRS' - // Non-required parameters - diskSizeGB: 1 - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "cdmin001" - }, - "sku": { - "value": "Standard_LRS" - }, - // Non-required parameters - "diskSizeGB": { - "value": 1 - }, - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ## Parameters diff --git a/modules/compute/disk/tests/e2e/min/main.test.bicep b/modules/compute/disk/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/compute/disk/tests/e2e/min/main.test.bicep rename to modules/compute/disk/tests/e2e/defaults/main.test.bicep diff --git a/modules/compute/gallery/tests/e2e/min/main.test.bicep b/modules/compute/gallery/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/compute/gallery/tests/e2e/min/main.test.bicep rename to modules/compute/gallery/tests/e2e/defaults/main.test.bicep diff --git a/modules/compute/proximity-placement-group/tests/e2e/min/main.test.bicep b/modules/compute/proximity-placement-group/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/compute/proximity-placement-group/tests/e2e/min/main.test.bicep rename to modules/compute/proximity-placement-group/tests/e2e/defaults/main.test.bicep diff --git a/modules/compute/ssh-public-key/tests/e2e/min/main.test.bicep b/modules/compute/ssh-public-key/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/compute/ssh-public-key/tests/e2e/min/main.test.bicep rename to modules/compute/ssh-public-key/tests/e2e/defaults/main.test.bicep diff --git a/modules/consumption/budget/tests/e2e/min/main.test.bicep b/modules/consumption/budget/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/consumption/budget/tests/e2e/min/main.test.bicep rename to modules/consumption/budget/tests/e2e/defaults/main.test.bicep diff --git a/modules/container-instance/container-group/README.md b/modules/container-instance/container-group/README.md index 342a9f3fc0..124aa25f20 100644 --- a/modules/container-instance/container-group/README.md +++ b/modules/container-instance/container-group/README.md @@ -27,8 +27,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/container-instance.container-group:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) - [Private](#example-4-private) ### Example 1: _Using large parameter set_ @@ -231,7 +231,111 @@ module containerGroup 'br:bicep/modules/container-instance.container-group:1.0.0

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module containerGroup 'br:bicep/modules/container-instance.container-group:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-cicgmin' + params: { + // Required parameters + containers: [ + { + name: 'az-aci-x-001' + properties: { + image: 'mcr.microsoft.com/azuredocs/aci-helloworld' + ports: [ + { + port: '443' + protocol: 'Tcp' + } + ] + resources: { + requests: { + cpu: 2 + memoryInGB: 2 + } + } + } + } + ] + name: 'cicgmin001' + // Non-required parameters + enableDefaultTelemetry: '' + ipAddressPorts: [ + { + port: 443 + protocol: 'Tcp' + } + ] + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "containers": { + "value": [ + { + "name": "az-aci-x-001", + "properties": { + "image": "mcr.microsoft.com/azuredocs/aci-helloworld", + "ports": [ + { + "port": "443", + "protocol": "Tcp" + } + ], + "resources": { + "requests": { + "cpu": 2, + "memoryInGB": 2 + } + } + } + } + ] + }, + "name": { + "value": "cicgmin001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + }, + "ipAddressPorts": { + "value": [ + { + "port": 443, + "protocol": "Tcp" + } + ] + } + } +} +``` + +
+

+ +### Example 3: _Encr_

@@ -440,110 +544,6 @@ module containerGroup 'br:bicep/modules/container-instance.container-group:1.0.0

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module containerGroup 'br:bicep/modules/container-instance.container-group:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-cicgmin' - params: { - // Required parameters - containers: [ - { - name: 'az-aci-x-001' - properties: { - image: 'mcr.microsoft.com/azuredocs/aci-helloworld' - ports: [ - { - port: '443' - protocol: 'Tcp' - } - ] - resources: { - requests: { - cpu: 2 - memoryInGB: 2 - } - } - } - } - ] - name: 'cicgmin001' - // Non-required parameters - enableDefaultTelemetry: '' - ipAddressPorts: [ - { - port: 443 - protocol: 'Tcp' - } - ] - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "containers": { - "value": [ - { - "name": "az-aci-x-001", - "properties": { - "image": "mcr.microsoft.com/azuredocs/aci-helloworld", - "ports": [ - { - "port": "443", - "protocol": "Tcp" - } - ], - "resources": { - "requests": { - "cpu": 2, - "memoryInGB": 2 - } - } - } - } - ] - }, - "name": { - "value": "cicgmin001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - }, - "ipAddressPorts": { - "value": [ - { - "port": 443, - "protocol": "Tcp" - } - ] - } - } -} -``` - -
-

- ### Example 4: _Private_

diff --git a/modules/container-instance/container-group/tests/e2e/min/main.test.bicep b/modules/container-instance/container-group/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/container-instance/container-group/tests/e2e/min/main.test.bicep rename to modules/container-instance/container-group/tests/e2e/defaults/main.test.bicep diff --git a/modules/container-registry/registry/README.md b/modules/container-registry/registry/README.md index 15270996f2..4568b1acee 100644 --- a/modules/container-registry/registry/README.md +++ b/modules/container-registry/registry/README.md @@ -33,8 +33,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/container-registry.registry:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) - [Pe](#example-4-pe) ### Example 1: _Using large parameter set_ @@ -293,7 +293,55 @@ module registry 'br:bicep/modules/container-registry.registry:1.0.0' = {

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module registry 'br:bicep/modules/container-registry.registry:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-crrmin' + params: { + // Required parameters + name: 'crrmin001' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "crrmin001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Encr_

@@ -382,54 +430,6 @@ module registry 'br:bicep/modules/container-registry.registry:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module registry 'br:bicep/modules/container-registry.registry:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-crrmin' - params: { - // Required parameters - name: 'crrmin001' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "crrmin001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ### Example 4: _Pe_

diff --git a/modules/container-registry/registry/tests/e2e/min/main.test.bicep b/modules/container-registry/registry/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/container-registry/registry/tests/e2e/min/main.test.bicep rename to modules/container-registry/registry/tests/e2e/defaults/main.test.bicep diff --git a/modules/container-service/managed-cluster/README.md b/modules/container-service/managed-cluster/README.md index f77784354b..f2de8470fa 100644 --- a/modules/container-service/managed-cluster/README.md +++ b/modules/container-service/managed-cluster/README.md @@ -32,8 +32,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/container-service.managed-cluster:1.0.0`. - [Azure](#example-1-azure) -- [Kubenet](#example-2-kubenet) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Kubenet](#example-3-kubenet) - [Priv](#example-4-priv) ### Example 1: _Azure_ @@ -507,7 +507,81 @@ module managedCluster 'br:bicep/modules/container-service.managed-cluster:1.0.0'

-### Example 2: _Kubenet_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module managedCluster 'br:bicep/modules/container-service.managed-cluster:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-csmmin' + params: { + // Required parameters + name: 'csmmin001' + primaryAgentPoolProfile: [ + { + count: 1 + mode: 'System' + name: 'systempool' + vmSize: 'Standard_DS2_v2' + } + ] + // Non-required parameters + enableDefaultTelemetry: '' + managedIdentities: { + systemAssigned: true + } + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "csmmin001" + }, + "primaryAgentPoolProfile": { + "value": [ + { + "count": 1, + "mode": "System", + "name": "systempool", + "vmSize": "Standard_DS2_v2" + } + ] + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + }, + "managedIdentities": { + "value": { + "systemAssigned": true + } + } + } +} +``` + +
+

+ +### Example 3: _Kubenet_

@@ -770,80 +844,6 @@ module managedCluster 'br:bicep/modules/container-service.managed-cluster:1.0.0'

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module managedCluster 'br:bicep/modules/container-service.managed-cluster:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-csmmin' - params: { - // Required parameters - name: 'csmmin001' - primaryAgentPoolProfile: [ - { - count: 1 - mode: 'System' - name: 'systempool' - vmSize: 'Standard_DS2_v2' - } - ] - // Non-required parameters - enableDefaultTelemetry: '' - managedIdentities: { - systemAssigned: true - } - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "csmmin001" - }, - "primaryAgentPoolProfile": { - "value": [ - { - "count": 1, - "mode": "System", - "name": "systempool", - "vmSize": "Standard_DS2_v2" - } - ] - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - }, - "managedIdentities": { - "value": { - "systemAssigned": true - } - } - } -} -``` - -
-

- ### Example 4: _Priv_

diff --git a/modules/container-service/managed-cluster/tests/e2e/min/main.test.bicep b/modules/container-service/managed-cluster/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/container-service/managed-cluster/tests/e2e/min/main.test.bicep rename to modules/container-service/managed-cluster/tests/e2e/defaults/main.test.bicep diff --git a/modules/data-factory/factory/tests/e2e/min/main.test.bicep b/modules/data-factory/factory/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/data-factory/factory/tests/e2e/min/main.test.bicep rename to modules/data-factory/factory/tests/e2e/defaults/main.test.bicep diff --git a/modules/data-protection/backup-vault/tests/e2e/min/main.test.bicep b/modules/data-protection/backup-vault/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/data-protection/backup-vault/tests/e2e/min/main.test.bicep rename to modules/data-protection/backup-vault/tests/e2e/defaults/main.test.bicep diff --git a/modules/databricks/access-connector/tests/e2e/min/main.test.bicep b/modules/databricks/access-connector/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/databricks/access-connector/tests/e2e/min/main.test.bicep rename to modules/databricks/access-connector/tests/e2e/defaults/main.test.bicep diff --git a/modules/databricks/workspace/tests/e2e/min/main.test.bicep b/modules/databricks/workspace/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/databricks/workspace/tests/e2e/min/main.test.bicep rename to modules/databricks/workspace/tests/e2e/defaults/main.test.bicep diff --git a/modules/db-for-my-sql/flexible-server/tests/e2e/min/main.test.bicep b/modules/db-for-my-sql/flexible-server/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/db-for-my-sql/flexible-server/tests/e2e/min/main.test.bicep rename to modules/db-for-my-sql/flexible-server/tests/e2e/defaults/main.test.bicep diff --git a/modules/db-for-postgre-sql/flexible-server/tests/e2e/min/main.test.bicep b/modules/db-for-postgre-sql/flexible-server/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/db-for-postgre-sql/flexible-server/tests/e2e/min/main.test.bicep rename to modules/db-for-postgre-sql/flexible-server/tests/e2e/defaults/main.test.bicep diff --git a/modules/desktop-virtualization/application-group/tests/e2e/min/dependencies.bicep b/modules/desktop-virtualization/application-group/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/desktop-virtualization/application-group/tests/e2e/min/dependencies.bicep rename to modules/desktop-virtualization/application-group/tests/e2e/defaults/dependencies.bicep diff --git a/modules/desktop-virtualization/application-group/tests/e2e/min/main.test.bicep b/modules/desktop-virtualization/application-group/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/desktop-virtualization/application-group/tests/e2e/min/main.test.bicep rename to modules/desktop-virtualization/application-group/tests/e2e/defaults/main.test.bicep diff --git a/modules/desktop-virtualization/host-pool/tests/e2e/min/main.test.bicep b/modules/desktop-virtualization/host-pool/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/desktop-virtualization/host-pool/tests/e2e/min/main.test.bicep rename to modules/desktop-virtualization/host-pool/tests/e2e/defaults/main.test.bicep diff --git a/modules/desktop-virtualization/scaling-plan/tests/e2e/min/main.test.bicep b/modules/desktop-virtualization/scaling-plan/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/desktop-virtualization/scaling-plan/tests/e2e/min/main.test.bicep rename to modules/desktop-virtualization/scaling-plan/tests/e2e/defaults/main.test.bicep diff --git a/modules/desktop-virtualization/workspace/tests/e2e/min/main.test.bicep b/modules/desktop-virtualization/workspace/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/desktop-virtualization/workspace/tests/e2e/min/main.test.bicep rename to modules/desktop-virtualization/workspace/tests/e2e/defaults/main.test.bicep diff --git a/modules/dev-test-lab/lab/tests/e2e/min/main.test.bicep b/modules/dev-test-lab/lab/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/dev-test-lab/lab/tests/e2e/min/main.test.bicep rename to modules/dev-test-lab/lab/tests/e2e/defaults/main.test.bicep diff --git a/modules/digital-twins/digital-twins-instance/tests/e2e/min/main.test.bicep b/modules/digital-twins/digital-twins-instance/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/digital-twins/digital-twins-instance/tests/e2e/min/main.test.bicep rename to modules/digital-twins/digital-twins-instance/tests/e2e/defaults/main.test.bicep diff --git a/modules/event-grid/domain/tests/e2e/min/main.test.bicep b/modules/event-grid/domain/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/event-grid/domain/tests/e2e/min/main.test.bicep rename to modules/event-grid/domain/tests/e2e/defaults/main.test.bicep diff --git a/modules/event-grid/system-topic/tests/e2e/min/dependencies.bicep b/modules/event-grid/system-topic/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/event-grid/system-topic/tests/e2e/min/dependencies.bicep rename to modules/event-grid/system-topic/tests/e2e/defaults/dependencies.bicep diff --git a/modules/event-grid/system-topic/tests/e2e/min/main.test.bicep b/modules/event-grid/system-topic/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/event-grid/system-topic/tests/e2e/min/main.test.bicep rename to modules/event-grid/system-topic/tests/e2e/defaults/main.test.bicep diff --git a/modules/event-grid/topic/tests/e2e/min/main.test.bicep b/modules/event-grid/topic/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/event-grid/topic/tests/e2e/min/main.test.bicep rename to modules/event-grid/topic/tests/e2e/defaults/main.test.bicep diff --git a/modules/event-hub/namespace/README.md b/modules/event-hub/namespace/README.md index 1329fdd23e..6db9b87e84 100644 --- a/modules/event-hub/namespace/README.md +++ b/modules/event-hub/namespace/README.md @@ -36,8 +36,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/event-hub.namespace:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) - [Pe](#example-4-pe) ### Example 1: _Using large parameter set_ @@ -436,7 +436,55 @@ module namespace 'br:bicep/modules/event-hub.namespace:1.0.0' = {

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module namespace 'br:bicep/modules/event-hub.namespace:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-ehnmin' + params: { + // Required parameters + name: 'ehnmin001' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "ehnmin001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Encr_

@@ -531,54 +579,6 @@ module namespace 'br:bicep/modules/event-hub.namespace:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module namespace 'br:bicep/modules/event-hub.namespace:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-ehnmin' - params: { - // Required parameters - name: 'ehnmin001' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "ehnmin001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ### Example 4: _Pe_

diff --git a/modules/event-hub/namespace/tests/e2e/min/main.test.bicep b/modules/event-hub/namespace/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/event-hub/namespace/tests/e2e/min/main.test.bicep rename to modules/event-hub/namespace/tests/e2e/defaults/main.test.bicep diff --git a/modules/health-bot/health-bot/tests/e2e/min/main.test.bicep b/modules/health-bot/health-bot/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/health-bot/health-bot/tests/e2e/min/main.test.bicep rename to modules/health-bot/health-bot/tests/e2e/defaults/main.test.bicep diff --git a/modules/healthcare-apis/workspace/tests/e2e/min/main.test.bicep b/modules/healthcare-apis/workspace/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/healthcare-apis/workspace/tests/e2e/min/main.test.bicep rename to modules/healthcare-apis/workspace/tests/e2e/defaults/main.test.bicep diff --git a/modules/insights/action-group/tests/e2e/min/main.test.bicep b/modules/insights/action-group/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/insights/action-group/tests/e2e/min/main.test.bicep rename to modules/insights/action-group/tests/e2e/defaults/main.test.bicep diff --git a/modules/insights/component/tests/e2e/min/dependencies.bicep b/modules/insights/component/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/insights/component/tests/e2e/min/dependencies.bicep rename to modules/insights/component/tests/e2e/defaults/dependencies.bicep diff --git a/modules/insights/component/tests/e2e/min/main.test.bicep b/modules/insights/component/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/insights/component/tests/e2e/min/main.test.bicep rename to modules/insights/component/tests/e2e/defaults/main.test.bicep diff --git a/modules/insights/data-collection-endpoint/tests/e2e/min/main.test.bicep b/modules/insights/data-collection-endpoint/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/insights/data-collection-endpoint/tests/e2e/min/main.test.bicep rename to modules/insights/data-collection-endpoint/tests/e2e/defaults/main.test.bicep diff --git a/modules/insights/data-collection-rule/README.md b/modules/insights/data-collection-rule/README.md index 37edcaf1f4..d28c4145c7 100644 --- a/modules/insights/data-collection-rule/README.md +++ b/modules/insights/data-collection-rule/README.md @@ -29,8 +29,8 @@ The following section provides usage examples for the module, which were used to - [Customadv](#example-1-customadv) - [Custombasic](#example-2-custombasic) - [Customiis](#example-3-customiis) -- [Linux](#example-4-linux) -- [Using only defaults](#example-5-using-only-defaults) +- [Using only defaults](#example-4-using-only-defaults) +- [Linux](#example-5-linux) - [Windows](#example-6-windows) ### Example 1: _Customadv_ @@ -654,7 +654,141 @@ module dataCollectionRule 'br:bicep/modules/insights.data-collection-rule:1.0.0'

-### Example 4: _Linux_ +### Example 4: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module dataCollectionRule 'br:bicep/modules/insights.data-collection-rule:1.0.0' = { + name: '${uniqueString(deployment().name)}-test-idcrmin' + params: { + // Required parameters + dataFlows: [ + { + destinations: [ + 'azureMonitorMetrics-default' + ] + streams: [ + 'Microsoft-InsightsMetrics' + ] + } + ] + dataSources: { + performanceCounters: [ + { + counterSpecifiers: [ + '\\Process(_Total)\\Handle Count' + '\\Process(_Total)\\Thread Count' + '\\Processor Information(_Total)\\% Privileged Time' + '\\Processor Information(_Total)\\% Processor Time' + '\\Processor Information(_Total)\\% User Time' + '\\Processor Information(_Total)\\Processor Frequency' + '\\System\\Context Switches/sec' + '\\System\\Processes' + '\\System\\Processor Queue Length' + '\\System\\System Up Time' + ] + name: 'perfCounterDataSource60' + samplingFrequencyInSeconds: 60 + streams: [ + 'Microsoft-InsightsMetrics' + ] + } + ] + } + destinations: { + azureMonitorMetrics: { + name: 'azureMonitorMetrics-default' + } + } + name: 'idcrmin001' + // Non-required parameters + enableDefaultTelemetry: '' + kind: 'Windows' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "dataFlows": { + "value": [ + { + "destinations": [ + "azureMonitorMetrics-default" + ], + "streams": [ + "Microsoft-InsightsMetrics" + ] + } + ] + }, + "dataSources": { + "value": { + "performanceCounters": [ + { + "counterSpecifiers": [ + "\\Process(_Total)\\Handle Count", + "\\Process(_Total)\\Thread Count", + "\\Processor Information(_Total)\\% Privileged Time", + "\\Processor Information(_Total)\\% Processor Time", + "\\Processor Information(_Total)\\% User Time", + "\\Processor Information(_Total)\\Processor Frequency", + "\\System\\Context Switches/sec", + "\\System\\Processes", + "\\System\\Processor Queue Length", + "\\System\\System Up Time" + ], + "name": "perfCounterDataSource60", + "samplingFrequencyInSeconds": 60, + "streams": [ + "Microsoft-InsightsMetrics" + ] + } + ] + } + }, + "destinations": { + "value": { + "azureMonitorMetrics": { + "name": "azureMonitorMetrics-default" + } + } + }, + "name": { + "value": "idcrmin001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + }, + "kind": { + "value": "Windows" + } + } +} +``` + +
+

+ +### Example 5: _Linux_

@@ -1045,140 +1179,6 @@ module dataCollectionRule 'br:bicep/modules/insights.data-collection-rule:1.0.0'

-### Example 5: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module dataCollectionRule 'br:bicep/modules/insights.data-collection-rule:1.0.0' = { - name: '${uniqueString(deployment().name)}-test-idcrmin' - params: { - // Required parameters - dataFlows: [ - { - destinations: [ - 'azureMonitorMetrics-default' - ] - streams: [ - 'Microsoft-InsightsMetrics' - ] - } - ] - dataSources: { - performanceCounters: [ - { - counterSpecifiers: [ - '\\Process(_Total)\\Handle Count' - '\\Process(_Total)\\Thread Count' - '\\Processor Information(_Total)\\% Privileged Time' - '\\Processor Information(_Total)\\% Processor Time' - '\\Processor Information(_Total)\\% User Time' - '\\Processor Information(_Total)\\Processor Frequency' - '\\System\\Context Switches/sec' - '\\System\\Processes' - '\\System\\Processor Queue Length' - '\\System\\System Up Time' - ] - name: 'perfCounterDataSource60' - samplingFrequencyInSeconds: 60 - streams: [ - 'Microsoft-InsightsMetrics' - ] - } - ] - } - destinations: { - azureMonitorMetrics: { - name: 'azureMonitorMetrics-default' - } - } - name: 'idcrmin001' - // Non-required parameters - enableDefaultTelemetry: '' - kind: 'Windows' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "dataFlows": { - "value": [ - { - "destinations": [ - "azureMonitorMetrics-default" - ], - "streams": [ - "Microsoft-InsightsMetrics" - ] - } - ] - }, - "dataSources": { - "value": { - "performanceCounters": [ - { - "counterSpecifiers": [ - "\\Process(_Total)\\Handle Count", - "\\Process(_Total)\\Thread Count", - "\\Processor Information(_Total)\\% Privileged Time", - "\\Processor Information(_Total)\\% Processor Time", - "\\Processor Information(_Total)\\% User Time", - "\\Processor Information(_Total)\\Processor Frequency", - "\\System\\Context Switches/sec", - "\\System\\Processes", - "\\System\\Processor Queue Length", - "\\System\\System Up Time" - ], - "name": "perfCounterDataSource60", - "samplingFrequencyInSeconds": 60, - "streams": [ - "Microsoft-InsightsMetrics" - ] - } - ] - } - }, - "destinations": { - "value": { - "azureMonitorMetrics": { - "name": "azureMonitorMetrics-default" - } - } - }, - "name": { - "value": "idcrmin001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - }, - "kind": { - "value": "Windows" - } - } -} -``` - -
-

- ### Example 6: _Windows_

diff --git a/modules/insights/data-collection-rule/tests/e2e/min/main.test.bicep b/modules/insights/data-collection-rule/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/insights/data-collection-rule/tests/e2e/min/main.test.bicep rename to modules/insights/data-collection-rule/tests/e2e/defaults/main.test.bicep diff --git a/modules/insights/private-link-scope/tests/e2e/min/main.test.bicep b/modules/insights/private-link-scope/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/insights/private-link-scope/tests/e2e/min/main.test.bicep rename to modules/insights/private-link-scope/tests/e2e/defaults/main.test.bicep diff --git a/modules/insights/webtest/tests/e2e/min/dependencies.bicep b/modules/insights/webtest/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/insights/webtest/tests/e2e/min/dependencies.bicep rename to modules/insights/webtest/tests/e2e/defaults/dependencies.bicep diff --git a/modules/insights/webtest/tests/e2e/min/main.test.bicep b/modules/insights/webtest/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/insights/webtest/tests/e2e/min/main.test.bicep rename to modules/insights/webtest/tests/e2e/defaults/main.test.bicep diff --git a/modules/key-vault/vault/tests/e2e/min/main.test.bicep b/modules/key-vault/vault/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/key-vault/vault/tests/e2e/min/main.test.bicep rename to modules/key-vault/vault/tests/e2e/defaults/main.test.bicep diff --git a/modules/kubernetes-configuration/extension/tests/e2e/min/dependencies.bicep b/modules/kubernetes-configuration/extension/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/kubernetes-configuration/extension/tests/e2e/min/dependencies.bicep rename to modules/kubernetes-configuration/extension/tests/e2e/defaults/dependencies.bicep diff --git a/modules/kubernetes-configuration/extension/tests/e2e/min/main.test.bicep b/modules/kubernetes-configuration/extension/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/kubernetes-configuration/extension/tests/e2e/min/main.test.bicep rename to modules/kubernetes-configuration/extension/tests/e2e/defaults/main.test.bicep diff --git a/modules/kubernetes-configuration/flux-configuration/tests/e2e/min/dependencies.bicep b/modules/kubernetes-configuration/flux-configuration/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/kubernetes-configuration/flux-configuration/tests/e2e/min/dependencies.bicep rename to modules/kubernetes-configuration/flux-configuration/tests/e2e/defaults/dependencies.bicep diff --git a/modules/kubernetes-configuration/flux-configuration/tests/e2e/min/main.test.bicep b/modules/kubernetes-configuration/flux-configuration/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/kubernetes-configuration/flux-configuration/tests/e2e/min/main.test.bicep rename to modules/kubernetes-configuration/flux-configuration/tests/e2e/defaults/main.test.bicep diff --git a/modules/machine-learning-services/workspace/README.md b/modules/machine-learning-services/workspace/README.md index c52e09855d..614646f1ef 100644 --- a/modules/machine-learning-services/workspace/README.md +++ b/modules/machine-learning-services/workspace/README.md @@ -32,8 +32,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/machine-learning-services.workspace:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) ### Example 1: _Using large parameter set_ @@ -287,7 +287,79 @@ module workspace 'br:bicep/modules/machine-learning-services.workspace:1.0.0' =

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module workspace 'br:bicep/modules/machine-learning-services.workspace:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-mlswmin' + params: { + // Required parameters + associatedApplicationInsightsResourceId: '' + associatedKeyVaultResourceId: '' + associatedStorageAccountResourceId: '' + name: 'mlswmin001' + sku: 'Basic' + // Non-required parameters + enableDefaultTelemetry: '' + managedIdentities: { + systemAssigned: true + } + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "associatedApplicationInsightsResourceId": { + "value": "" + }, + "associatedKeyVaultResourceId": { + "value": "" + }, + "associatedStorageAccountResourceId": { + "value": "" + }, + "name": { + "value": "mlswmin001" + }, + "sku": { + "value": "Basic" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + }, + "managedIdentities": { + "value": { + "systemAssigned": true + } + } + } +} +``` + +
+

+ +### Example 3: _Encr_

@@ -420,78 +492,6 @@ module workspace 'br:bicep/modules/machine-learning-services.workspace:1.0.0' =

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module workspace 'br:bicep/modules/machine-learning-services.workspace:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-mlswmin' - params: { - // Required parameters - associatedApplicationInsightsResourceId: '' - associatedKeyVaultResourceId: '' - associatedStorageAccountResourceId: '' - name: 'mlswmin001' - sku: 'Basic' - // Non-required parameters - enableDefaultTelemetry: '' - managedIdentities: { - systemAssigned: true - } - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "associatedApplicationInsightsResourceId": { - "value": "" - }, - "associatedKeyVaultResourceId": { - "value": "" - }, - "associatedStorageAccountResourceId": { - "value": "" - }, - "name": { - "value": "mlswmin001" - }, - "sku": { - "value": "Basic" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - }, - "managedIdentities": { - "value": { - "systemAssigned": true - } - } - } -} -``` - -
-

- ## Parameters diff --git a/modules/machine-learning-services/workspace/tests/e2e/min/dependencies.bicep b/modules/machine-learning-services/workspace/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/machine-learning-services/workspace/tests/e2e/min/dependencies.bicep rename to modules/machine-learning-services/workspace/tests/e2e/defaults/dependencies.bicep diff --git a/modules/machine-learning-services/workspace/tests/e2e/min/main.test.bicep b/modules/machine-learning-services/workspace/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/machine-learning-services/workspace/tests/e2e/min/main.test.bicep rename to modules/machine-learning-services/workspace/tests/e2e/defaults/main.test.bicep diff --git a/modules/maintenance/maintenance-configuration/tests/e2e/min/main.test.bicep b/modules/maintenance/maintenance-configuration/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/maintenance/maintenance-configuration/tests/e2e/min/main.test.bicep rename to modules/maintenance/maintenance-configuration/tests/e2e/defaults/main.test.bicep diff --git a/modules/managed-identity/user-assigned-identity/tests/e2e/min/main.test.bicep b/modules/managed-identity/user-assigned-identity/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/managed-identity/user-assigned-identity/tests/e2e/min/main.test.bicep rename to modules/managed-identity/user-assigned-identity/tests/e2e/defaults/main.test.bicep diff --git a/modules/management/management-group/tests/e2e/min/main.test.bicep b/modules/management/management-group/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/management/management-group/tests/e2e/min/main.test.bicep rename to modules/management/management-group/tests/e2e/defaults/main.test.bicep diff --git a/modules/net-app/net-app-account/tests/e2e/min/main.test.bicep b/modules/net-app/net-app-account/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/net-app/net-app-account/tests/e2e/min/main.test.bicep rename to modules/net-app/net-app-account/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/azure-firewall/README.md b/modules/network/azure-firewall/README.md index c58b8068b9..f5d0409b80 100644 --- a/modules/network/azure-firewall/README.md +++ b/modules/network/azure-firewall/README.md @@ -31,9 +31,9 @@ The following section provides usage examples for the module, which were used to - [Addpip](#example-1-addpip) - [Using large parameter set](#example-2-using-large-parameter-set) - [Custompip](#example-3-custompip) -- [Hubcommon](#example-4-hubcommon) -- [Hubmin](#example-5-hubmin) -- [Using only defaults](#example-6-using-only-defaults) +- [Using only defaults](#example-4-using-only-defaults) +- [Hubcommon](#example-5-hubcommon) +- [Hubmin](#example-6-hubmin) ### Example 1: _Addpip_ @@ -557,7 +557,10 @@ module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = {

-### Example 4: _Hubcommon_ +### Example 4: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. +

@@ -565,24 +568,13 @@ module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = { ```bicep module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-nafhubcom' + name: '${uniqueString(deployment().name, location)}-test-nafmin' params: { // Required parameters - name: 'nafhubcom001' + name: 'nafmin001' // Non-required parameters enableDefaultTelemetry: '' - firewallPolicyId: '' - hubIPAddresses: { - publicIPs: { - count: 1 - } - } - tags: { - Environment: 'Non-Prod' - 'hidden-title': 'This is visible in the resource name' - Role: 'DeploymentValidation' - } - virtualHubId: '' + vNetId: '' } } ``` @@ -601,31 +593,14 @@ module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = { "parameters": { // Required parameters "name": { - "value": "nafhubcom001" + "value": "nafmin001" }, // Non-required parameters "enableDefaultTelemetry": { "value": "" }, - "firewallPolicyId": { - "value": "" - }, - "hubIPAddresses": { - "value": { - "publicIPs": { - "count": 1 - } - } - }, - "tags": { - "value": { - "Environment": "Non-Prod", - "hidden-title": "This is visible in the resource name", - "Role": "DeploymentValidation" - } - }, - "virtualHubId": { - "value": "" + "vNetId": { + "value": "" } } } @@ -634,7 +609,7 @@ module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = {

-### Example 5: _Hubmin_ +### Example 5: _Hubcommon_

@@ -642,17 +617,23 @@ module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = { ```bicep module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-nafhubmin' + name: '${uniqueString(deployment().name, location)}-test-nafhubcom' params: { // Required parameters - name: 'nafhubmin001' + name: 'nafhubcom001' // Non-required parameters enableDefaultTelemetry: '' + firewallPolicyId: '' hubIPAddresses: { publicIPs: { count: 1 } } + tags: { + Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' + Role: 'DeploymentValidation' + } virtualHubId: '' } } @@ -672,12 +653,15 @@ module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = { "parameters": { // Required parameters "name": { - "value": "nafhubmin001" + "value": "nafhubcom001" }, // Non-required parameters "enableDefaultTelemetry": { "value": "" }, + "firewallPolicyId": { + "value": "" + }, "hubIPAddresses": { "value": { "publicIPs": { @@ -685,6 +669,13 @@ module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = { } } }, + "tags": { + "value": { + "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", + "Role": "DeploymentValidation" + } + }, "virtualHubId": { "value": "" } @@ -695,10 +686,7 @@ module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = {

-### Example 6: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - +### Example 6: _Hubmin_

@@ -706,13 +694,18 @@ This instance deploys the module with the minimum set of required parameters. ```bicep module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-nafmin' + name: '${uniqueString(deployment().name, location)}-test-nafhubmin' params: { // Required parameters - name: 'nafmin001' + name: 'nafhubmin001' // Non-required parameters enableDefaultTelemetry: '' - vNetId: '' + hubIPAddresses: { + publicIPs: { + count: 1 + } + } + virtualHubId: '' } } ``` @@ -731,14 +724,21 @@ module azureFirewall 'br:bicep/modules/network.azure-firewall:1.0.0' = { "parameters": { // Required parameters "name": { - "value": "nafmin001" + "value": "nafhubmin001" }, // Non-required parameters "enableDefaultTelemetry": { "value": "" }, - "vNetId": { - "value": "" + "hubIPAddresses": { + "value": { + "publicIPs": { + "count": 1 + } + } + }, + "virtualHubId": { + "value": "" } } } diff --git a/modules/network/azure-firewall/tests/e2e/min/dependencies.bicep b/modules/network/azure-firewall/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/azure-firewall/tests/e2e/min/dependencies.bicep rename to modules/network/azure-firewall/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/azure-firewall/tests/e2e/min/main.test.bicep b/modules/network/azure-firewall/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/azure-firewall/tests/e2e/min/main.test.bicep rename to modules/network/azure-firewall/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/bastion-host/tests/e2e/min/dependencies.bicep b/modules/network/bastion-host/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/bastion-host/tests/e2e/min/dependencies.bicep rename to modules/network/bastion-host/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/bastion-host/tests/e2e/min/main.test.bicep b/modules/network/bastion-host/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/bastion-host/tests/e2e/min/main.test.bicep rename to modules/network/bastion-host/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/ddos-protection-plan/tests/e2e/min/main.test.bicep b/modules/network/ddos-protection-plan/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/ddos-protection-plan/tests/e2e/min/main.test.bicep rename to modules/network/ddos-protection-plan/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/dns-forwarding-ruleset/tests/e2e/min/dependencies.bicep b/modules/network/dns-forwarding-ruleset/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/dns-forwarding-ruleset/tests/e2e/min/dependencies.bicep rename to modules/network/dns-forwarding-ruleset/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/dns-forwarding-ruleset/tests/e2e/min/main.test.bicep b/modules/network/dns-forwarding-ruleset/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/dns-forwarding-ruleset/tests/e2e/min/main.test.bicep rename to modules/network/dns-forwarding-ruleset/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/dns-zone/tests/e2e/min/main.test.bicep b/modules/network/dns-zone/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/dns-zone/tests/e2e/min/main.test.bicep rename to modules/network/dns-zone/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/express-route-circuit/tests/e2e/min/main.test.bicep b/modules/network/express-route-circuit/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/express-route-circuit/tests/e2e/min/main.test.bicep rename to modules/network/express-route-circuit/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/express-route-gateway/tests/e2e/min/dependencies.bicep b/modules/network/express-route-gateway/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/express-route-gateway/tests/e2e/min/dependencies.bicep rename to modules/network/express-route-gateway/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/express-route-gateway/tests/e2e/min/main.test.bicep b/modules/network/express-route-gateway/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/express-route-gateway/tests/e2e/min/main.test.bicep rename to modules/network/express-route-gateway/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/firewall-policy/tests/e2e/min/main.test.bicep b/modules/network/firewall-policy/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/firewall-policy/tests/e2e/min/main.test.bicep rename to modules/network/firewall-policy/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/front-door-web-application-firewall-policy/tests/e2e/min/main.test.bicep b/modules/network/front-door-web-application-firewall-policy/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/front-door-web-application-firewall-policy/tests/e2e/min/main.test.bicep rename to modules/network/front-door-web-application-firewall-policy/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/front-door/tests/e2e/min/main.test.bicep b/modules/network/front-door/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/front-door/tests/e2e/min/main.test.bicep rename to modules/network/front-door/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/ip-group/tests/e2e/min/main.test.bicep b/modules/network/ip-group/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/ip-group/tests/e2e/min/main.test.bicep rename to modules/network/ip-group/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/load-balancer/README.md b/modules/network/load-balancer/README.md index f6c2ff8e44..21fc7daf46 100644 --- a/modules/network/load-balancer/README.md +++ b/modules/network/load-balancer/README.md @@ -31,8 +31,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/network.load-balancer:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Internal](#example-2-internal) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Internal](#example-3-internal) ### Example 1: _Using large parameter set_ @@ -322,7 +322,69 @@ module loadBalancer 'br:bicep/modules/network.load-balancer:1.0.0' = {

-### Example 2: _Internal_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module loadBalancer 'br:bicep/modules/network.load-balancer:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-nlbmin' + params: { + // Required parameters + frontendIPConfigurations: [ + { + name: 'publicIPConfig1' + publicIPAddressId: '' + } + ] + name: 'nlbmin001' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "frontendIPConfigurations": { + "value": [ + { + "name": "publicIPConfig1", + "publicIPAddressId": "" + } + ] + }, + "name": { + "value": "nlbmin001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Internal_

@@ -547,68 +609,6 @@ module loadBalancer 'br:bicep/modules/network.load-balancer:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module loadBalancer 'br:bicep/modules/network.load-balancer:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-nlbmin' - params: { - // Required parameters - frontendIPConfigurations: [ - { - name: 'publicIPConfig1' - publicIPAddressId: '' - } - ] - name: 'nlbmin001' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "frontendIPConfigurations": { - "value": [ - { - "name": "publicIPConfig1", - "publicIPAddressId": "" - } - ] - }, - "name": { - "value": "nlbmin001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ## Parameters diff --git a/modules/network/load-balancer/tests/e2e/min/dependencies.bicep b/modules/network/load-balancer/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/load-balancer/tests/e2e/min/dependencies.bicep rename to modules/network/load-balancer/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/load-balancer/tests/e2e/min/main.test.bicep b/modules/network/load-balancer/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/load-balancer/tests/e2e/min/main.test.bicep rename to modules/network/load-balancer/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/local-network-gateway/tests/e2e/min/main.test.bicep b/modules/network/local-network-gateway/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/local-network-gateway/tests/e2e/min/main.test.bicep rename to modules/network/local-network-gateway/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/network-interface/tests/e2e/min/dependencies.bicep b/modules/network/network-interface/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/network-interface/tests/e2e/min/dependencies.bicep rename to modules/network/network-interface/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/network-interface/tests/e2e/min/main.test.bicep b/modules/network/network-interface/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/network-interface/tests/e2e/min/main.test.bicep rename to modules/network/network-interface/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/network-security-group/tests/e2e/min/main.test.bicep b/modules/network/network-security-group/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/network-security-group/tests/e2e/min/main.test.bicep rename to modules/network/network-security-group/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/network-watcher/tests/e2e/min/main.test.bicep b/modules/network/network-watcher/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/network-watcher/tests/e2e/min/main.test.bicep rename to modules/network/network-watcher/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/private-dns-zone/tests/e2e/min/main.test.bicep b/modules/network/private-dns-zone/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/private-dns-zone/tests/e2e/min/main.test.bicep rename to modules/network/private-dns-zone/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/private-endpoint/tests/e2e/min/dependencies.bicep b/modules/network/private-endpoint/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/private-endpoint/tests/e2e/min/dependencies.bicep rename to modules/network/private-endpoint/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/private-endpoint/tests/e2e/min/main.test.bicep b/modules/network/private-endpoint/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/private-endpoint/tests/e2e/min/main.test.bicep rename to modules/network/private-endpoint/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/private-link-service/tests/e2e/min/dependencies.bicep b/modules/network/private-link-service/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/private-link-service/tests/e2e/min/dependencies.bicep rename to modules/network/private-link-service/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/private-link-service/tests/e2e/min/main.test.bicep b/modules/network/private-link-service/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/private-link-service/tests/e2e/min/main.test.bicep rename to modules/network/private-link-service/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/public-ip-address/tests/e2e/min/main.test.bicep b/modules/network/public-ip-address/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/public-ip-address/tests/e2e/min/main.test.bicep rename to modules/network/public-ip-address/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/public-ip-prefix/tests/e2e/min/main.test.bicep b/modules/network/public-ip-prefix/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/public-ip-prefix/tests/e2e/min/main.test.bicep rename to modules/network/public-ip-prefix/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/route-table/tests/e2e/min/main.test.bicep b/modules/network/route-table/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/route-table/tests/e2e/min/main.test.bicep rename to modules/network/route-table/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/service-endpoint-policy/tests/e2e/min/main.test.bicep b/modules/network/service-endpoint-policy/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/service-endpoint-policy/tests/e2e/min/main.test.bicep rename to modules/network/service-endpoint-policy/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/trafficmanagerprofile/tests/e2e/min/main.test.bicep b/modules/network/trafficmanagerprofile/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/trafficmanagerprofile/tests/e2e/min/main.test.bicep rename to modules/network/trafficmanagerprofile/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/virtual-hub/tests/e2e/min/dependencies.bicep b/modules/network/virtual-hub/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/virtual-hub/tests/e2e/min/dependencies.bicep rename to modules/network/virtual-hub/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/virtual-hub/tests/e2e/min/main.test.bicep b/modules/network/virtual-hub/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/virtual-hub/tests/e2e/min/main.test.bicep rename to modules/network/virtual-hub/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/virtual-network/tests/e2e/min/main.test.bicep b/modules/network/virtual-network/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/virtual-network/tests/e2e/min/main.test.bicep rename to modules/network/virtual-network/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/virtual-wan/tests/e2e/min/main.test.bicep b/modules/network/virtual-wan/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/virtual-wan/tests/e2e/min/main.test.bicep rename to modules/network/virtual-wan/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/vpn-gateway/tests/e2e/min/dependencies.bicep b/modules/network/vpn-gateway/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/vpn-gateway/tests/e2e/min/dependencies.bicep rename to modules/network/vpn-gateway/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/vpn-gateway/tests/e2e/min/main.test.bicep b/modules/network/vpn-gateway/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/vpn-gateway/tests/e2e/min/main.test.bicep rename to modules/network/vpn-gateway/tests/e2e/defaults/main.test.bicep diff --git a/modules/network/vpn-site/tests/e2e/min/dependencies.bicep b/modules/network/vpn-site/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/network/vpn-site/tests/e2e/min/dependencies.bicep rename to modules/network/vpn-site/tests/e2e/defaults/dependencies.bicep diff --git a/modules/network/vpn-site/tests/e2e/min/main.test.bicep b/modules/network/vpn-site/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/network/vpn-site/tests/e2e/min/main.test.bicep rename to modules/network/vpn-site/tests/e2e/defaults/main.test.bicep diff --git a/modules/operational-insights/workspace/tests/e2e/min/main.test.bicep b/modules/operational-insights/workspace/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/operational-insights/workspace/tests/e2e/min/main.test.bicep rename to modules/operational-insights/workspace/tests/e2e/defaults/main.test.bicep diff --git a/modules/operations-management/solution/tests/e2e/min/dependencies.bicep b/modules/operations-management/solution/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/operations-management/solution/tests/e2e/min/dependencies.bicep rename to modules/operations-management/solution/tests/e2e/defaults/dependencies.bicep diff --git a/modules/operations-management/solution/tests/e2e/min/main.test.bicep b/modules/operations-management/solution/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/operations-management/solution/tests/e2e/min/main.test.bicep rename to modules/operations-management/solution/tests/e2e/defaults/main.test.bicep diff --git a/modules/power-bi-dedicated/capacity/tests/e2e/min/dependencies.bicep b/modules/power-bi-dedicated/capacity/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/power-bi-dedicated/capacity/tests/e2e/min/dependencies.bicep rename to modules/power-bi-dedicated/capacity/tests/e2e/defaults/dependencies.bicep diff --git a/modules/power-bi-dedicated/capacity/tests/e2e/min/main.test.bicep b/modules/power-bi-dedicated/capacity/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/power-bi-dedicated/capacity/tests/e2e/min/main.test.bicep rename to modules/power-bi-dedicated/capacity/tests/e2e/defaults/main.test.bicep diff --git a/modules/purview/account/tests/e2e/min/main.test.bicep b/modules/purview/account/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/purview/account/tests/e2e/min/main.test.bicep rename to modules/purview/account/tests/e2e/defaults/main.test.bicep diff --git a/modules/recovery-services/vault/README.md b/modules/recovery-services/vault/README.md index dbc5f018a3..1cf6b13205 100644 --- a/modules/recovery-services/vault/README.md +++ b/modules/recovery-services/vault/README.md @@ -40,8 +40,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/recovery-services.vault:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Dr](#example-2-dr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Dr](#example-3-dr) ### Example 1: _Using large parameter set_ @@ -729,7 +729,55 @@ module vault 'br:bicep/modules/recovery-services.vault:1.0.0' = {

-### Example 2: _Dr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module vault 'br:bicep/modules/recovery-services.vault:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-rsvmin' + params: { + // Required parameters + name: 'rsvmin001' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "rsvmin001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Dr_

@@ -900,54 +948,6 @@ module vault 'br:bicep/modules/recovery-services.vault:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module vault 'br:bicep/modules/recovery-services.vault:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-rsvmin' - params: { - // Required parameters - name: 'rsvmin001' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "rsvmin001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ## Parameters diff --git a/modules/recovery-services/vault/tests/e2e/min/main.test.bicep b/modules/recovery-services/vault/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/recovery-services/vault/tests/e2e/min/main.test.bicep rename to modules/recovery-services/vault/tests/e2e/defaults/main.test.bicep diff --git a/modules/relay/namespace/tests/e2e/min/main.test.bicep b/modules/relay/namespace/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/relay/namespace/tests/e2e/min/main.test.bicep rename to modules/relay/namespace/tests/e2e/defaults/main.test.bicep diff --git a/modules/resource-graph/query/tests/e2e/min/main.test.bicep b/modules/resource-graph/query/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/resource-graph/query/tests/e2e/min/main.test.bicep rename to modules/resource-graph/query/tests/e2e/defaults/main.test.bicep diff --git a/modules/resources/resource-group/tests/e2e/min/main.test.bicep b/modules/resources/resource-group/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/resources/resource-group/tests/e2e/min/main.test.bicep rename to modules/resources/resource-group/tests/e2e/defaults/main.test.bicep diff --git a/modules/resources/tags/tests/e2e/min/main.test.bicep b/modules/resources/tags/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/resources/tags/tests/e2e/min/main.test.bicep rename to modules/resources/tags/tests/e2e/defaults/main.test.bicep diff --git a/modules/search/search-service/tests/e2e/min/main.test.bicep b/modules/search/search-service/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/search/search-service/tests/e2e/min/main.test.bicep rename to modules/search/search-service/tests/e2e/defaults/main.test.bicep diff --git a/modules/service-bus/namespace/README.md b/modules/service-bus/namespace/README.md index bd23507761..924bde7a97 100644 --- a/modules/service-bus/namespace/README.md +++ b/modules/service-bus/namespace/README.md @@ -38,8 +38,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/service-bus.namespace:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) - [Pe](#example-4-pe) ### Example 1: _Using large parameter set_ @@ -432,7 +432,55 @@ module namespace 'br:bicep/modules/service-bus.namespace:1.0.0' = {

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module namespace 'br:bicep/modules/service-bus.namespace:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-sbnmin' + params: { + // Required parameters + name: 'sbnmin001' + // Non-required parameters + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "sbnmin001" + }, + // Non-required parameters + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Encr_

@@ -613,54 +661,6 @@ module namespace 'br:bicep/modules/service-bus.namespace:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module namespace 'br:bicep/modules/service-bus.namespace:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-sbnmin' - params: { - // Required parameters - name: 'sbnmin001' - // Non-required parameters - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "sbnmin001" - }, - // Non-required parameters - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ### Example 4: _Pe_

diff --git a/modules/service-bus/namespace/tests/e2e/min/main.test.bicep b/modules/service-bus/namespace/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/service-bus/namespace/tests/e2e/min/main.test.bicep rename to modules/service-bus/namespace/tests/e2e/defaults/main.test.bicep diff --git a/modules/service-fabric/cluster/tests/e2e/min/main.test.bicep b/modules/service-fabric/cluster/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/service-fabric/cluster/tests/e2e/min/main.test.bicep rename to modules/service-fabric/cluster/tests/e2e/defaults/main.test.bicep diff --git a/modules/signal-r-service/signal-r/tests/e2e/min/main.test.bicep b/modules/signal-r-service/signal-r/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/signal-r-service/signal-r/tests/e2e/min/main.test.bicep rename to modules/signal-r-service/signal-r/tests/e2e/defaults/main.test.bicep diff --git a/modules/signal-r-service/web-pub-sub/tests/e2e/min/main.test.bicep b/modules/signal-r-service/web-pub-sub/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/signal-r-service/web-pub-sub/tests/e2e/min/main.test.bicep rename to modules/signal-r-service/web-pub-sub/tests/e2e/defaults/main.test.bicep diff --git a/modules/sql/managed-instance/tests/e2e/min/dependencies.bicep b/modules/sql/managed-instance/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/sql/managed-instance/tests/e2e/min/dependencies.bicep rename to modules/sql/managed-instance/tests/e2e/defaults/dependencies.bicep diff --git a/modules/sql/managed-instance/tests/e2e/min/main.test.bicep b/modules/sql/managed-instance/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/sql/managed-instance/tests/e2e/min/main.test.bicep rename to modules/sql/managed-instance/tests/e2e/defaults/main.test.bicep diff --git a/modules/storage/storage-account/README.md b/modules/storage/storage-account/README.md index 01647f91e5..87e05dea85 100644 --- a/modules/storage/storage-account/README.md +++ b/modules/storage/storage-account/README.md @@ -42,8 +42,8 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/storage.storage-account:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encr](#example-2-encr) -- [Using only defaults](#example-3-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encr](#example-3-encr) - [Nfs](#example-4-nfs) - [V1](#example-5-v1) @@ -661,7 +661,59 @@ module storageAccount 'br:bicep/modules/storage.storage-account:1.0.0' = {

-### Example 2: _Encr_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. + + +

+ +via Bicep module + +```bicep +module storageAccount 'br:bicep/modules/storage.storage-account:1.0.0' = { + name: '${uniqueString(deployment().name, location)}-test-ssamin' + params: { + // Required parameters + name: 'ssamin001' + // Non-required parameters + allowBlobPublicAccess: false + enableDefaultTelemetry: '' + } +} +``` + +
+

+ +

+ +via JSON Parameter file + +```json +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + // Required parameters + "name": { + "value": "ssamin001" + }, + // Non-required parameters + "allowBlobPublicAccess": { + "value": false + }, + "enableDefaultTelemetry": { + "value": "" + } + } +} +``` + +
+

+ +### Example 3: _Encr_

@@ -830,58 +882,6 @@ module storageAccount 'br:bicep/modules/storage.storage-account:1.0.0' = {

-### Example 3: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - - -

- -via Bicep module - -```bicep -module storageAccount 'br:bicep/modules/storage.storage-account:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-ssamin' - params: { - // Required parameters - name: 'ssamin001' - // Non-required parameters - allowBlobPublicAccess: false - enableDefaultTelemetry: '' - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "ssamin001" - }, - // Non-required parameters - "allowBlobPublicAccess": { - "value": false - }, - "enableDefaultTelemetry": { - "value": "" - } - } -} -``` - -
-

- ### Example 4: _Nfs_

diff --git a/modules/storage/storage-account/tests/e2e/min/main.test.bicep b/modules/storage/storage-account/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/storage/storage-account/tests/e2e/min/main.test.bicep rename to modules/storage/storage-account/tests/e2e/defaults/main.test.bicep diff --git a/modules/synapse/private-link-hub/tests/e2e/min/main.test.bicep b/modules/synapse/private-link-hub/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/synapse/private-link-hub/tests/e2e/min/main.test.bicep rename to modules/synapse/private-link-hub/tests/e2e/defaults/main.test.bicep diff --git a/modules/synapse/workspace/README.md b/modules/synapse/workspace/README.md index 903f30470b..3b067e5ac2 100644 --- a/modules/synapse/workspace/README.md +++ b/modules/synapse/workspace/README.md @@ -33,10 +33,10 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br:bicep/modules/synapse.workspace:1.0.0`. - [Using large parameter set](#example-1-using-large-parameter-set) -- [Encrwsai](#example-2-encrwsai) -- [Encrwuai](#example-3-encrwuai) -- [Managedvnet](#example-4-managedvnet) -- [Using only defaults](#example-5-using-only-defaults) +- [Using only defaults](#example-2-using-only-defaults) +- [Encrwsai](#example-3-encrwsai) +- [Encrwuai](#example-4-encrwuai) +- [Managedvnet](#example-5-managedvnet) ### Example 1: _Using large parameter set_ @@ -210,7 +210,10 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = {

-### Example 2: _Encrwsai_ +### Example 2: _Using only defaults_ + +This instance deploys the module with the minimum set of required parameters. +

@@ -218,20 +221,15 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { ```bicep module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-swensa' + name: '${uniqueString(deployment().name, location)}-test-swmin' params: { // Required parameters defaultDataLakeStorageAccountResourceId: '' defaultDataLakeStorageFilesystem: '' - name: 'swensa001' + name: 'swmin001' sqlAdministratorLogin: 'synwsadmin' // Non-required parameters - customerManagedKey: { - keyName: '' - keyVaultResourceId: '' - } enableDefaultTelemetry: '' - encryptionActivateWorkspace: true } } ``` @@ -256,23 +254,14 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { "value": "" }, "name": { - "value": "swensa001" + "value": "swmin001" }, "sqlAdministratorLogin": { "value": "synwsadmin" }, // Non-required parameters - "customerManagedKey": { - "value": { - "keyName": "", - "keyVaultResourceId": "" - } - }, "enableDefaultTelemetry": { "value": "" - }, - "encryptionActivateWorkspace": { - "value": true } } } @@ -281,7 +270,7 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = {

-### Example 3: _Encrwuai_ +### Example 3: _Encrwsai_

@@ -289,25 +278,20 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { ```bicep module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-swenua' + name: '${uniqueString(deployment().name, location)}-test-swensa' params: { // Required parameters defaultDataLakeStorageAccountResourceId: '' defaultDataLakeStorageFilesystem: '' - name: 'swenua001' + name: 'swensa001' sqlAdministratorLogin: 'synwsadmin' // Non-required parameters customerManagedKey: { keyName: '' keyVaultResourceId: '' - userAssignedIdentityResourceId: '' } enableDefaultTelemetry: '' - tags: { - Environment: 'Non-Prod' - 'hidden-title': 'This is visible in the resource name' - Role: 'DeploymentValidation' - } + encryptionActivateWorkspace: true } } ``` @@ -332,7 +316,7 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { "value": "" }, "name": { - "value": "swenua001" + "value": "swensa001" }, "sqlAdministratorLogin": { "value": "synwsadmin" @@ -341,19 +325,14 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { "customerManagedKey": { "value": { "keyName": "", - "keyVaultResourceId": "", - "userAssignedIdentityResourceId": "" + "keyVaultResourceId": "" } }, "enableDefaultTelemetry": { "value": "" }, - "tags": { - "value": { - "Environment": "Non-Prod", - "hidden-title": "This is visible in the resource name", - "Role": "DeploymentValidation" - } + "encryptionActivateWorkspace": { + "value": true } } } @@ -362,7 +341,7 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = {

-### Example 4: _Managedvnet_ +### Example 4: _Encrwuai_

@@ -370,20 +349,20 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { ```bicep module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-swmanv' + name: '${uniqueString(deployment().name, location)}-test-swenua' params: { // Required parameters defaultDataLakeStorageAccountResourceId: '' defaultDataLakeStorageFilesystem: '' - name: 'swmanv001' + name: 'swenua001' sqlAdministratorLogin: 'synwsadmin' // Non-required parameters - allowedAadTenantIdsForLinking: [ - '' - ] + customerManagedKey: { + keyName: '' + keyVaultResourceId: '' + userAssignedIdentityResourceId: '' + } enableDefaultTelemetry: '' - managedVirtualNetwork: true - preventDataExfiltration: true tags: { Environment: 'Non-Prod' 'hidden-title': 'This is visible in the resource name' @@ -413,26 +392,22 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { "value": "" }, "name": { - "value": "swmanv001" + "value": "swenua001" }, "sqlAdministratorLogin": { "value": "synwsadmin" }, // Non-required parameters - "allowedAadTenantIdsForLinking": { - "value": [ - "" - ] + "customerManagedKey": { + "value": { + "keyName": "", + "keyVaultResourceId": "", + "userAssignedIdentityResourceId": "" + } }, "enableDefaultTelemetry": { "value": "" }, - "managedVirtualNetwork": { - "value": true - }, - "preventDataExfiltration": { - "value": true - }, "tags": { "value": { "Environment": "Non-Prod", @@ -447,10 +422,7 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = {

-### Example 5: _Using only defaults_ - -This instance deploys the module with the minimum set of required parameters. - +### Example 5: _Managedvnet_

@@ -458,15 +430,25 @@ This instance deploys the module with the minimum set of required parameters. ```bicep module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { - name: '${uniqueString(deployment().name, location)}-test-swmin' + name: '${uniqueString(deployment().name, location)}-test-swmanv' params: { // Required parameters defaultDataLakeStorageAccountResourceId: '' defaultDataLakeStorageFilesystem: '' - name: 'swmin001' + name: 'swmanv001' sqlAdministratorLogin: 'synwsadmin' // Non-required parameters + allowedAadTenantIdsForLinking: [ + '' + ] enableDefaultTelemetry: '' + managedVirtualNetwork: true + preventDataExfiltration: true + tags: { + Environment: 'Non-Prod' + 'hidden-title': 'This is visible in the resource name' + Role: 'DeploymentValidation' + } } } ``` @@ -491,14 +473,32 @@ module workspace 'br:bicep/modules/synapse.workspace:1.0.0' = { "value": "" }, "name": { - "value": "swmin001" + "value": "swmanv001" }, "sqlAdministratorLogin": { "value": "synwsadmin" }, // Non-required parameters + "allowedAadTenantIdsForLinking": { + "value": [ + "" + ] + }, "enableDefaultTelemetry": { "value": "" + }, + "managedVirtualNetwork": { + "value": true + }, + "preventDataExfiltration": { + "value": true + }, + "tags": { + "value": { + "Environment": "Non-Prod", + "hidden-title": "This is visible in the resource name", + "Role": "DeploymentValidation" + } } } } diff --git a/modules/synapse/workspace/tests/e2e/min/dependencies.bicep b/modules/synapse/workspace/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/synapse/workspace/tests/e2e/min/dependencies.bicep rename to modules/synapse/workspace/tests/e2e/defaults/dependencies.bicep diff --git a/modules/synapse/workspace/tests/e2e/min/main.test.bicep b/modules/synapse/workspace/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/synapse/workspace/tests/e2e/min/main.test.bicep rename to modules/synapse/workspace/tests/e2e/defaults/main.test.bicep diff --git a/modules/virtual-machine-images/image-template/tests/e2e/min/dependencies.bicep b/modules/virtual-machine-images/image-template/tests/e2e/defaults/dependencies.bicep similarity index 100% rename from modules/virtual-machine-images/image-template/tests/e2e/min/dependencies.bicep rename to modules/virtual-machine-images/image-template/tests/e2e/defaults/dependencies.bicep diff --git a/modules/virtual-machine-images/image-template/tests/e2e/min/main.test.bicep b/modules/virtual-machine-images/image-template/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/virtual-machine-images/image-template/tests/e2e/min/main.test.bicep rename to modules/virtual-machine-images/image-template/tests/e2e/defaults/main.test.bicep diff --git a/modules/web/static-site/tests/e2e/min/main.test.bicep b/modules/web/static-site/tests/e2e/defaults/main.test.bicep similarity index 100% rename from modules/web/static-site/tests/e2e/min/main.test.bicep rename to modules/web/static-site/tests/e2e/defaults/main.test.bicep