示例#1
0
        private CustomResourceDefinitionSpec(
            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1Beta1.CustomResourceColumnDefinition> additionalPrinterColumns,

            Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1Beta1.CustomResourceConversion conversion,

            string group,

            Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1Beta1.CustomResourceDefinitionNames names,

            bool preserveUnknownFields,

            string scope,

            Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1Beta1.CustomResourceSubresources subresources,

            Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1Beta1.CustomResourceValidation validation,

            string version,

            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1Beta1.CustomResourceDefinitionVersion> versions)
        {
            AdditionalPrinterColumns = additionalPrinterColumns;
            Conversion            = conversion;
            Group                 = group;
            Names                 = names;
            PreserveUnknownFields = preserveUnknownFields;
            Scope                 = scope;
            Subresources          = subresources;
            Validation            = validation;
            Version               = version;
            Versions              = versions;
        }
示例#2
0
        private CustomResourceDefinitionStatus(
            Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1Beta1.CustomResourceDefinitionNames acceptedNames,

            ImmutableArray <Pulumi.Kubernetes.Types.Outputs.ApiExtensions.V1Beta1.CustomResourceDefinitionCondition> conditions,

            ImmutableArray <string> storedVersions)
        {
            AcceptedNames  = acceptedNames;
            Conditions     = conditions;
            StoredVersions = storedVersions;
        }