1. Packages
  2. Spotinst
  3. API Docs
  4. azure
  5. OceanNpVirtualNodeGroup
Spotinst v3.55.0 published on Wednesday, Oct 4, 2023 by Pulumi

spotinst.azure.OceanNpVirtualNodeGroup

Explore with Pulumi AI

spotinst logo
Spotinst v3.55.0 published on Wednesday, Oct 4, 2023 by Pulumi

    Create OceanNpVirtualNodeGroup Resource

    new OceanNpVirtualNodeGroup(name: string, args: OceanNpVirtualNodeGroupArgs, opts?: CustomResourceOptions);
    @overload
    def OceanNpVirtualNodeGroup(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                availability_zones: Optional[Sequence[str]] = None,
                                enable_node_public_ip: Optional[bool] = None,
                                fallback_to_ondemand: Optional[bool] = None,
                                filters: Optional[OceanNpVirtualNodeGroupFiltersArgs] = None,
                                headrooms: Optional[Sequence[OceanNpVirtualNodeGroupHeadroomArgs]] = None,
                                kubernetes_version: Optional[str] = None,
                                labels: Optional[Mapping[str, Any]] = None,
                                max_count: Optional[int] = None,
                                max_pods_per_node: Optional[int] = None,
                                min_count: Optional[int] = None,
                                name: Optional[str] = None,
                                ocean_id: Optional[str] = None,
                                os_disk_size_gb: Optional[int] = None,
                                os_disk_type: Optional[str] = None,
                                os_sku: Optional[str] = None,
                                os_type: Optional[str] = None,
                                spot_percentage: Optional[int] = None,
                                tags: Optional[Mapping[str, Any]] = None,
                                taints: Optional[Sequence[OceanNpVirtualNodeGroupTaintArgs]] = None)
    @overload
    def OceanNpVirtualNodeGroup(resource_name: str,
                                args: OceanNpVirtualNodeGroupArgs,
                                opts: Optional[ResourceOptions] = None)
    func NewOceanNpVirtualNodeGroup(ctx *Context, name string, args OceanNpVirtualNodeGroupArgs, opts ...ResourceOption) (*OceanNpVirtualNodeGroup, error)
    public OceanNpVirtualNodeGroup(string name, OceanNpVirtualNodeGroupArgs args, CustomResourceOptions? opts = null)
    public OceanNpVirtualNodeGroup(String name, OceanNpVirtualNodeGroupArgs args)
    public OceanNpVirtualNodeGroup(String name, OceanNpVirtualNodeGroupArgs args, CustomResourceOptions options)
    
    type: spotinst:azure:OceanNpVirtualNodeGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args OceanNpVirtualNodeGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OceanNpVirtualNodeGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OceanNpVirtualNodeGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OceanNpVirtualNodeGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OceanNpVirtualNodeGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OceanNpVirtualNodeGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The OceanNpVirtualNodeGroup resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OceanNpVirtualNodeGroup resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing OceanNpVirtualNodeGroup Resource

    Get an existing OceanNpVirtualNodeGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OceanNpVirtualNodeGroupState, opts?: CustomResourceOptions): OceanNpVirtualNodeGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zones: Optional[Sequence[str]] = None,
            enable_node_public_ip: Optional[bool] = None,
            fallback_to_ondemand: Optional[bool] = None,
            filters: Optional[OceanNpVirtualNodeGroupFiltersArgs] = None,
            headrooms: Optional[Sequence[OceanNpVirtualNodeGroupHeadroomArgs]] = None,
            kubernetes_version: Optional[str] = None,
            labels: Optional[Mapping[str, Any]] = None,
            max_count: Optional[int] = None,
            max_pods_per_node: Optional[int] = None,
            min_count: Optional[int] = None,
            name: Optional[str] = None,
            ocean_id: Optional[str] = None,
            os_disk_size_gb: Optional[int] = None,
            os_disk_type: Optional[str] = None,
            os_sku: Optional[str] = None,
            os_type: Optional[str] = None,
            spot_percentage: Optional[int] = None,
            tags: Optional[Mapping[str, Any]] = None,
            taints: Optional[Sequence[OceanNpVirtualNodeGroupTaintArgs]] = None) -> OceanNpVirtualNodeGroup
    func GetOceanNpVirtualNodeGroup(ctx *Context, name string, id IDInput, state *OceanNpVirtualNodeGroupState, opts ...ResourceOption) (*OceanNpVirtualNodeGroup, error)
    public static OceanNpVirtualNodeGroup Get(string name, Input<string> id, OceanNpVirtualNodeGroupState? state, CustomResourceOptions? opts = null)
    public static OceanNpVirtualNodeGroup get(String name, Output<String> id, OceanNpVirtualNodeGroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:

    Supporting Types

    OceanNpVirtualNodeGroupFilters, OceanNpVirtualNodeGroupFiltersArgs

    Architectures List<string>
    ExcludeSeries List<string>
    MaxMemoryGib double
    MaxVcpu int
    MinMemoryGib double
    MinVcpu int
    Series List<string>
    Architectures []string
    ExcludeSeries []string
    MaxMemoryGib float64
    MaxVcpu int
    MinMemoryGib float64
    MinVcpu int
    Series []string
    architectures List<String>
    excludeSeries List<String>
    maxMemoryGib Double
    maxVcpu Integer
    minMemoryGib Double
    minVcpu Integer
    series List<String>
    architectures string[]
    excludeSeries string[]
    maxMemoryGib number
    maxVcpu number
    minMemoryGib number
    minVcpu number
    series string[]
    architectures Sequence[str]
    exclude_series Sequence[str]
    max_memory_gib float
    max_vcpu int
    min_memory_gib float
    min_vcpu int
    series Sequence[str]
    architectures List<String>
    excludeSeries List<String>
    maxMemoryGib Number
    maxVcpu Number
    minMemoryGib Number
    minVcpu Number
    series List<String>

    OceanNpVirtualNodeGroupHeadroom, OceanNpVirtualNodeGroupHeadroomArgs

    cpuPerUnit Integer
    gpuPerUnit Integer
    memoryPerUnit Integer
    numOfUnits Integer

    OceanNpVirtualNodeGroupTaint, OceanNpVirtualNodeGroupTaintArgs

    Effect string
    Key string
    Value string
    Effect string
    Key string
    Value string
    effect String
    key String
    value String
    effect string
    key string
    value string
    effect str
    key str
    value str
    effect String
    key String
    value String

    Package Details

    Repository
    Spotinst pulumi/pulumi-spotinst
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the spotinst Terraform Provider.

    spotinst logo
    Spotinst v3.55.0 published on Wednesday, Oct 4, 2023 by Pulumi