DeploymentListResource constructor
DeploymentListResource(
- String name, {
- DeploymentListAppsV1beta1Args? args,
- 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>()); });
}