DeploymentListResource constructor

DeploymentListResource(
  1. String name, {
  2. DeploymentListAppsV1beta1Args? args,
  3. CustomResourceOptions? options,
})

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

Implementation

DeploymentListResource(
  String name, {
  DeploymentListAppsV1beta1Args? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:apps/v1beta1:DeploymentList',
        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>()); });
}