EndpointsListCoreV1 constructor

EndpointsListCoreV1(
  1. String name, {
  2. EndpointsListArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new EndpointsListCoreV1. name The Pulumi resource name. args Arguments used to configure this EndpointsListCoreV1. The set of arguments for EndpointsList. options Resource options controlling this resource's behavior.

Implementation

EndpointsListCoreV1(
  String name, {
  EndpointsListArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:core/v1:EndpointsList',
        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>()); });
}