ServiceAccountListCoreV1 constructor
ServiceAccountListCoreV1(
- String name, {
- ServiceAccountListArgs? args,
- CustomResourceOptions? options,
Creates a new ServiceAccountListCoreV1.
name The Pulumi resource name.
args Arguments used to configure this ServiceAccountListCoreV1. The set of arguments for ServiceAccountList.
options Resource options controlling this resource's behavior.
Implementation
ServiceAccountListCoreV1(
String name, {
ServiceAccountListArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'kubernetes:core/v1:ServiceAccountList',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
apiVersion = registerOutput<String>('apiVersion');
items = registerOutput<List<Map<String, dynamic>>>('items');
kind = registerOutput<String>('kind');
metadata = registerOutput<ListMeta>('metadata', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ListMeta.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}