diff --git a/src/Bicep.Types.Radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.json b/src/Bicep.Types.Radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.json index bcc3bef78..468159d1d 100644 --- a/src/Bicep.Types.Radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.json +++ b/src/Bicep.Types.Radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.json @@ -1 +1 @@ -[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Applications.Datastores/mongoDatabases"}},{"6":{"Value":"2022-03-15-privatepreview"}},{"2":{"Name":"Applications.Datastores/mongoDatabases","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":8,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":9,"Flags":10,"Description":"The resource api version"},"properties":{"Type":11,"Flags":0,"Description":"MongoDatabase portable resource properties"},"tags":{"Type":30,"Flags":0,"Description":"Resource tags."},"location":{"Type":4,"Flags":1,"Description":"The geo-location where the resource lives"},"systemData":{"Type":31,"Flags":2,"Description":"Metadata pertaining to creation and last modification of the resource."}}}},{"7":{"Name":"MongoDatabaseProperties","Discriminator":"mode","BaseProperties":{"provisioningState":{"Type":19,"Flags":2,"Description":"Provisioning state of the link at the time the operation was called"},"secrets":{"Type":20,"Flags":0,"Description":"The secret values for the given MongoDatabase resource"},"status":{"Type":21,"Flags":2,"Description":"Status of a resource."},"environment":{"Type":4,"Flags":1,"Description":"Fully qualified resource ID for the environment that the link is linked to"},"application":{"Type":4,"Flags":0,"Description":"Fully qualified resource ID for the application that the link is consumed by"}},"Elements":{"recipe":23,"resource":26,"values":28}}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Failed"}},{"6":{"Value":"Canceled"}},{"6":{"Value":"Provisioning"}},{"6":{"Value":"Updating"}},{"6":{"Value":"Deleting"}},{"6":{"Value":"Accepted"}},{"5":{"Elements":[12,13,14,15,16,17,18]}},{"2":{"Name":"MongoDatabaseSecrets","Properties":{"username":{"Type":4,"Flags":0,"Description":"Username to use when connecting to the target Mongo database"},"password":{"Type":4,"Flags":0,"Description":"Password to use when connecting to the target Mongo database"},"connectionString":{"Type":4,"Flags":0,"Description":"Connection string used to connect to the target Mongo database"}}}},{"2":{"Name":"ResourceStatus","Properties":{"outputResources":{"Type":22,"Flags":0,"Description":"Properties of an output resource"}}}},{"3":{"ItemType":0}},{"2":{"Name":"RecipeMongoDatabaseProperties","Properties":{"host":{"Type":4,"Flags":0,"Description":"Host name of the target Mongo database"},"port":{"Type":3,"Flags":0,"Description":"Port value of the target Mongo database"},"database":{"Type":4,"Flags":2,"Description":"Database name of the target Mongo database"},"recipe":{"Type":24,"Flags":1,"Description":"The recipe used to automatically deploy underlying infrastructure for a link"},"mode":{"Type":25,"Flags":1,"Description":"Discriminator property for MongoDatabaseProperties."}}}},{"2":{"Name":"Recipe","Properties":{"name":{"Type":4,"Flags":1,"Description":"The name of the recipe within the environment to use"},"parameters":{"Type":0,"Flags":0,"Description":"Any object"}}}},{"6":{"Value":"recipe"}},{"2":{"Name":"ResourceMongoDatabaseProperties","Properties":{"resource":{"Type":4,"Flags":1,"Description":"Fully qualified resource ID of a supported resource with Mongo API to use for this portable resource"},"host":{"Type":4,"Flags":0,"Description":"Host name of the target Mongo database"},"port":{"Type":3,"Flags":0,"Description":"Port value of the target Mongo database"},"database":{"Type":4,"Flags":2,"Description":"Database name of the target Mongo database"},"mode":{"Type":27,"Flags":1,"Description":"Discriminator property for MongoDatabaseProperties."}}}},{"6":{"Value":"resource"}},{"2":{"Name":"ValuesMongoDatabaseProperties","Properties":{"host":{"Type":4,"Flags":1,"Description":"Host name of the target Mongo database"},"port":{"Type":3,"Flags":1,"Description":"Port value of the target Mongo database"},"database":{"Type":4,"Flags":2,"Description":"Database name of the target Mongo database"},"mode":{"Type":29,"Flags":1,"Description":"Discriminator property for MongoDatabaseProperties."}}}},{"6":{"Value":"values"}},{"2":{"Name":"TrackedResourceTags","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"SystemData","Properties":{"createdBy":{"Type":4,"Flags":0,"Description":"The identity that created the resource."},"createdByType":{"Type":36,"Flags":0,"Description":"The type of identity that created the resource."},"createdAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource creation (UTC)."},"lastModifiedBy":{"Type":4,"Flags":0,"Description":"The identity that last modified the resource."},"lastModifiedByType":{"Type":41,"Flags":0,"Description":"The type of identity that created the resource."},"lastModifiedAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource last modification (UTC)"}}}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[32,33,34,35]}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[37,38,39,40]}},{"4":{"Name":"Applications.Datastores/mongoDatabases@2022-03-15-privatepreview","ScopeType":0,"Body":10}},{"6":{"Value":"Applications.Datastores/redisCaches"}},{"6":{"Value":"2022-03-15-privatepreview"}},{"2":{"Name":"Applications.Datastores/redisCaches","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":43,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":44,"Flags":10,"Description":"The resource api version"},"properties":{"Type":46,"Flags":0,"Description":"RedisCache portable resource properties"},"tags":{"Type":62,"Flags":0,"Description":"Resource tags."},"location":{"Type":4,"Flags":1,"Description":"The geo-location where the resource lives"},"systemData":{"Type":31,"Flags":2,"Description":"Metadata pertaining to creation and last modification of the resource."}}}},{"7":{"Name":"RedisCacheProperties","Discriminator":"mode","BaseProperties":{"provisioningState":{"Type":54,"Flags":2,"Description":"Provisioning state of the link at the time the operation was called"},"secrets":{"Type":55,"Flags":0,"Description":"The secret values for the given RedisCache resource"},"status":{"Type":21,"Flags":2,"Description":"Status of a resource."},"environment":{"Type":4,"Flags":1,"Description":"Fully qualified resource ID for the environment that the link is linked to"},"application":{"Type":4,"Flags":0,"Description":"Fully qualified resource ID for the application that the link is consumed by"}},"Elements":{"recipe":56,"resource":58,"values":60}}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Failed"}},{"6":{"Value":"Canceled"}},{"6":{"Value":"Provisioning"}},{"6":{"Value":"Updating"}},{"6":{"Value":"Deleting"}},{"6":{"Value":"Accepted"}},{"5":{"Elements":[47,48,49,50,51,52,53]}},{"2":{"Name":"RedisCacheSecrets","Properties":{"connectionString":{"Type":4,"Flags":0,"Description":"The connection string used to connect to the Redis cache"},"password":{"Type":4,"Flags":0,"Description":"The password for this Redis cache instance"}}}},{"2":{"Name":"RecipeRedisCacheProperties","Properties":{"host":{"Type":4,"Flags":0,"Description":"The host name of the target Redis cache"},"port":{"Type":3,"Flags":0,"Description":"The port value of the target Redis cache"},"username":{"Type":4,"Flags":2,"Description":"The username for Redis cache"},"recipe":{"Type":24,"Flags":1,"Description":"The recipe used to automatically deploy underlying infrastructure for a link"},"mode":{"Type":57,"Flags":1,"Description":"Discriminator property for RedisCacheProperties."}}}},{"6":{"Value":"recipe"}},{"2":{"Name":"ResourceRedisCacheProperties","Properties":{"resource":{"Type":4,"Flags":1,"Description":"Fully qualified resource ID of a supported resource with Redis API to use for this portable resource"},"host":{"Type":4,"Flags":0,"Description":"The host name of the target Redis cache"},"port":{"Type":3,"Flags":0,"Description":"The port value of the target Redis cache"},"username":{"Type":4,"Flags":2,"Description":"The username for Redis cache"},"mode":{"Type":59,"Flags":1,"Description":"Discriminator property for RedisCacheProperties."}}}},{"6":{"Value":"resource"}},{"2":{"Name":"ValuesRedisCacheProperties","Properties":{"host":{"Type":4,"Flags":1,"Description":"The host name of the target Redis cache"},"port":{"Type":3,"Flags":1,"Description":"The port value of the target Redis cache"},"username":{"Type":4,"Flags":2,"Description":"The username for Redis cache"},"mode":{"Type":61,"Flags":1,"Description":"Discriminator property for RedisCacheProperties."}}}},{"6":{"Value":"values"}},{"2":{"Name":"TrackedResourceTags","Properties":{},"AdditionalProperties":4}},{"4":{"Name":"Applications.Datastores/redisCaches@2022-03-15-privatepreview","ScopeType":0,"Body":45}},{"6":{"Value":"Applications.Datastores/sqlDatabases"}},{"6":{"Value":"2022-03-15-privatepreview"}},{"2":{"Name":"Applications.Datastores/sqlDatabases","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":64,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":65,"Flags":10,"Description":"The resource api version"},"properties":{"Type":67,"Flags":0,"Description":"SqlDatabase properties"},"tags":{"Type":82,"Flags":0,"Description":"Resource tags."},"location":{"Type":4,"Flags":1,"Description":"The geo-location where the resource lives"},"systemData":{"Type":31,"Flags":2,"Description":"Metadata pertaining to creation and last modification of the resource."}}}},{"7":{"Name":"SqlDatabaseProperties","Discriminator":"mode","BaseProperties":{"provisioningState":{"Type":75,"Flags":2,"Description":"Provisioning state of the link at the time the operation was called"},"status":{"Type":21,"Flags":2,"Description":"Status of a resource."},"environment":{"Type":4,"Flags":1,"Description":"Fully qualified resource ID for the environment that the link is linked to"},"application":{"Type":4,"Flags":0,"Description":"Fully qualified resource ID for the application that the link is consumed by"}},"Elements":{"recipe":76,"resource":78,"values":80}}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Failed"}},{"6":{"Value":"Canceled"}},{"6":{"Value":"Provisioning"}},{"6":{"Value":"Updating"}},{"6":{"Value":"Deleting"}},{"6":{"Value":"Accepted"}},{"5":{"Elements":[68,69,70,71,72,73,74]}},{"2":{"Name":"RecipeSqlDatabaseProperties","Properties":{"recipe":{"Type":24,"Flags":1,"Description":"The recipe used to automatically deploy underlying infrastructure for a link"},"database":{"Type":4,"Flags":0,"Description":"The name of the Sql database."},"server":{"Type":4,"Flags":0,"Description":"The fully qualified domain name of the Sql database."},"mode":{"Type":77,"Flags":1,"Description":"Discriminator property for SqlDatabaseProperties."}}}},{"6":{"Value":"recipe"}},{"2":{"Name":"ResourceSqlDatabaseProperties","Properties":{"resource":{"Type":4,"Flags":1,"Description":"Fully qualified resource ID of a supported resource with Sql API to use for this portable resource"},"database":{"Type":4,"Flags":0,"Description":"The name of the Sql database."},"server":{"Type":4,"Flags":0,"Description":"The fully qualified domain name of the Sql database."},"mode":{"Type":79,"Flags":1,"Description":"Discriminator property for SqlDatabaseProperties."}}}},{"6":{"Value":"resource"}},{"2":{"Name":"ValuesSqlDatabaseProperties","Properties":{"database":{"Type":4,"Flags":1,"Description":"The name of the Sql database."},"server":{"Type":4,"Flags":1,"Description":"The fully qualified domain name of the Sql database."},"mode":{"Type":81,"Flags":1,"Description":"Discriminator property for SqlDatabaseProperties."}}}},{"6":{"Value":"values"}},{"2":{"Name":"TrackedResourceTags","Properties":{},"AdditionalProperties":4}},{"4":{"Name":"Applications.Datastores/sqlDatabases@2022-03-15-privatepreview","ScopeType":0,"Body":66}},{"2":{"Name":"MongoDatabaseListSecretsResult","Properties":{"username":{"Type":4,"Flags":2,"Description":"Username to use when connecting to the target Mongo database"},"password":{"Type":4,"Flags":2,"Description":"Password to use when connecting to the target Mongo database"},"connectionString":{"Type":4,"Flags":2,"Description":"Connection string used to connect to the target Mongo database"}}}},{"8":{"Name":"listSecrets","ResourceType":"Applications.Datastores/mongoDatabases","ApiVersion":"2022-03-15-privatepreview","Output":84}},{"2":{"Name":"RedisCacheListSecretsResult","Properties":{"connectionString":{"Type":4,"Flags":2,"Description":"The connection string used to connect to the Redis cache"},"password":{"Type":4,"Flags":2,"Description":"The password for this Redis cache instance"}}}},{"8":{"Name":"listSecrets","ResourceType":"Applications.Datastores/redisCaches","ApiVersion":"2022-03-15-privatepreview","Output":86}}] \ No newline at end of file +[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Applications.Datastores/mongoDatabases"}},{"6":{"Value":"2022-03-15-privatepreview"}},{"2":{"Name":"Applications.Datastores/mongoDatabases","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":8,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":9,"Flags":10,"Description":"The resource api version"},"properties":{"Type":11,"Flags":0,"Description":"MongoDatabase portable resource properties"},"tags":{"Type":29,"Flags":0,"Description":"Resource tags."},"location":{"Type":4,"Flags":1,"Description":"The geo-location where the resource lives"},"systemData":{"Type":30,"Flags":2,"Description":"Metadata pertaining to creation and last modification of the resource."}}}},{"2":{"Name":"MongoDatabaseProperties","Properties":{"provisioningState":{"Type":19,"Flags":2,"Description":"Provisioning state of the link at the time the operation was called"},"secrets":{"Type":20,"Flags":0,"Description":"The secret values for the given MongoDatabase resource"},"host":{"Type":4,"Flags":0,"Description":"Host name of the target Mongo database"},"port":{"Type":3,"Flags":0,"Description":"Port value of the target Mongo database"},"database":{"Type":4,"Flags":0,"Description":"Database name of the target Mongo database"},"recipe":{"Type":21,"Flags":0,"Description":"The recipe used to automatically deploy underlying infrastructure for a link"},"resources":{"Type":23,"Flags":0,"Description":"List of the resource IDs that support the MongoDB resource"},"resourceProvisioning":{"Type":26,"Flags":0,"Description":"Specifies how the underlying service/resource is provisioned and managed. Available values are 'recipe', where Radius manages the lifecycle of the resource through a Recipe, and 'manual', where a user manages the resource and provides the values."},"username":{"Type":4,"Flags":0,"Description":"Username to use when connecting to the target Mongo database"},"status":{"Type":27,"Flags":2,"Description":"Status of a resource."},"environment":{"Type":4,"Flags":1,"Description":"Fully qualified resource ID for the environment that the link is linked to"},"application":{"Type":4,"Flags":0,"Description":"Fully qualified resource ID for the application that the link is consumed by"}}}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Failed"}},{"6":{"Value":"Canceled"}},{"6":{"Value":"Provisioning"}},{"6":{"Value":"Updating"}},{"6":{"Value":"Deleting"}},{"6":{"Value":"Accepted"}},{"5":{"Elements":[12,13,14,15,16,17,18]}},{"2":{"Name":"MongoDatabaseSecrets","Properties":{"password":{"Type":4,"Flags":0,"Description":"Password to use when connecting to the target Mongo database"},"connectionString":{"Type":4,"Flags":0,"Description":"Connection string used to connect to the target Mongo database"}}}},{"2":{"Name":"Recipe","Properties":{"name":{"Type":4,"Flags":1,"Description":"The name of the recipe within the environment to use"},"parameters":{"Type":0,"Flags":0,"Description":"Any object"}}}},{"2":{"Name":"ResourceReference","Properties":{"id":{"Type":4,"Flags":1,"Description":"Resource id of an existing resource"}}}},{"3":{"ItemType":22}},{"6":{"Value":"recipe"}},{"6":{"Value":"manual"}},{"5":{"Elements":[24,25]}},{"2":{"Name":"ResourceStatus","Properties":{"outputResources":{"Type":28,"Flags":0,"Description":"Properties of an output resource"}}}},{"3":{"ItemType":0}},{"2":{"Name":"TrackedResourceTags","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"SystemData","Properties":{"createdBy":{"Type":4,"Flags":0,"Description":"The identity that created the resource."},"createdByType":{"Type":35,"Flags":0,"Description":"The type of identity that created the resource."},"createdAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource creation (UTC)."},"lastModifiedBy":{"Type":4,"Flags":0,"Description":"The identity that last modified the resource."},"lastModifiedByType":{"Type":40,"Flags":0,"Description":"The type of identity that created the resource."},"lastModifiedAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource last modification (UTC)"}}}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[31,32,33,34]}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[36,37,38,39]}},{"4":{"Name":"Applications.Datastores/mongoDatabases@2022-03-15-privatepreview","ScopeType":0,"Body":10}},{"6":{"Value":"Applications.Datastores/redisCaches"}},{"6":{"Value":"2022-03-15-privatepreview"}},{"2":{"Name":"Applications.Datastores/redisCaches","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":42,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":43,"Flags":10,"Description":"The resource api version"},"properties":{"Type":45,"Flags":0,"Description":"RedisCache portable resource properties"},"tags":{"Type":59,"Flags":0,"Description":"Resource tags."},"location":{"Type":4,"Flags":1,"Description":"The geo-location where the resource lives"},"systemData":{"Type":30,"Flags":2,"Description":"Metadata pertaining to creation and last modification of the resource."}}}},{"2":{"Name":"RedisCacheProperties","Properties":{"provisioningState":{"Type":53,"Flags":2,"Description":"Provisioning state of the link at the time the operation was called"},"secrets":{"Type":54,"Flags":0,"Description":"The secret values for the given RedisCache resource"},"host":{"Type":4,"Flags":0,"Description":"The host name of the target Redis cache"},"port":{"Type":3,"Flags":0,"Description":"The port value of the target Redis cache"},"username":{"Type":4,"Flags":0,"Description":"The username for Redis cache"},"tls":{"Type":2,"Flags":0,"Description":"Specifies whether to enable SSL connections to the Redis cache"},"recipe":{"Type":21,"Flags":0,"Description":"The recipe used to automatically deploy underlying infrastructure for a link"},"resources":{"Type":55,"Flags":0,"Description":"List of the resource IDs that support the Redis resource"},"resourceProvisioning":{"Type":58,"Flags":0,"Description":"Specifies how the underlying service/resource is provisioned and managed. Available values are 'recipe', where Radius manages the lifecycle of the resource through a Recipe, and 'manual', where a user manages the resource and provides the values."},"status":{"Type":27,"Flags":2,"Description":"Status of a resource."},"environment":{"Type":4,"Flags":1,"Description":"Fully qualified resource ID for the environment that the link is linked to"},"application":{"Type":4,"Flags":0,"Description":"Fully qualified resource ID for the application that the link is consumed by"}}}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Failed"}},{"6":{"Value":"Canceled"}},{"6":{"Value":"Provisioning"}},{"6":{"Value":"Updating"}},{"6":{"Value":"Deleting"}},{"6":{"Value":"Accepted"}},{"5":{"Elements":[46,47,48,49,50,51,52]}},{"2":{"Name":"RedisCacheSecrets","Properties":{"connectionString":{"Type":4,"Flags":0,"Description":"The connection string used to connect to the Redis cache"},"password":{"Type":4,"Flags":0,"Description":"The password for this Redis cache instance"},"url":{"Type":4,"Flags":0,"Description":"The URL used to connect to the Redis cache"}}}},{"3":{"ItemType":22}},{"6":{"Value":"recipe"}},{"6":{"Value":"manual"}},{"5":{"Elements":[56,57]}},{"2":{"Name":"TrackedResourceTags","Properties":{},"AdditionalProperties":4}},{"4":{"Name":"Applications.Datastores/redisCaches@2022-03-15-privatepreview","ScopeType":0,"Body":44}},{"6":{"Value":"Applications.Datastores/sqlDatabases"}},{"6":{"Value":"2022-03-15-privatepreview"}},{"2":{"Name":"Applications.Datastores/sqlDatabases","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":61,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":62,"Flags":10,"Description":"The resource api version"},"properties":{"Type":64,"Flags":0,"Description":"SqlDatabase properties"},"tags":{"Type":78,"Flags":0,"Description":"Resource tags."},"location":{"Type":4,"Flags":1,"Description":"The geo-location where the resource lives"},"systemData":{"Type":30,"Flags":2,"Description":"Metadata pertaining to creation and last modification of the resource."}}}},{"2":{"Name":"SqlDatabaseProperties","Properties":{"provisioningState":{"Type":72,"Flags":2,"Description":"Provisioning state of the link at the time the operation was called"},"database":{"Type":4,"Flags":0,"Description":"The name of the SQL database."},"server":{"Type":4,"Flags":0,"Description":"The fully qualified domain name of the SQL database."},"port":{"Type":3,"Flags":0,"Description":"Port value of the target SQL database"},"username":{"Type":4,"Flags":0,"Description":"Username to use when connecting to the target SQL database"},"recipe":{"Type":21,"Flags":0,"Description":"The recipe used to automatically deploy underlying infrastructure for a link"},"resources":{"Type":73,"Flags":0,"Description":"List of the resource IDs that support the SQL Database resource"},"resourceProvisioning":{"Type":76,"Flags":0,"Description":"Specifies how the underlying service/resource is provisioned and managed. Available values are 'recipe', where Radius manages the lifecycle of the resource through a Recipe, and 'manual', where a user manages the resource and provides the values."},"secrets":{"Type":77,"Flags":0,"Description":"The secret values for the given SQL Database resource"},"status":{"Type":27,"Flags":2,"Description":"Status of a resource."},"environment":{"Type":4,"Flags":1,"Description":"Fully qualified resource ID for the environment that the link is linked to"},"application":{"Type":4,"Flags":0,"Description":"Fully qualified resource ID for the application that the link is consumed by"}}}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Failed"}},{"6":{"Value":"Canceled"}},{"6":{"Value":"Provisioning"}},{"6":{"Value":"Updating"}},{"6":{"Value":"Deleting"}},{"6":{"Value":"Accepted"}},{"5":{"Elements":[65,66,67,68,69,70,71]}},{"3":{"ItemType":22}},{"6":{"Value":"recipe"}},{"6":{"Value":"manual"}},{"5":{"Elements":[74,75]}},{"2":{"Name":"SqlDatabaseSecrets","Properties":{"password":{"Type":4,"Flags":0,"Description":"Password to use when connecting to the target SQL database"},"connectionString":{"Type":4,"Flags":0,"Description":"Connection string used to connect to the target SQL database"}}}},{"2":{"Name":"TrackedResourceTags","Properties":{},"AdditionalProperties":4}},{"4":{"Name":"Applications.Datastores/sqlDatabases@2022-03-15-privatepreview","ScopeType":0,"Body":63}},{"2":{"Name":"MongoDatabaseListSecretsResult","Properties":{"password":{"Type":4,"Flags":2,"Description":"Password to use when connecting to the target Mongo database"},"connectionString":{"Type":4,"Flags":2,"Description":"Connection string used to connect to the target Mongo database"}}}},{"8":{"Name":"listSecrets","ResourceType":"Applications.Datastores/mongoDatabases","ApiVersion":"2022-03-15-privatepreview","Output":80}},{"2":{"Name":"RedisCacheListSecretsResult","Properties":{"connectionString":{"Type":4,"Flags":2,"Description":"The connection string used to connect to the Redis cache"},"password":{"Type":4,"Flags":2,"Description":"The password for this Redis cache instance"},"url":{"Type":4,"Flags":2,"Description":"The URL used to connect to the Redis cache"}}}},{"8":{"Name":"listSecrets","ResourceType":"Applications.Datastores/redisCaches","ApiVersion":"2022-03-15-privatepreview","Output":82}},{"2":{"Name":"SqlDatabaseListSecretsResult","Properties":{"password":{"Type":4,"Flags":2,"Description":"Password to use when connecting to the target SQL database"},"connectionString":{"Type":4,"Flags":2,"Description":"Connection string used to connect to the target SQL database"}}}},{"8":{"Name":"listSecrets","ResourceType":"Applications.Datastores/sqlDatabases","ApiVersion":"2022-03-15-privatepreview","Output":84}}] \ No newline at end of file diff --git a/src/Bicep.Types.Radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.md b/src/Bicep.Types.Radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.md index d82b59f6e..451de4843 100644 --- a/src/Bicep.Types.Radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.md +++ b/src/Bicep.Types.Radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.md @@ -46,54 +46,44 @@ * **ApiVersion**: 2022-03-15-privatepreview * **Output**: [RedisCacheListSecretsResult](#rediscachelistsecretsresult) -## MongoDatabaseProperties -* **Discriminator**: mode +## Function listSecrets (Applications.Datastores/sqlDatabases@2022-03-15-privatepreview) +* **Resource**: Applications.Datastores/sqlDatabases +* **ApiVersion**: 2022-03-15-privatepreview +* **Output**: [SqlDatabaseListSecretsResult](#sqldatabaselistsecretsresult) -### Base Properties +## MongoDatabaseProperties +### Properties * **application**: string: Fully qualified resource ID for the application that the link is consumed by +* **database**: string: Database name of the target Mongo database * **environment**: string (Required): Fully qualified resource ID for the environment that the link is linked to +* **host**: string: Host name of the target Mongo database +* **port**: int: Port value of the target Mongo database * **provisioningState**: 'Accepted' | 'Canceled' | 'Deleting' | 'Failed' | 'Provisioning' | 'Succeeded' | 'Updating' (ReadOnly): Provisioning state of the link at the time the operation was called +* **recipe**: [Recipe](#recipe): The recipe used to automatically deploy underlying infrastructure for a link +* **resourceProvisioning**: 'manual' | 'recipe': Specifies how the underlying service/resource is provisioned and managed. Available values are 'recipe', where Radius manages the lifecycle of the resource through a Recipe, and 'manual', where a user manages the resource and provides the values. +* **resources**: [ResourceReference](#resourcereference)[]: List of the resource IDs that support the MongoDB resource * **secrets**: [MongoDatabaseSecrets](#mongodatabasesecrets): The secret values for the given MongoDatabase resource * **status**: [ResourceStatus](#resourcestatus) (ReadOnly): Status of a resource. -### RecipeMongoDatabaseProperties -#### Properties -* **database**: string (ReadOnly): Database name of the target Mongo database -* **host**: string: Host name of the target Mongo database -* **mode**: 'recipe' (Required): Discriminator property for MongoDatabaseProperties. -* **port**: int: Port value of the target Mongo database -* **recipe**: [Recipe](#recipe) (Required): The recipe used to automatically deploy underlying infrastructure for a link - -### ResourceMongoDatabaseProperties -#### Properties -* **database**: string (ReadOnly): Database name of the target Mongo database -* **host**: string: Host name of the target Mongo database -* **mode**: 'resource' (Required): Discriminator property for MongoDatabaseProperties. -* **port**: int: Port value of the target Mongo database -* **resource**: string (Required): Fully qualified resource ID of a supported resource with Mongo API to use for this portable resource +* **username**: string: Username to use when connecting to the target Mongo database -### ValuesMongoDatabaseProperties -#### Properties -* **database**: string (ReadOnly): Database name of the target Mongo database -* **host**: string (Required): Host name of the target Mongo database -* **mode**: 'values' (Required): Discriminator property for MongoDatabaseProperties. -* **port**: int (Required): Port value of the target Mongo database +## Recipe +### Properties +* **name**: string (Required): The name of the recipe within the environment to use +* **parameters**: any: Any object +## ResourceReference +### Properties +* **id**: string (Required): Resource id of an existing resource ## MongoDatabaseSecrets ### Properties * **connectionString**: string: Connection string used to connect to the target Mongo database * **password**: string: Password to use when connecting to the target Mongo database -* **username**: string: Username to use when connecting to the target Mongo database ## ResourceStatus ### Properties * **outputResources**: any[]: Properties of an output resource -## Recipe -### Properties -* **name**: string (Required): The name of the recipe within the environment to use -* **parameters**: any: Any object - ## SystemData ### Properties * **createdAt**: string: The timestamp of resource creation (UTC). @@ -109,42 +99,25 @@ * **Additional Properties Type**: string ## RedisCacheProperties -* **Discriminator**: mode - -### Base Properties +### Properties * **application**: string: Fully qualified resource ID for the application that the link is consumed by * **environment**: string (Required): Fully qualified resource ID for the environment that the link is linked to +* **host**: string: The host name of the target Redis cache +* **port**: int: The port value of the target Redis cache * **provisioningState**: 'Accepted' | 'Canceled' | 'Deleting' | 'Failed' | 'Provisioning' | 'Succeeded' | 'Updating' (ReadOnly): Provisioning state of the link at the time the operation was called +* **recipe**: [Recipe](#recipe): The recipe used to automatically deploy underlying infrastructure for a link +* **resourceProvisioning**: 'manual' | 'recipe': Specifies how the underlying service/resource is provisioned and managed. Available values are 'recipe', where Radius manages the lifecycle of the resource through a Recipe, and 'manual', where a user manages the resource and provides the values. +* **resources**: [ResourceReference](#resourcereference)[]: List of the resource IDs that support the Redis resource * **secrets**: [RedisCacheSecrets](#rediscachesecrets): The secret values for the given RedisCache resource * **status**: [ResourceStatus](#resourcestatus) (ReadOnly): Status of a resource. -### RecipeRedisCacheProperties -#### Properties -* **host**: string: The host name of the target Redis cache -* **mode**: 'recipe' (Required): Discriminator property for RedisCacheProperties. -* **port**: int: The port value of the target Redis cache -* **recipe**: [Recipe](#recipe) (Required): The recipe used to automatically deploy underlying infrastructure for a link -* **username**: string (ReadOnly): The username for Redis cache - -### ResourceRedisCacheProperties -#### Properties -* **host**: string: The host name of the target Redis cache -* **mode**: 'resource' (Required): Discriminator property for RedisCacheProperties. -* **port**: int: The port value of the target Redis cache -* **resource**: string (Required): Fully qualified resource ID of a supported resource with Redis API to use for this portable resource -* **username**: string (ReadOnly): The username for Redis cache - -### ValuesRedisCacheProperties -#### Properties -* **host**: string (Required): The host name of the target Redis cache -* **mode**: 'values' (Required): Discriminator property for RedisCacheProperties. -* **port**: int (Required): The port value of the target Redis cache -* **username**: string (ReadOnly): The username for Redis cache - +* **tls**: bool: Specifies whether to enable SSL connections to the Redis cache +* **username**: string: The username for Redis cache ## RedisCacheSecrets ### Properties * **connectionString**: string: The connection string used to connect to the Redis cache * **password**: string: The password for this Redis cache instance +* **url**: string: The URL used to connect to the Redis cache ## TrackedResourceTags ### Properties @@ -152,33 +125,24 @@ * **Additional Properties Type**: string ## SqlDatabaseProperties -* **Discriminator**: mode - -### Base Properties +### Properties * **application**: string: Fully qualified resource ID for the application that the link is consumed by +* **database**: string: The name of the SQL database. * **environment**: string (Required): Fully qualified resource ID for the environment that the link is linked to +* **port**: int: Port value of the target SQL database * **provisioningState**: 'Accepted' | 'Canceled' | 'Deleting' | 'Failed' | 'Provisioning' | 'Succeeded' | 'Updating' (ReadOnly): Provisioning state of the link at the time the operation was called +* **recipe**: [Recipe](#recipe): The recipe used to automatically deploy underlying infrastructure for a link +* **resourceProvisioning**: 'manual' | 'recipe': Specifies how the underlying service/resource is provisioned and managed. Available values are 'recipe', where Radius manages the lifecycle of the resource through a Recipe, and 'manual', where a user manages the resource and provides the values. +* **resources**: [ResourceReference](#resourcereference)[]: List of the resource IDs that support the SQL Database resource +* **secrets**: [SqlDatabaseSecrets](#sqldatabasesecrets): The secret values for the given SQL Database resource +* **server**: string: The fully qualified domain name of the SQL database. * **status**: [ResourceStatus](#resourcestatus) (ReadOnly): Status of a resource. -### RecipeSqlDatabaseProperties -#### Properties -* **database**: string: The name of the Sql database. -* **mode**: 'recipe' (Required): Discriminator property for SqlDatabaseProperties. -* **recipe**: [Recipe](#recipe) (Required): The recipe used to automatically deploy underlying infrastructure for a link -* **server**: string: The fully qualified domain name of the Sql database. - -### ResourceSqlDatabaseProperties -#### Properties -* **database**: string: The name of the Sql database. -* **mode**: 'resource' (Required): Discriminator property for SqlDatabaseProperties. -* **resource**: string (Required): Fully qualified resource ID of a supported resource with Sql API to use for this portable resource -* **server**: string: The fully qualified domain name of the Sql database. - -### ValuesSqlDatabaseProperties -#### Properties -* **database**: string (Required): The name of the Sql database. -* **mode**: 'values' (Required): Discriminator property for SqlDatabaseProperties. -* **server**: string (Required): The fully qualified domain name of the Sql database. +* **username**: string: Username to use when connecting to the target SQL database +## SqlDatabaseSecrets +### Properties +* **connectionString**: string: Connection string used to connect to the target SQL database +* **password**: string: Password to use when connecting to the target SQL database ## TrackedResourceTags ### Properties @@ -189,10 +153,15 @@ ### Properties * **connectionString**: string (ReadOnly): Connection string used to connect to the target Mongo database * **password**: string (ReadOnly): Password to use when connecting to the target Mongo database -* **username**: string (ReadOnly): Username to use when connecting to the target Mongo database ## RedisCacheListSecretsResult ### Properties * **connectionString**: string (ReadOnly): The connection string used to connect to the Redis cache * **password**: string (ReadOnly): The password for this Redis cache instance +* **url**: string (ReadOnly): The URL used to connect to the Redis cache + +## SqlDatabaseListSecretsResult +### Properties +* **connectionString**: string (ReadOnly): Connection string used to connect to the target SQL database +* **password**: string (ReadOnly): Password to use when connecting to the target SQL database diff --git a/src/Bicep.Types.Radius/generated/index.json b/src/Bicep.Types.Radius/generated/index.json index 86bcf00de..5902cc7e5 100644 --- a/src/Bicep.Types.Radius/generated/index.json +++ b/src/Bicep.Types.Radius/generated/index.json @@ -1 +1 @@ -{"Resources":{"Applications.Core/environments@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":51},"Applications.Core/applications@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":75},"Applications.Core/httpRoutes@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":89},"Applications.Core/gateways@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":110},"Applications.Core/containers@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":175},"Applications.Core/volumes@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":212},"Applications.Core/secretStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":235},"Applications.Core/extenders@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":250},"Applications.Dapr/pubSubBrokers@2022-03-15-privatepreview":{"RelativePath":"applications/applications.dapr/2022-03-15-privatepreview/types.json","Index":40},"Applications.Dapr/secretStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.dapr/2022-03-15-privatepreview/types.json","Index":57},"Applications.Dapr/stateStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.dapr/2022-03-15-privatepreview/types.json","Index":75},"Applications.Datastores/mongoDatabases@2022-03-15-privatepreview":{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":42},"Applications.Datastores/redisCaches@2022-03-15-privatepreview":{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":63},"Applications.Datastores/sqlDatabases@2022-03-15-privatepreview":{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":83},"Applications.Link/daprPubSubBrokers@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":40},"Applications.Link/daprSecretStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":57},"Applications.Link/daprStateStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":75},"Applications.Link/mongoDatabases@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":94},"Applications.Link/rabbitMQMessageQueues@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":113},"Applications.Link/redisCaches@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":132},"Applications.Link/sqlDatabases@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":151},"Applications.Link/extenders@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":169},"Applications.Messaging/rabbitMQQueues@2022-03-15-privatepreview":{"RelativePath":"applications/applications.messaging/2022-03-15-privatepreview/types.json","Index":41}},"Functions":{"applications.core/secretstores":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":256}]},"applications.core/extenders":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":258}]},"applications.datastores/mongodatabases":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":85}]},"applications.datastores/rediscaches":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":87}]},"applications.link/mongodatabases":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":171}]},"applications.link/rabbitmqmessagequeues":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":173}]},"applications.link/rediscaches":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":175}]},"applications.link/sqldatabases":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":177}]},"applications.link/extenders":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":179}]},"applications.messaging/rabbitmqqueues":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.messaging/2022-03-15-privatepreview/types.json","Index":43}]}}} \ No newline at end of file +{"Resources":{"Applications.Core/environments@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":51},"Applications.Core/applications@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":75},"Applications.Core/httpRoutes@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":89},"Applications.Core/gateways@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":110},"Applications.Core/containers@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":175},"Applications.Core/volumes@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":212},"Applications.Core/secretStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":235},"Applications.Core/extenders@2022-03-15-privatepreview":{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":250},"Applications.Dapr/pubSubBrokers@2022-03-15-privatepreview":{"RelativePath":"applications/applications.dapr/2022-03-15-privatepreview/types.json","Index":40},"Applications.Dapr/secretStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.dapr/2022-03-15-privatepreview/types.json","Index":57},"Applications.Dapr/stateStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.dapr/2022-03-15-privatepreview/types.json","Index":75},"Applications.Datastores/mongoDatabases@2022-03-15-privatepreview":{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":41},"Applications.Datastores/redisCaches@2022-03-15-privatepreview":{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":60},"Applications.Datastores/sqlDatabases@2022-03-15-privatepreview":{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":79},"Applications.Link/daprPubSubBrokers@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":40},"Applications.Link/daprSecretStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":57},"Applications.Link/daprStateStores@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":75},"Applications.Link/mongoDatabases@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":94},"Applications.Link/rabbitMQMessageQueues@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":113},"Applications.Link/redisCaches@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":132},"Applications.Link/sqlDatabases@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":151},"Applications.Link/extenders@2022-03-15-privatepreview":{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":169},"Applications.Messaging/rabbitMQQueues@2022-03-15-privatepreview":{"RelativePath":"applications/applications.messaging/2022-03-15-privatepreview/types.json","Index":41}},"Functions":{"applications.core/secretstores":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":256}]},"applications.core/extenders":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.core/2022-03-15-privatepreview/types.json","Index":258}]},"applications.datastores/mongodatabases":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":81}]},"applications.datastores/rediscaches":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":83}]},"applications.datastores/sqldatabases":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.datastores/2022-03-15-privatepreview/types.json","Index":85}]},"applications.link/mongodatabases":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":171}]},"applications.link/rabbitmqmessagequeues":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":173}]},"applications.link/rediscaches":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":175}]},"applications.link/sqldatabases":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":177}]},"applications.link/extenders":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.link/2022-03-15-privatepreview/types.json","Index":179}]},"applications.messaging/rabbitmqqueues":{"2022-03-15-privatepreview":[{"RelativePath":"applications/applications.messaging/2022-03-15-privatepreview/types.json","Index":43}]}}} \ No newline at end of file