ServiceListCoreV1 constructor
ServiceListCoreV1(
- String name, {
- ServiceListArgs? args,
- CustomResourceOptions? options,
Creates a new ServiceListCoreV1.
name The Pulumi resource name.
args Arguments used to configure this ServiceListCoreV1. The set of arguments for ServiceList.
options Resource options controlling this resource's behavior.
Implementation
ServiceListCoreV1(
String name, {
ServiceListArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'kubernetes:core/v1:ServiceList',
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>()); });
}