diff --git a/modules/aad/domain-service/main.bicep b/modules/aad/domain-service/main.bicep index a8ded242da..206efc45d4 100644 --- a/modules/aad/domain-service/main.bicep +++ b/modules/aad/domain-service/main.bicep @@ -256,7 +256,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -285,7 +285,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/analysis-services/server/main.bicep b/modules/analysis-services/server/main.bicep index ef66dfa060..c0e59767e5 100644 --- a/modules/analysis-services/server/main.bicep +++ b/modules/analysis-services/server/main.bicep @@ -155,7 +155,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -190,7 +190,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/api-management/service/main.bicep b/modules/api-management/service/main.bicep index 596354a682..fa0858ccb7 100644 --- a/modules/api-management/service/main.bicep +++ b/modules/api-management/service/main.bicep @@ -484,7 +484,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -519,7 +519,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/app-configuration/configuration-store/main.bicep b/modules/app-configuration/configuration-store/main.bicep index 4b902c8093..b70e5fcbb6 100644 --- a/modules/app-configuration/configuration-store/main.bicep +++ b/modules/app-configuration/configuration-store/main.bicep @@ -266,7 +266,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -369,7 +369,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/app/container-app/main.bicep b/modules/app/container-app/main.bicep index 58d88c45dc..9a98840334 100644 --- a/modules/app/container-app/main.bicep +++ b/modules/app/container-app/main.bicep @@ -251,7 +251,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/app/job/main.bicep b/modules/app/job/main.bicep index 75b067268c..fa8916e80d 100644 --- a/modules/app/job/main.bicep +++ b/modules/app/job/main.bicep @@ -181,7 +181,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/app/managed-environment/main.bicep b/modules/app/managed-environment/main.bicep index 18bc3abed7..12fc9772c4 100644 --- a/modules/app/managed-environment/main.bicep +++ b/modules/app/managed-environment/main.bicep @@ -187,7 +187,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/automation/automation-account/main.bicep b/modules/automation/automation-account/main.bicep index 69820ae56d..a9f989b9ba 100644 --- a/modules/automation/automation-account/main.bicep +++ b/modules/automation/automation-account/main.bicep @@ -415,7 +415,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -518,7 +518,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/batch/batch-account/main.bicep b/modules/batch/batch-account/main.bicep index dc5bad992d..2e71ac72f5 100644 --- a/modules/batch/batch-account/main.bicep +++ b/modules/batch/batch-account/main.bicep @@ -285,7 +285,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -388,7 +388,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/cache/redis-enterprise/main.bicep b/modules/cache/redis-enterprise/main.bicep index 609e546bf8..1be629fba1 100644 --- a/modules/cache/redis-enterprise/main.bicep +++ b/modules/cache/redis-enterprise/main.bicep @@ -215,7 +215,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -309,7 +309,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/cache/redis/main.bicep b/modules/cache/redis/main.bicep index edcb269196..e1c36e16c3 100644 --- a/modules/cache/redis/main.bicep +++ b/modules/cache/redis/main.bicep @@ -288,7 +288,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -391,7 +391,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/cdn/profile/main.bicep b/modules/cdn/profile/main.bicep index b60ee123cd..30ce9173c1 100644 --- a/modules/cdn/profile/main.bicep +++ b/modules/cdn/profile/main.bicep @@ -245,7 +245,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/cognitive-services/account/main.bicep b/modules/cognitive-services/account/main.bicep index 2e1586eec9..d9787e57f4 100644 --- a/modules/cognitive-services/account/main.bicep +++ b/modules/cognitive-services/account/main.bicep @@ -351,7 +351,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -454,7 +454,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/compute/availability-set/main.bicep b/modules/compute/availability-set/main.bicep index 81ac15ab0a..d48a10bd65 100644 --- a/modules/compute/availability-set/main.bicep +++ b/modules/compute/availability-set/main.bicep @@ -124,7 +124,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/compute/disk-encryption-set/main.bicep b/modules/compute/disk-encryption-set/main.bicep index 97ee119695..bc9aa12888 100644 --- a/modules/compute/disk-encryption-set/main.bicep +++ b/modules/compute/disk-encryption-set/main.bicep @@ -194,7 +194,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/compute/disk/main.bicep b/modules/compute/disk/main.bicep index 53c193e794..b81bda894c 100644 --- a/modules/compute/disk/main.bicep +++ b/modules/compute/disk/main.bicep @@ -248,7 +248,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/compute/gallery/application/main.bicep b/modules/compute/gallery/application/main.bicep index eda8727a21..f1cf6372c2 100644 --- a/modules/compute/gallery/application/main.bicep +++ b/modules/compute/gallery/application/main.bicep @@ -124,7 +124,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? diff --git a/modules/compute/gallery/image/main.bicep b/modules/compute/gallery/image/main.bicep index c46910a248..3f5a724b3c 100644 --- a/modules/compute/gallery/image/main.bicep +++ b/modules/compute/gallery/image/main.bicep @@ -247,7 +247,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? diff --git a/modules/compute/gallery/main.bicep b/modules/compute/gallery/main.bicep index 0a284f8096..5d9a951fa4 100644 --- a/modules/compute/gallery/main.bicep +++ b/modules/compute/gallery/main.bicep @@ -169,7 +169,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? diff --git a/modules/compute/image/main.bicep b/modules/compute/image/main.bicep index 2fedc3882d..f83ef220ab 100644 --- a/modules/compute/image/main.bicep +++ b/modules/compute/image/main.bicep @@ -154,7 +154,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/compute/proximity-placement-group/main.bicep b/modules/compute/proximity-placement-group/main.bicep index d8c925de6f..f2f76a2216 100644 --- a/modules/compute/proximity-placement-group/main.bicep +++ b/modules/compute/proximity-placement-group/main.bicep @@ -123,7 +123,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/compute/ssh-public-key/main.bicep b/modules/compute/ssh-public-key/main.bicep index 0d5e181de1..42728721ff 100644 --- a/modules/compute/ssh-public-key/main.bicep +++ b/modules/compute/ssh-public-key/main.bicep @@ -109,7 +109,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/compute/virtual-machine-scale-set/main.bicep b/modules/compute/virtual-machine-scale-set/main.bicep index e7a0a46271..729b03a4d6 100644 --- a/modules/compute/virtual-machine-scale-set/main.bicep +++ b/modules/compute/virtual-machine-scale-set/main.bicep @@ -681,7 +681,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -707,7 +707,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/compute/virtual-machine/main.bicep b/modules/compute/virtual-machine/main.bicep index 0fa3b644a9..b7b7bf73f7 100644 --- a/modules/compute/virtual-machine/main.bicep +++ b/modules/compute/virtual-machine/main.bicep @@ -717,7 +717,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -752,7 +752,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/compute/virtual-machine/modules/nested_networkInterface.bicep b/modules/compute/virtual-machine/modules/nested_networkInterface.bicep index 133483d231..3126ee1dfb 100644 --- a/modules/compute/virtual-machine/modules/nested_networkInterface.bicep +++ b/modules/compute/virtual-machine/modules/nested_networkInterface.bicep @@ -105,7 +105,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? @@ -131,7 +131,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/container-registry/registry/main.bicep b/modules/container-registry/registry/main.bicep index 57b8409f5c..e3caf83543 100644 --- a/modules/container-registry/registry/main.bicep +++ b/modules/container-registry/registry/main.bicep @@ -407,7 +407,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -510,7 +510,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/container-service/managed-cluster/main.bicep b/modules/container-service/managed-cluster/main.bicep index 5808b8d313..aa3216df86 100644 --- a/modules/container-service/managed-cluster/main.bicep +++ b/modules/container-service/managed-cluster/main.bicep @@ -754,7 +754,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -789,7 +789,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/data-factory/factory/main.bicep b/modules/data-factory/factory/main.bicep index 810d6c0200..b4349faede 100644 --- a/modules/data-factory/factory/main.bicep +++ b/modules/data-factory/factory/main.bicep @@ -294,7 +294,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -397,7 +397,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/data-protection/backup-vault/main.bicep b/modules/data-protection/backup-vault/main.bicep index 63aa54ac3d..942fbcfb34 100644 --- a/modules/data-protection/backup-vault/main.bicep +++ b/modules/data-protection/backup-vault/main.bicep @@ -179,7 +179,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/databricks/access-connector/main.bicep b/modules/databricks/access-connector/main.bicep index 4f0c6ed5bc..fb3f08ef21 100644 --- a/modules/databricks/access-connector/main.bicep +++ b/modules/databricks/access-connector/main.bicep @@ -124,7 +124,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/databricks/workspace/main.bicep b/modules/databricks/workspace/main.bicep index 3689a37f95..524ab6c616 100644 --- a/modules/databricks/workspace/main.bicep +++ b/modules/databricks/workspace/main.bicep @@ -340,7 +340,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -437,7 +437,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/db-for-my-sql/flexible-server/main.bicep b/modules/db-for-my-sql/flexible-server/main.bicep index 26fabc722a..7175e8e5d5 100644 --- a/modules/db-for-my-sql/flexible-server/main.bicep +++ b/modules/db-for-my-sql/flexible-server/main.bicep @@ -391,7 +391,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -426,7 +426,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/db-for-postgre-sql/flexible-server/main.bicep b/modules/db-for-postgre-sql/flexible-server/main.bicep index e8457897dd..1645d32791 100644 --- a/modules/db-for-postgre-sql/flexible-server/main.bicep +++ b/modules/db-for-postgre-sql/flexible-server/main.bicep @@ -386,7 +386,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -421,7 +421,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/desktop-virtualization/application-group/main.bicep b/modules/desktop-virtualization/application-group/main.bicep index 1e18d25925..390e74da2f 100644 --- a/modules/desktop-virtualization/application-group/main.bicep +++ b/modules/desktop-virtualization/application-group/main.bicep @@ -186,7 +186,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? @@ -215,7 +215,7 @@ type diagnosticSettingType = { }[]? @sys.description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @sys.description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/desktop-virtualization/host-pool/main.bicep b/modules/desktop-virtualization/host-pool/main.bicep index 031b3b5b9e..228901fa8d 100644 --- a/modules/desktop-virtualization/host-pool/main.bicep +++ b/modules/desktop-virtualization/host-pool/main.bicep @@ -295,7 +295,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? @@ -324,7 +324,7 @@ type diagnosticSettingType = { }[]? @sys.description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @sys.description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/desktop-virtualization/scaling-plan/main.bicep b/modules/desktop-virtualization/scaling-plan/main.bicep index 51d609016c..1f9734fb0a 100644 --- a/modules/desktop-virtualization/scaling-plan/main.bicep +++ b/modules/desktop-virtualization/scaling-plan/main.bicep @@ -189,7 +189,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? @@ -218,7 +218,7 @@ type diagnosticSettingType = { }[]? @sys.description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @sys.description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/desktop-virtualization/workspace/main.bicep b/modules/desktop-virtualization/workspace/main.bicep index f566fe1e80..36963fc0af 100644 --- a/modules/desktop-virtualization/workspace/main.bicep +++ b/modules/desktop-virtualization/workspace/main.bicep @@ -151,7 +151,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? @@ -180,7 +180,7 @@ type diagnosticSettingType = { }[]? @sys.description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @sys.description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/dev-test-lab/lab/main.bicep b/modules/dev-test-lab/lab/main.bicep index 1b54432e6d..c50c60e192 100644 --- a/modules/dev-test-lab/lab/main.bicep +++ b/modules/dev-test-lab/lab/main.bicep @@ -349,7 +349,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/digital-twins/digital-twins-instance/main.bicep b/modules/digital-twins/digital-twins-instance/main.bicep index 6db0117957..39749fa29a 100644 --- a/modules/digital-twins/digital-twins-instance/main.bicep +++ b/modules/digital-twins/digital-twins-instance/main.bicep @@ -249,7 +249,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -352,7 +352,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/document-db/database-account/main.bicep b/modules/document-db/database-account/main.bicep index 0920e0acfa..020db1ee9a 100644 --- a/modules/document-db/database-account/main.bicep +++ b/modules/document-db/database-account/main.bicep @@ -381,7 +381,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -484,7 +484,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/event-grid/domain/main.bicep b/modules/event-grid/domain/main.bicep index 4652a9ba5c..5177d56cf2 100644 --- a/modules/event-grid/domain/main.bicep +++ b/modules/event-grid/domain/main.bicep @@ -199,7 +199,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -302,7 +302,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/event-grid/system-topic/main.bicep b/modules/event-grid/system-topic/main.bicep index 53d77af4ab..c50e27ec8c 100644 --- a/modules/event-grid/system-topic/main.bicep +++ b/modules/event-grid/system-topic/main.bicep @@ -189,7 +189,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -224,7 +224,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/event-grid/topic/main.bicep b/modules/event-grid/topic/main.bicep index 9f249e8028..440efefed8 100644 --- a/modules/event-grid/topic/main.bicep +++ b/modules/event-grid/topic/main.bicep @@ -201,7 +201,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -304,7 +304,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/event-hub/namespace/eventhub/main.bicep b/modules/event-hub/namespace/eventhub/main.bicep index 466bc57c36..3c35bc5d6a 100644 --- a/modules/event-hub/namespace/eventhub/main.bicep +++ b/modules/event-hub/namespace/eventhub/main.bicep @@ -253,7 +253,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/event-hub/namespace/main.bicep b/modules/event-hub/namespace/main.bicep index 03215a757f..8b741c99ca 100644 --- a/modules/event-hub/namespace/main.bicep +++ b/modules/event-hub/namespace/main.bicep @@ -373,7 +373,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -476,7 +476,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/health-bot/health-bot/main.bicep b/modules/health-bot/health-bot/main.bicep index 4d5164ac7f..1413b01d36 100644 --- a/modules/health-bot/health-bot/main.bicep +++ b/modules/health-bot/health-bot/main.bicep @@ -129,7 +129,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/healthcare-apis/workspace/dicomservice/main.bicep b/modules/healthcare-apis/workspace/dicomservice/main.bicep index 16112998b7..2d4da12b7d 100644 --- a/modules/healthcare-apis/workspace/dicomservice/main.bicep +++ b/modules/healthcare-apis/workspace/dicomservice/main.bicep @@ -191,7 +191,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/healthcare-apis/workspace/fhirservice/main.bicep b/modules/healthcare-apis/workspace/fhirservice/main.bicep index 68fef37742..824391deaa 100644 --- a/modules/healthcare-apis/workspace/fhirservice/main.bicep +++ b/modules/healthcare-apis/workspace/fhirservice/main.bicep @@ -293,7 +293,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -328,7 +328,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/healthcare-apis/workspace/iotconnector/main.bicep b/modules/healthcare-apis/workspace/iotconnector/main.bicep index b5aab3e434..f50c6d9c64 100644 --- a/modules/healthcare-apis/workspace/iotconnector/main.bicep +++ b/modules/healthcare-apis/workspace/iotconnector/main.bicep @@ -201,7 +201,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/healthcare-apis/workspace/main.bicep b/modules/healthcare-apis/workspace/main.bicep index 454b86f22e..dae1a76439 100644 --- a/modules/healthcare-apis/workspace/main.bicep +++ b/modules/healthcare-apis/workspace/main.bicep @@ -211,7 +211,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/insights/action-group/main.bicep b/modules/insights/action-group/main.bicep index 9d339fd670..bca49be2f7 100644 --- a/modules/insights/action-group/main.bicep +++ b/modules/insights/action-group/main.bicep @@ -130,7 +130,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/insights/activity-log-alert/main.bicep b/modules/insights/activity-log-alert/main.bicep index 349e2184db..98263ac6db 100644 --- a/modules/insights/activity-log-alert/main.bicep +++ b/modules/insights/activity-log-alert/main.bicep @@ -113,7 +113,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/insights/component/main.bicep b/modules/insights/component/main.bicep index 5ca3a75e6b..801e9eb20a 100644 --- a/modules/insights/component/main.bicep +++ b/modules/insights/component/main.bicep @@ -169,7 +169,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -204,7 +204,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/insights/data-collection-endpoint/main.bicep b/modules/insights/data-collection-endpoint/main.bicep index 6b3fa4325e..e6e65306b7 100644 --- a/modules/insights/data-collection-endpoint/main.bicep +++ b/modules/insights/data-collection-endpoint/main.bicep @@ -133,7 +133,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/insights/data-collection-rule/main.bicep b/modules/insights/data-collection-rule/main.bicep index 8e8be03130..14cb3af5b9 100644 --- a/modules/insights/data-collection-rule/main.bicep +++ b/modules/insights/data-collection-rule/main.bicep @@ -147,7 +147,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? diff --git a/modules/insights/metric-alert/main.bicep b/modules/insights/metric-alert/main.bicep index 992795ba50..3dad0cc566 100644 --- a/modules/insights/metric-alert/main.bicep +++ b/modules/insights/metric-alert/main.bicep @@ -168,7 +168,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/insights/private-link-scope/main.bicep b/modules/insights/private-link-scope/main.bicep index 608103ca13..1a4c327c37 100644 --- a/modules/insights/private-link-scope/main.bicep +++ b/modules/insights/private-link-scope/main.bicep @@ -145,7 +145,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/insights/scheduled-query-rule/main.bicep b/modules/insights/scheduled-query-rule/main.bicep index 27e644b9bb..2d4ac0bd58 100644 --- a/modules/insights/scheduled-query-rule/main.bicep +++ b/modules/insights/scheduled-query-rule/main.bicep @@ -153,7 +153,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/insights/webtest/main.bicep b/modules/insights/webtest/main.bicep index 543f21664c..7f464360ba 100644 --- a/modules/insights/webtest/main.bicep +++ b/modules/insights/webtest/main.bicep @@ -172,7 +172,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? diff --git a/modules/key-vault/vault/key/main.bicep b/modules/key-vault/vault/key/main.bicep index 762341e837..21a15d15f2 100644 --- a/modules/key-vault/vault/key/main.bicep +++ b/modules/key-vault/vault/key/main.bicep @@ -147,7 +147,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/key-vault/vault/main.bicep b/modules/key-vault/vault/main.bicep index 1917a0e8ec..f26fb09a52 100644 --- a/modules/key-vault/vault/main.bicep +++ b/modules/key-vault/vault/main.bicep @@ -313,7 +313,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -416,7 +416,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/key-vault/vault/secret/main.bicep b/modules/key-vault/vault/secret/main.bicep index a8c2c954d7..c58f6f645b 100644 --- a/modules/key-vault/vault/secret/main.bicep +++ b/modules/key-vault/vault/secret/main.bicep @@ -117,7 +117,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/logic/workflow/main.bicep b/modules/logic/workflow/main.bicep index 825fc736ca..1255b34450 100644 --- a/modules/logic/workflow/main.bicep +++ b/modules/logic/workflow/main.bicep @@ -235,7 +235,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -270,7 +270,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/machine-learning-services/workspace/main.bicep b/modules/machine-learning-services/workspace/main.bicep index 8225693123..7580478dc4 100644 --- a/modules/machine-learning-services/workspace/main.bicep +++ b/modules/machine-learning-services/workspace/main.bicep @@ -327,7 +327,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? @@ -419,7 +419,7 @@ type diagnosticSettingType = { }[]? @sys.description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @sys.description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/maintenance/maintenance-configuration/main.bicep b/modules/maintenance/maintenance-configuration/main.bicep index e7e84e9106..d3cf44d377 100644 --- a/modules/maintenance/maintenance-configuration/main.bicep +++ b/modules/maintenance/maintenance-configuration/main.bicep @@ -153,7 +153,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/managed-identity/user-assigned-identity/main.bicep b/modules/managed-identity/user-assigned-identity/main.bicep index 16903d6423..ff35c43d96 100644 --- a/modules/managed-identity/user-assigned-identity/main.bicep +++ b/modules/managed-identity/user-assigned-identity/main.bicep @@ -126,7 +126,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/net-app/net-app-account/capacity-pool/main.bicep b/modules/net-app/net-app-account/capacity-pool/main.bicep index 8b1910526a..654d1e8af8 100644 --- a/modules/net-app/net-app-account/capacity-pool/main.bicep +++ b/modules/net-app/net-app-account/capacity-pool/main.bicep @@ -148,7 +148,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/net-app/net-app-account/capacity-pool/volume/main.bicep b/modules/net-app/net-app-account/capacity-pool/volume/main.bicep index 317947161f..71e47b1ad4 100644 --- a/modules/net-app/net-app-account/capacity-pool/volume/main.bicep +++ b/modules/net-app/net-app-account/capacity-pool/volume/main.bicep @@ -125,7 +125,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/net-app/net-app-account/main.bicep b/modules/net-app/net-app-account/main.bicep index 4017285445..406a2cf99c 100644 --- a/modules/net-app/net-app-account/main.bicep +++ b/modules/net-app/net-app-account/main.bicep @@ -173,7 +173,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/application-gateway/main.bicep b/modules/network/application-gateway/main.bicep index c789cca2f4..2b76bfc065 100644 --- a/modules/network/application-gateway/main.bicep +++ b/modules/network/application-gateway/main.bicep @@ -406,7 +406,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -509,7 +509,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/application-security-group/main.bicep b/modules/network/application-security-group/main.bicep index 3a60c91a26..55bacf2d7e 100644 --- a/modules/network/application-security-group/main.bicep +++ b/modules/network/application-security-group/main.bicep @@ -102,7 +102,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/azure-firewall/main.bicep b/modules/network/azure-firewall/main.bicep index 972abf72ac..d6e785f395 100644 --- a/modules/network/azure-firewall/main.bicep +++ b/modules/network/azure-firewall/main.bicep @@ -327,7 +327,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -362,7 +362,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/bastion-host/main.bicep b/modules/network/bastion-host/main.bicep index 2761e76455..8877a5af1d 100644 --- a/modules/network/bastion-host/main.bicep +++ b/modules/network/bastion-host/main.bicep @@ -222,7 +222,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -251,7 +251,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/ddos-protection-plan/main.bicep b/modules/network/ddos-protection-plan/main.bicep index 94e9b8b8d2..71111c0e8f 100644 --- a/modules/network/ddos-protection-plan/main.bicep +++ b/modules/network/ddos-protection-plan/main.bicep @@ -103,7 +103,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-forwarding-ruleset/main.bicep b/modules/network/dns-forwarding-ruleset/main.bicep index 08d813c8ac..d54a554eed 100644 --- a/modules/network/dns-forwarding-ruleset/main.bicep +++ b/modules/network/dns-forwarding-ruleset/main.bicep @@ -139,7 +139,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-resolver/main.bicep b/modules/network/dns-resolver/main.bicep index 01824b9031..b733320a97 100644 --- a/modules/network/dns-resolver/main.bicep +++ b/modules/network/dns-resolver/main.bicep @@ -150,7 +150,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/a/main.bicep b/modules/network/dns-zone/a/main.bicep index 458ec8ad2a..8f75c9d10e 100644 --- a/modules/network/dns-zone/a/main.bicep +++ b/modules/network/dns-zone/a/main.bicep @@ -103,7 +103,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/aaaa/main.bicep b/modules/network/dns-zone/aaaa/main.bicep index 8156688cdd..a0d88a4f60 100644 --- a/modules/network/dns-zone/aaaa/main.bicep +++ b/modules/network/dns-zone/aaaa/main.bicep @@ -103,7 +103,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/caa/main.bicep b/modules/network/dns-zone/caa/main.bicep index 789edca66f..5456341ee7 100644 --- a/modules/network/dns-zone/caa/main.bicep +++ b/modules/network/dns-zone/caa/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/cname/main.bicep b/modules/network/dns-zone/cname/main.bicep index 251924db52..db68c48d7f 100644 --- a/modules/network/dns-zone/cname/main.bicep +++ b/modules/network/dns-zone/cname/main.bicep @@ -103,7 +103,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/main.bicep b/modules/network/dns-zone/main.bicep index 4babf6c81c..c5b7880355 100644 --- a/modules/network/dns-zone/main.bicep +++ b/modules/network/dns-zone/main.bicep @@ -277,7 +277,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/mx/main.bicep b/modules/network/dns-zone/mx/main.bicep index 6814f1c3a1..710a244cd3 100644 --- a/modules/network/dns-zone/mx/main.bicep +++ b/modules/network/dns-zone/mx/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/ns/main.bicep b/modules/network/dns-zone/ns/main.bicep index 3964d72597..a3a98d5302 100644 --- a/modules/network/dns-zone/ns/main.bicep +++ b/modules/network/dns-zone/ns/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/ptr/main.bicep b/modules/network/dns-zone/ptr/main.bicep index ed72b8e283..3363462440 100644 --- a/modules/network/dns-zone/ptr/main.bicep +++ b/modules/network/dns-zone/ptr/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/soa/main.bicep b/modules/network/dns-zone/soa/main.bicep index 64b31163cc..6a7fbe7acf 100644 --- a/modules/network/dns-zone/soa/main.bicep +++ b/modules/network/dns-zone/soa/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/srv/main.bicep b/modules/network/dns-zone/srv/main.bicep index 87d1466c0d..c56b257c59 100644 --- a/modules/network/dns-zone/srv/main.bicep +++ b/modules/network/dns-zone/srv/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/dns-zone/txt/main.bicep b/modules/network/dns-zone/txt/main.bicep index 0a3b81aabb..f2ceb2c1ac 100644 --- a/modules/network/dns-zone/txt/main.bicep +++ b/modules/network/dns-zone/txt/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/express-route-circuit/main.bicep b/modules/network/express-route-circuit/main.bicep index 15ee9e0804..8318922213 100644 --- a/modules/network/express-route-circuit/main.bicep +++ b/modules/network/express-route-circuit/main.bicep @@ -228,7 +228,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -263,7 +263,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/express-route-gateway/main.bicep b/modules/network/express-route-gateway/main.bicep index 91534744a2..811d433d11 100644 --- a/modules/network/express-route-gateway/main.bicep +++ b/modules/network/express-route-gateway/main.bicep @@ -130,7 +130,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/front-door-web-application-firewall-policy/main.bicep b/modules/network/front-door-web-application-firewall-policy/main.bicep index 9ba8e942e5..2cf41330a7 100644 --- a/modules/network/front-door-web-application-firewall-policy/main.bicep +++ b/modules/network/front-door-web-application-firewall-policy/main.bicep @@ -164,7 +164,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/front-door/main.bicep b/modules/network/front-door/main.bicep index f733e394ef..f9cc41e08a 100644 --- a/modules/network/front-door/main.bicep +++ b/modules/network/front-door/main.bicep @@ -171,7 +171,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -206,7 +206,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/ip-group/main.bicep b/modules/network/ip-group/main.bicep index ae0ca58c7d..3e14ba223f 100644 --- a/modules/network/ip-group/main.bicep +++ b/modules/network/ip-group/main.bicep @@ -109,7 +109,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/load-balancer/main.bicep b/modules/network/load-balancer/main.bicep index 13908c3b92..c3d1c82794 100644 --- a/modules/network/load-balancer/main.bicep +++ b/modules/network/load-balancer/main.bicep @@ -277,7 +277,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -303,7 +303,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/local-network-gateway/main.bicep b/modules/network/local-network-gateway/main.bicep index 9b0a6ff32a..766ac4eb10 100644 --- a/modules/network/local-network-gateway/main.bicep +++ b/modules/network/local-network-gateway/main.bicep @@ -135,7 +135,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/nat-gateway/main.bicep b/modules/network/nat-gateway/main.bicep index 566fc8757d..b3aab1a660 100644 --- a/modules/network/nat-gateway/main.bicep +++ b/modules/network/nat-gateway/main.bicep @@ -182,7 +182,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -217,7 +217,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/network-interface/main.bicep b/modules/network/network-interface/main.bicep index 0b25219983..069ad203c6 100644 --- a/modules/network/network-interface/main.bicep +++ b/modules/network/network-interface/main.bicep @@ -195,7 +195,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -221,7 +221,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/network-manager/main.bicep b/modules/network/network-manager/main.bicep index 55507d68ee..4fc57260bd 100644 --- a/modules/network/network-manager/main.bicep +++ b/modules/network/network-manager/main.bicep @@ -185,7 +185,7 @@ type roleAssignmentType = { principalId: string @sys.description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @sys.description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/network-security-group/main.bicep b/modules/network/network-security-group/main.bicep index df34e44b6c..83928e9024 100644 --- a/modules/network/network-security-group/main.bicep +++ b/modules/network/network-security-group/main.bicep @@ -179,7 +179,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -208,7 +208,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/network-watcher/main.bicep b/modules/network/network-watcher/main.bicep index 4ca2b00db7..6ee4903f61 100644 --- a/modules/network/network-watcher/main.bicep +++ b/modules/network/network-watcher/main.bicep @@ -142,7 +142,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-dns-zone/a/main.bicep b/modules/network/private-dns-zone/a/main.bicep index 103ed79f76..14ed4d1909 100644 --- a/modules/network/private-dns-zone/a/main.bicep +++ b/modules/network/private-dns-zone/a/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-dns-zone/aaaa/main.bicep b/modules/network/private-dns-zone/aaaa/main.bicep index 6e1c76213b..d36d381db7 100644 --- a/modules/network/private-dns-zone/aaaa/main.bicep +++ b/modules/network/private-dns-zone/aaaa/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-dns-zone/cname/main.bicep b/modules/network/private-dns-zone/cname/main.bicep index cd53e7ee37..10ca076674 100644 --- a/modules/network/private-dns-zone/cname/main.bicep +++ b/modules/network/private-dns-zone/cname/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-dns-zone/main.bicep b/modules/network/private-dns-zone/main.bicep index 818c516dd5..e1ee451d5a 100644 --- a/modules/network/private-dns-zone/main.bicep +++ b/modules/network/private-dns-zone/main.bicep @@ -253,7 +253,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-dns-zone/mx/main.bicep b/modules/network/private-dns-zone/mx/main.bicep index b98ddcd479..1937467d66 100644 --- a/modules/network/private-dns-zone/mx/main.bicep +++ b/modules/network/private-dns-zone/mx/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-dns-zone/ptr/main.bicep b/modules/network/private-dns-zone/ptr/main.bicep index 60c40c86c6..2b4094fee9 100644 --- a/modules/network/private-dns-zone/ptr/main.bicep +++ b/modules/network/private-dns-zone/ptr/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-dns-zone/soa/main.bicep b/modules/network/private-dns-zone/soa/main.bicep index 74f46f53c7..5661f96a86 100644 --- a/modules/network/private-dns-zone/soa/main.bicep +++ b/modules/network/private-dns-zone/soa/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-dns-zone/srv/main.bicep b/modules/network/private-dns-zone/srv/main.bicep index 7857e20730..aa5a1a95e1 100644 --- a/modules/network/private-dns-zone/srv/main.bicep +++ b/modules/network/private-dns-zone/srv/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-dns-zone/txt/main.bicep b/modules/network/private-dns-zone/txt/main.bicep index cc07200f18..afbe9ae0f9 100644 --- a/modules/network/private-dns-zone/txt/main.bicep +++ b/modules/network/private-dns-zone/txt/main.bicep @@ -97,7 +97,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-endpoint/main.bicep b/modules/network/private-endpoint/main.bicep index be29744cd6..1c5e1df2d1 100644 --- a/modules/network/private-endpoint/main.bicep +++ b/modules/network/private-endpoint/main.bicep @@ -161,7 +161,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/private-link-service/main.bicep b/modules/network/private-link-service/main.bicep index 4691ab09c6..6146a225bf 100644 --- a/modules/network/private-link-service/main.bicep +++ b/modules/network/private-link-service/main.bicep @@ -136,7 +136,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/public-ip-address/main.bicep b/modules/network/public-ip-address/main.bicep index f907565f45..46fd1decb2 100644 --- a/modules/network/public-ip-address/main.bicep +++ b/modules/network/public-ip-address/main.bicep @@ -207,7 +207,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -242,7 +242,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/public-ip-prefix/main.bicep b/modules/network/public-ip-prefix/main.bicep index 067b299025..5261690b6d 100644 --- a/modules/network/public-ip-prefix/main.bicep +++ b/modules/network/public-ip-prefix/main.bicep @@ -119,7 +119,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/route-table/main.bicep b/modules/network/route-table/main.bicep index 8a416fcc21..3db1e9d17f 100644 --- a/modules/network/route-table/main.bicep +++ b/modules/network/route-table/main.bicep @@ -112,7 +112,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/service-endpoint-policy/main.bicep b/modules/network/service-endpoint-policy/main.bicep index 09d59d58a5..c0183b63f9 100644 --- a/modules/network/service-endpoint-policy/main.bicep +++ b/modules/network/service-endpoint-policy/main.bicep @@ -116,7 +116,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/trafficmanagerprofile/main.bicep b/modules/network/trafficmanagerprofile/main.bicep index fb034877ba..66238ec4dd 100644 --- a/modules/network/trafficmanagerprofile/main.bicep +++ b/modules/network/trafficmanagerprofile/main.bicep @@ -183,7 +183,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -218,7 +218,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/virtual-network-gateway/main.bicep b/modules/network/virtual-network-gateway/main.bicep index 6977268079..b561f87fac 100644 --- a/modules/network/virtual-network-gateway/main.bicep +++ b/modules/network/virtual-network-gateway/main.bicep @@ -423,7 +423,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -458,7 +458,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/virtual-network/main.bicep b/modules/network/virtual-network/main.bicep index 9e46d65ae8..0a4003d1e5 100644 --- a/modules/network/virtual-network/main.bicep +++ b/modules/network/virtual-network/main.bicep @@ -275,7 +275,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -310,7 +310,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/network/virtual-network/subnet/main.bicep b/modules/network/virtual-network/subnet/main.bicep index a6ae7b85b1..5f0fadf82e 100644 --- a/modules/network/virtual-network/subnet/main.bicep +++ b/modules/network/virtual-network/subnet/main.bicep @@ -150,7 +150,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/virtual-wan/main.bicep b/modules/network/virtual-wan/main.bicep index b3d6f04fbe..6d3f3fe0b0 100644 --- a/modules/network/virtual-wan/main.bicep +++ b/modules/network/virtual-wan/main.bicep @@ -124,7 +124,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/network/vpn-site/main.bicep b/modules/network/vpn-site/main.bicep index a43605ce50..cb5c422359 100644 --- a/modules/network/vpn-site/main.bicep +++ b/modules/network/vpn-site/main.bicep @@ -140,7 +140,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/operational-insights/workspace/main.bicep b/modules/operational-insights/workspace/main.bicep index 437e5c9730..b113cca2ef 100644 --- a/modules/operational-insights/workspace/main.bicep +++ b/modules/operational-insights/workspace/main.bicep @@ -362,7 +362,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -397,7 +397,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/power-bi-dedicated/capacity/main.bicep b/modules/power-bi-dedicated/capacity/main.bicep index d9124fb750..c155245138 100644 --- a/modules/power-bi-dedicated/capacity/main.bicep +++ b/modules/power-bi-dedicated/capacity/main.bicep @@ -146,7 +146,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/purview/account/main.bicep b/modules/purview/account/main.bicep index ee9cf3a810..a28e08ac68 100644 --- a/modules/purview/account/main.bicep +++ b/modules/purview/account/main.bicep @@ -320,7 +320,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -355,7 +355,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/recovery-services/vault/main.bicep b/modules/recovery-services/vault/main.bicep index 4c2854b7be..8d7e59d2c8 100644 --- a/modules/recovery-services/vault/main.bicep +++ b/modules/recovery-services/vault/main.bicep @@ -323,7 +323,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -426,7 +426,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/relay/namespace/hybrid-connection/main.bicep b/modules/relay/namespace/hybrid-connection/main.bicep index 0ba09b0cec..26c75f7734 100644 --- a/modules/relay/namespace/hybrid-connection/main.bicep +++ b/modules/relay/namespace/hybrid-connection/main.bicep @@ -152,7 +152,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/relay/namespace/main.bicep b/modules/relay/namespace/main.bicep index 44102bc7d9..6f02fe6c2f 100644 --- a/modules/relay/namespace/main.bicep +++ b/modules/relay/namespace/main.bicep @@ -284,7 +284,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -387,7 +387,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/relay/namespace/wcf-relay/main.bicep b/modules/relay/namespace/wcf-relay/main.bicep index 0840630c10..b550e525f9 100644 --- a/modules/relay/namespace/wcf-relay/main.bicep +++ b/modules/relay/namespace/wcf-relay/main.bicep @@ -164,7 +164,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/resource-graph/query/main.bicep b/modules/resource-graph/query/main.bicep index 4cceeecad1..e4e5472ea4 100644 --- a/modules/resource-graph/query/main.bicep +++ b/modules/resource-graph/query/main.bicep @@ -111,7 +111,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/resources/resource-group/main.bicep b/modules/resources/resource-group/main.bicep index 0c6c874c06..b4d65b905a 100644 --- a/modules/resources/resource-group/main.bicep +++ b/modules/resources/resource-group/main.bicep @@ -110,7 +110,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/search/search-service/main.bicep b/modules/search/search-service/main.bicep index 4806de883c..8f044e1609 100644 --- a/modules/search/search-service/main.bicep +++ b/modules/search/search-service/main.bicep @@ -282,7 +282,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -385,7 +385,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/service-bus/namespace/main.bicep b/modules/service-bus/namespace/main.bicep index 612cabf621..0d89d80fcd 100644 --- a/modules/service-bus/namespace/main.bicep +++ b/modules/service-bus/namespace/main.bicep @@ -419,7 +419,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -522,7 +522,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/service-bus/namespace/queue/main.bicep b/modules/service-bus/namespace/queue/main.bicep index 025c199199..a4ab68d0ba 100644 --- a/modules/service-bus/namespace/queue/main.bicep +++ b/modules/service-bus/namespace/queue/main.bicep @@ -209,7 +209,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/service-bus/namespace/topic/main.bicep b/modules/service-bus/namespace/topic/main.bicep index 37e7d88fc2..7aba25aa34 100644 --- a/modules/service-bus/namespace/topic/main.bicep +++ b/modules/service-bus/namespace/topic/main.bicep @@ -189,7 +189,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/service-fabric/cluster/main.bicep b/modules/service-fabric/cluster/main.bicep index 929b22eb40..86f0780b18 100644 --- a/modules/service-fabric/cluster/main.bicep +++ b/modules/service-fabric/cluster/main.bicep @@ -357,7 +357,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/signal-r-service/signal-r/main.bicep b/modules/signal-r-service/signal-r/main.bicep index bb0bf8acab..59510d3f23 100644 --- a/modules/signal-r-service/signal-r/main.bicep +++ b/modules/signal-r-service/signal-r/main.bicep @@ -254,7 +254,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/signal-r-service/web-pub-sub/main.bicep b/modules/signal-r-service/web-pub-sub/main.bicep index 2bc0931bec..498399f795 100644 --- a/modules/signal-r-service/web-pub-sub/main.bicep +++ b/modules/signal-r-service/web-pub-sub/main.bicep @@ -234,7 +234,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/sql/managed-instance/database/main.bicep b/modules/sql/managed-instance/database/main.bicep index 897d60d2fd..d48ab2e7e9 100644 --- a/modules/sql/managed-instance/database/main.bicep +++ b/modules/sql/managed-instance/database/main.bicep @@ -194,7 +194,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/sql/managed-instance/main.bicep b/modules/sql/managed-instance/main.bicep index 27a246ada0..92575bb945 100644 --- a/modules/sql/managed-instance/main.bicep +++ b/modules/sql/managed-instance/main.bicep @@ -397,7 +397,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -432,7 +432,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/sql/server/database/main.bicep b/modules/sql/server/database/main.bicep index f1943a2c02..606a2a7151 100644 --- a/modules/sql/server/database/main.bicep +++ b/modules/sql/server/database/main.bicep @@ -264,7 +264,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/sql/server/main.bicep b/modules/sql/server/main.bicep index 512607268e..8c0e156126 100644 --- a/modules/sql/server/main.bicep +++ b/modules/sql/server/main.bicep @@ -380,7 +380,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/storage/storage-account/blob-service/container/main.bicep b/modules/storage/storage-account/blob-service/container/main.bicep index ea6fe48136..7326ed40c4 100644 --- a/modules/storage/storage-account/blob-service/container/main.bicep +++ b/modules/storage/storage-account/blob-service/container/main.bicep @@ -156,7 +156,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/storage/storage-account/blob-service/main.bicep b/modules/storage/storage-account/blob-service/main.bicep index 26a94e3b66..21f02d6049 100644 --- a/modules/storage/storage-account/blob-service/main.bicep +++ b/modules/storage/storage-account/blob-service/main.bicep @@ -200,7 +200,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/storage/storage-account/file-service/main.bicep b/modules/storage/storage-account/file-service/main.bicep index 040c3f2583..78cd4e4df7 100644 --- a/modules/storage/storage-account/file-service/main.bicep +++ b/modules/storage/storage-account/file-service/main.bicep @@ -129,7 +129,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/storage/storage-account/file-service/share/main.bicep b/modules/storage/storage-account/file-service/share/main.bicep index 1bf50b97a8..656058fb92 100644 --- a/modules/storage/storage-account/file-service/share/main.bicep +++ b/modules/storage/storage-account/file-service/share/main.bicep @@ -135,7 +135,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/storage/storage-account/main.bicep b/modules/storage/storage-account/main.bicep index 606556391a..c28a23f64e 100644 --- a/modules/storage/storage-account/main.bicep +++ b/modules/storage/storage-account/main.bicep @@ -504,7 +504,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -598,7 +598,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/storage/storage-account/queue-service/main.bicep b/modules/storage/storage-account/queue-service/main.bicep index 680a52c332..6bd363d8fb 100644 --- a/modules/storage/storage-account/queue-service/main.bicep +++ b/modules/storage/storage-account/queue-service/main.bicep @@ -111,7 +111,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/storage/storage-account/queue-service/queue/main.bicep b/modules/storage/storage-account/queue-service/queue/main.bicep index 33dcb6732a..bb2ee92dcd 100644 --- a/modules/storage/storage-account/queue-service/queue/main.bicep +++ b/modules/storage/storage-account/queue-service/queue/main.bicep @@ -105,7 +105,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/storage/storage-account/table-service/main.bicep b/modules/storage/storage-account/table-service/main.bicep index 3780974090..c200aa9314 100644 --- a/modules/storage/storage-account/table-service/main.bicep +++ b/modules/storage/storage-account/table-service/main.bicep @@ -109,7 +109,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/synapse/private-link-hub/main.bicep b/modules/synapse/private-link-hub/main.bicep index 8329852e52..63beeebac2 100644 --- a/modules/synapse/private-link-hub/main.bicep +++ b/modules/synapse/private-link-hub/main.bicep @@ -133,7 +133,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/synapse/workspace/main.bicep b/modules/synapse/workspace/main.bicep index 3eaad04764..a73a3c42f8 100644 --- a/modules/synapse/workspace/main.bicep +++ b/modules/synapse/workspace/main.bicep @@ -337,7 +337,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -434,7 +434,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/virtual-machine-images/image-template/main.bicep b/modules/virtual-machine-images/image-template/main.bicep index c3def8cd69..fe3615ab8a 100644 --- a/modules/virtual-machine-images/image-template/main.bicep +++ b/modules/virtual-machine-images/image-template/main.bicep @@ -246,7 +246,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/web/connection/main.bicep b/modules/web/connection/main.bicep index bfa55bc54f..96bb44f427 100644 --- a/modules/web/connection/main.bicep +++ b/modules/web/connection/main.bicep @@ -133,7 +133,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? diff --git a/modules/web/hosting-environment/main.bicep b/modules/web/hosting-environment/main.bicep index a6a4c565b2..e072a5031d 100644 --- a/modules/web/hosting-environment/main.bicep +++ b/modules/web/hosting-environment/main.bicep @@ -276,7 +276,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -305,7 +305,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/web/serverfarm/main.bicep b/modules/web/serverfarm/main.bicep index 856f2cc3cd..f8985d59b1 100644 --- a/modules/web/serverfarm/main.bicep +++ b/modules/web/serverfarm/main.bicep @@ -193,7 +193,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -219,7 +219,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/web/site/main.bicep b/modules/web/site/main.bicep index b2ac05d214..e6b77ab84f 100644 --- a/modules/web/site/main.bicep +++ b/modules/web/site/main.bicep @@ -437,7 +437,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -540,7 +540,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/web/site/slot/main.bicep b/modules/web/site/slot/main.bicep index e3366e3150..18f9139fec 100644 --- a/modules/web/site/slot/main.bicep +++ b/modules/web/site/slot/main.bicep @@ -370,7 +370,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string? @@ -473,7 +473,7 @@ type diagnosticSettingType = { }[]? @description('Optional. A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type.') - logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics' | null)? + logAnalyticsDestinationType: ('Dedicated' | 'AzureDiagnostics')? @description('Optional. Resource ID of the diagnostic log analytics workspace. For security reasons, it is recommended to set diagnostic settings to send data to either storage account, log analytics workspace or event hub.') workspaceResourceId: string? diff --git a/modules/web/static-site/main.bicep b/modules/web/static-site/main.bicep index 990e85fc4a..0446884227 100644 --- a/modules/web/static-site/main.bicep +++ b/modules/web/static-site/main.bicep @@ -271,7 +271,7 @@ type roleAssignmentType = { principalId: string @description('Optional. The principal type of the assigned principal ID.') - principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device' | null)? + principalType: ('ServicePrincipal' | 'Group' | 'User' | 'ForeignGroup' | 'Device')? @description('Optional. The description of the role assignment.') description: string?