Skip to content

Commit

Permalink
Update dependency hashicorp/terraform-provider-azuread to v2.33.0 (#14)
Browse files Browse the repository at this point in the history
Signed-off-by: tflibsonnet-ci <120686569+tflibsonnet-ci@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
  • Loading branch information
tflibsonnet-ci and renovate[bot] authored Jan 19, 2023
1 parent 7997a6d commit 94327a4
Show file tree
Hide file tree
Showing 6 changed files with 335 additions and 2 deletions.
1 change: 1 addition & 0 deletions 2.x/_gen/main.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
service_principal_claims_mapping_policy_assignment: (import 'resources/service_principal_claims_mapping_policy_assignment.libsonnet'),
service_principal_delegated_permission_grant: (import 'resources/service_principal_delegated_permission_grant.libsonnet'),
service_principal_password: (import 'resources/service_principal_password.libsonnet'),
service_principal_token_signing_certificate: (import 'resources/service_principal_token_signing_certificate.libsonnet'),
synchronization_job: (import 'resources/synchronization_job.libsonnet'),
synchronization_secret: (import 'resources/synchronization_secret.libsonnet'),
user: (import 'resources/user.libsonnet'),
Expand Down
18 changes: 16 additions & 2 deletions 2.x/_gen/resources/application.libsonnet

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
local tf = (import 'github.com/tf-libsonnet/core/main.libsonnet');
local d = (import 'github.com/jsonnet-libs/docsonnet/doc-util/main.libsonnet');
{
'#':: d.pkg(name='service_principal_token_signing_certificate', url='', help='`service_principal_token_signing_certificate` represents the `azuread_service_principal_token_signing_certificate` Terraform resource.\n\n\n\nThis package contains functions and utilities for setting up the resource using Jsonnet code.\n'),
'#new':: d.fn(help="\n`azuread.service_principal_token_signing_certificate.new` injects a new `azuread_service_principal_token_signing_certificate` Terraform `resource`\nblock into the root module document.\n\nAdditionally, this inserts a private function into the `_ref` attribute that generates references to attributes of the\nresource. For example, if you added a new instance to the root using:\n\n # arguments omitted for brevity\n azuread.service_principal_token_signing_certificate.new('some_id')\n\nYou can get the reference to the `id` field of the created `azuread.service_principal_token_signing_certificate` using the reference:\n\n $._ref.azuread_service_principal_token_signing_certificate.some_id.get('id')\n\nThis is the same as directly entering `\"${ azuread_service_principal_token_signing_certificate.some_id.id }\"` as the value.\n\nNOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use `super`, `self`,\nor `$` to refer to the root object. Instead, make an explicit outer object using `local`.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block.\n - `display_name` (`string`): A friendly name for the certificate When `null`, the `display_name` field will be omitted from the resulting object.\n - `end_date` (`string`): The end date until which the certificate is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Default is 3 years from current date. When `null`, the `end_date` field will be omitted from the resulting object.\n - `service_principal_id` (`string`): The object ID of the service principal for which this certificate should be created\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting resource block. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azuread.service_principal_token_signing_certificate.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n- A mixin object that injects the new resource into the root Terraform configuration.\n", args=[]),
new(
resourceLabel,
service_principal_id,
display_name=null,
end_date=null,
timeouts=null,
_meta={}
):: tf.withResource(
type='azuread_service_principal_token_signing_certificate',
label=resourceLabel,
attrs=self.newAttrs(
display_name=display_name,
end_date=end_date,
service_principal_id=service_principal_id,
timeouts=timeouts
),
_meta=_meta
),
'#newAttrs':: d.fn(help='\n`azuread.service_principal_token_signing_certificate.newAttrs` constructs a new object with attributes and blocks configured for the `service_principal_token_signing_certificate`\nTerraform resource.\n\nUnlike [azuread.service_principal_token_signing_certificate.new](#fn-new), this function will not inject the `resource`\nblock into the root Terraform document. Instead, this must be passed in as the `attrs` argument for the\n[tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) function to build a complete block.\n\nThis is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to\ninjecting into a complete block.\n\n**Args**:\n - `display_name` (`string`): A friendly name for the certificate When `null`, the `display_name` field will be omitted from the resulting object.\n - `end_date` (`string`): The end date until which the certificate is valid, formatted as an RFC3339 date string (e.g. `2018-01-01T01:02:03Z`). Default is 3 years from current date. When `null`, the `end_date` field will be omitted from the resulting object.\n - `service_principal_id` (`string`): The object ID of the service principal for which this certificate should be created\n - `timeouts` (`obj`): Set the `timeouts` field on the resulting object. When `null`, the `timeouts` sub block will be omitted from the resulting object. When setting the sub block, it is recommended to construct the object using the [azuread.service_principal_token_signing_certificate.timeouts.new](#fn-timeoutsnew) constructor.\n\n**Returns**:\n - An attribute object that can be used with [tf.withResource](https://github.com/tf-libsonnet/core/tree/main/docs#fn-withresource) to construct a new `service_principal_token_signing_certificate` resource into the root Terraform configuration.\n', args=[]),
newAttrs(
service_principal_id,
display_name=null,
end_date=null,
timeouts=null
):: std.prune(a={
display_name: display_name,
end_date: end_date,
service_principal_id: service_principal_id,
timeouts: timeouts,
}),
timeouts:: {
'#new':: d.fn(help='\n`azuread.service_principal_token_signing_certificate.timeouts.new` constructs a new object with attributes and blocks configured for the `timeouts`\nTerraform sub block.\n\n\n\n**Args**:\n - `create` (`string`): Set the `create` field on the resulting object. When `null`, the `create` field will be omitted from the resulting object.\n - `delete` (`string`): Set the `delete` field on the resulting object. When `null`, the `delete` field will be omitted from the resulting object.\n - `read` (`string`): Set the `read` field on the resulting object. When `null`, the `read` field will be omitted from the resulting object.\n - `update` (`string`): Set the `update` field on the resulting object. When `null`, the `update` field will be omitted from the resulting object.\n\n**Returns**:\n - An attribute object that represents the `timeouts` sub block.\n', args=[]),
new(
create=null,
delete=null,
read=null,
update=null
):: std.prune(a={
create: create,
delete: delete,
read: read,
update: update,
}),
},
'#withDisplayName':: d.fn(help='`azuread.string.withDisplayName` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the display_name field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `display_name` field.\n', args=[]),
withDisplayName(resourceLabel, value): {
resource+: {
azuread_service_principal_token_signing_certificate+: {
[resourceLabel]+: {
display_name: value,
},
},
},
},
'#withEndDate':: d.fn(help='`azuread.string.withEndDate` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the end_date field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `end_date` field.\n', args=[]),
withEndDate(resourceLabel, value): {
resource+: {
azuread_service_principal_token_signing_certificate+: {
[resourceLabel]+: {
end_date: value,
},
},
},
},
'#withServicePrincipalId':: d.fn(help='`azuread.string.withServicePrincipalId` constructs a mixin object that can be merged into the `string`\nTerraform resource block to set or update the service_principal_id field.\n\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`string`): The value to set for the `service_principal_id` field.\n', args=[]),
withServicePrincipalId(resourceLabel, value): {
resource+: {
azuread_service_principal_token_signing_certificate+: {
[resourceLabel]+: {
service_principal_id: value,
},
},
},
},
'#withTimeouts':: d.fn(help='`azuread.obj.withTimeouts` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will replace the map with the passed in `value`. If you wish to instead merge the\npassed in value to the existing map, use the [azuread.obj.withTimeoutsMixin](TODO) function.\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]),
withTimeouts(resourceLabel, value): {
resource+: {
azuread_service_principal_token_signing_certificate+: {
[resourceLabel]+: {
timeouts: value,
},
},
},
},
'#withTimeoutsMixin':: d.fn(help='`azuread.obj.withTimeoutsMixin` constructs a mixin object that can be merged into the `obj`\nTerraform resource block to set or update the timeouts field.\n\nThis function will merge the passed in value to the existing map. If you wish\nto instead replace the entire map with the passed in `value`, use the [azuread.obj.withTimeouts](TODO)\nfunction.\n\n\n**Args**:\n - `resourceLabel` (`string`): The name label of the block to update.\n - `value` (`obj`): The value to set for the `timeouts` field.\n', args=[]),
withTimeoutsMixin(resourceLabel, value): {
resource+: {
azuread_service_principal_token_signing_certificate+: {
[resourceLabel]+: {
timeouts+: value,
},
},
},
},
}
1 change: 1 addition & 0 deletions docs/2.x/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ project.
* [service_principal_claims_mapping_policy_assignment](service_principal_claims_mapping_policy_assignment.md)
* [service_principal_delegated_permission_grant](service_principal_delegated_permission_grant.md)
* [service_principal_password](service_principal_password.md)
* [service_principal_token_signing_certificate](service_principal_token_signing_certificate.md)
* [synchronization_job](synchronization_job.md)
* [synchronization_secret](synchronization_secret.md)
* [user](user.md)
19 changes: 19 additions & 0 deletions docs/2.x/application.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ This package contains functions and utilities for setting up the resource using
* [`fn withApiMixin()`](#fn-withapimixin)
* [`fn withAppRole()`](#fn-withapprole)
* [`fn withAppRoleMixin()`](#fn-withapprolemixin)
* [`fn withDescription()`](#fn-withdescription)
* [`fn withDeviceOnlyAuthEnabled()`](#fn-withdeviceonlyauthenabled)
* [`fn withDisplayName()`](#fn-withdisplayname)
* [`fn withFallbackPublicClientEnabled()`](#fn-withfallbackpublicclientenabled)
Expand Down Expand Up @@ -109,6 +110,7 @@ or `$` to refer to the root object. Instead, make an explicit outer object using

**Args**:
- `resourceLabel` (`string`): The name label of the block.
- `description` (`string`): Description of the application as shown to end users When `null`, the `description` field will be omitted from the resulting object.
- `device_only_auth_enabled` (`bool`): Specifies whether this application supports device authentication without a user. When `null`, the `device_only_auth_enabled` field will be omitted from the resulting object.
- `display_name` (`string`): The display name for the application
- `fallback_public_client_enabled` (`bool`): Specifies whether the application is a public client. Appropriate for apps using token grant flows that don&#39;t use a redirect URI When `null`, the `fallback_public_client_enabled` field will be omitted from the resulting object.
Expand Down Expand Up @@ -157,6 +159,7 @@ This is most useful when you need to preprocess the attributes with functions, c
injecting into a complete block.

**Args**:
- `description` (`string`): Description of the application as shown to end users When `null`, the `description` field will be omitted from the resulting object.
- `device_only_auth_enabled` (`bool`): Specifies whether this application supports device authentication without a user. When `null`, the `device_only_auth_enabled` field will be omitted from the resulting object.
- `display_name` (`string`): The display name for the application
- `fallback_public_client_enabled` (`bool`): Specifies whether the application is a public client. Appropriate for apps using token grant flows that don&#39;t use a redirect URI When `null`, the `fallback_public_client_enabled` field will be omitted from the resulting object.
Expand Down Expand Up @@ -261,6 +264,22 @@ function.
- `value` (`list[obj]`): The value to set for the `app_role` field.


### fn withDescription

```ts
withDescription()
```

`azuread.string.withDescription` constructs a mixin object that can be merged into the `string`
Terraform resource block to set or update the description field.



**Args**:
- `resourceLabel` (`string`): The name label of the block to update.
- `value` (`string`): The value to set for the `description` field.


### fn withDeviceOnlyAuthEnabled

```ts
Expand Down
Loading

0 comments on commit 94327a4

Please sign in to comment.