f5bigip.sys.Provision
Explore with Pulumi AI
f5bigip.sys.Provision
Manage BIG-IP module provisioning. This resource will only provision at the standard levels of Dedicated, Nominal, and Minimum.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
const gtm = new f5bigip.sys.Provision("gtm", {
name: "gtm",
cpuRatio: 0,
diskRatio: 0,
level: "nominal",
memoryRatio: 0,
});
import pulumi
import pulumi_f5bigip as f5bigip
gtm = f5bigip.sys.Provision("gtm",
name="gtm",
cpu_ratio=0,
disk_ratio=0,
level="nominal",
memory_ratio=0)
package main
import (
"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/sys"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sys.NewProvision(ctx, "gtm", &sys.ProvisionArgs{
Name: pulumi.String("gtm"),
CpuRatio: pulumi.Int(0),
DiskRatio: pulumi.Int(0),
Level: pulumi.String("nominal"),
MemoryRatio: pulumi.Int(0),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
return await Deployment.RunAsync(() =>
{
var gtm = new F5BigIP.Sys.Provision("gtm", new()
{
Name = "gtm",
CpuRatio = 0,
DiskRatio = 0,
Level = "nominal",
MemoryRatio = 0,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.f5bigip.sys.Provision;
import com.pulumi.f5bigip.sys.ProvisionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var gtm = new Provision("gtm", ProvisionArgs.builder()
.name("gtm")
.cpuRatio(0)
.diskRatio(0)
.level("nominal")
.memoryRatio(0)
.build());
}
}
resources:
gtm:
type: f5bigip:sys:Provision
properties:
name: gtm
cpuRatio: 0
diskRatio: 0
level: nominal
memoryRatio: 0
Create Provision Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provision(name: string, args: ProvisionArgs, opts?: CustomResourceOptions);
@overload
def Provision(resource_name: str,
args: ProvisionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provision(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
cpu_ratio: Optional[int] = None,
disk_ratio: Optional[int] = None,
full_path: Optional[str] = None,
level: Optional[str] = None,
memory_ratio: Optional[int] = None)
func NewProvision(ctx *Context, name string, args ProvisionArgs, opts ...ResourceOption) (*Provision, error)
public Provision(string name, ProvisionArgs args, CustomResourceOptions? opts = null)
public Provision(String name, ProvisionArgs args)
public Provision(String name, ProvisionArgs args, CustomResourceOptions options)
type: f5bigip:sys:Provision
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProvisionArgs
- 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 ProvisionArgs
- 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 ProvisionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProvisionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProvisionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var provisionResource = new F5BigIP.Sys.Provision("provisionResource", new()
{
Name = "string",
CpuRatio = 0,
DiskRatio = 0,
FullPath = "string",
Level = "string",
MemoryRatio = 0,
});
example, err := sys.NewProvision(ctx, "provisionResource", &sys.ProvisionArgs{
Name: pulumi.String("string"),
CpuRatio: pulumi.Int(0),
DiskRatio: pulumi.Int(0),
FullPath: pulumi.String("string"),
Level: pulumi.String("string"),
MemoryRatio: pulumi.Int(0),
})
var provisionResource = new Provision("provisionResource", ProvisionArgs.builder()
.name("string")
.cpuRatio(0)
.diskRatio(0)
.fullPath("string")
.level("string")
.memoryRatio(0)
.build());
provision_resource = f5bigip.sys.Provision("provisionResource",
name="string",
cpu_ratio=0,
disk_ratio=0,
full_path="string",
level="string",
memory_ratio=0)
const provisionResource = new f5bigip.sys.Provision("provisionResource", {
name: "string",
cpuRatio: 0,
diskRatio: 0,
fullPath: "string",
level: "string",
memoryRatio: 0,
});
type: f5bigip:sys:Provision
properties:
cpuRatio: 0
diskRatio: 0
fullPath: string
level: string
memoryRatio: 0
name: string
Provision Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provision resource accepts the following input properties:
- Name string
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- Cpu
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Disk
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Full
Path string - Level string
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- Memory
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Name string
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- Cpu
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Disk
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Full
Path string - Level string
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- Memory
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- name String
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- cpu
Ratio Integer - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- disk
Ratio Integer - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- full
Path String - level String
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- memory
Ratio Integer - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- name string
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- cpu
Ratio number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- disk
Ratio number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- full
Path string - level string
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- memory
Ratio number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- name str
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- cpu_
ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- disk_
ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- full_
path str - level str
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- memory_
ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- name String
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- cpu
Ratio Number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- disk
Ratio Number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- full
Path String - level String
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- memory
Ratio Number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
Outputs
All input properties are implicitly available as output properties. Additionally, the Provision 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 Provision Resource
Get an existing Provision 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?: ProvisionState, opts?: CustomResourceOptions): Provision
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cpu_ratio: Optional[int] = None,
disk_ratio: Optional[int] = None,
full_path: Optional[str] = None,
level: Optional[str] = None,
memory_ratio: Optional[int] = None,
name: Optional[str] = None) -> Provision
func GetProvision(ctx *Context, name string, id IDInput, state *ProvisionState, opts ...ResourceOption) (*Provision, error)
public static Provision Get(string name, Input<string> id, ProvisionState? state, CustomResourceOptions? opts = null)
public static Provision get(String name, Output<String> id, ProvisionState 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.
- Cpu
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Disk
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Full
Path string - Level string
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- Memory
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Name string
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- Cpu
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Disk
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Full
Path string - Level string
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- Memory
Ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- Name string
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- cpu
Ratio Integer - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- disk
Ratio Integer - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- full
Path String - level String
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- memory
Ratio Integer - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- name String
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- cpu
Ratio number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- disk
Ratio number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- full
Path string - level string
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- memory
Ratio number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- name string
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- cpu_
ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- disk_
ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- full_
path str - level str
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- memory_
ratio int - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- name str
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
- cpu
Ratio Number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- disk
Ratio Number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- full
Path String - level String
- Sets the provisioning level for the requested modules. Changing the level for one module may require modifying the level of another module. For example, changing one module to
dedicated
requires setting all others tonone
. Setting the level of a module tonone
means the module is not activated. default isnominal
possible options:- nominal
- minimum
- none
- dedicated
- memory
Ratio Number - Use this option only when the level option is set to custom.F5 Networks recommends that you do not modify this option. The default value is none
- name String
- Name of module to provision in BIG-IP.
possible options:
- afm
- am
- apm
- cgnat
- asm
- avr
- dos
- fps
- gtm
- ilx
- lc
- ltm
- pem
- sslo
- swg
- urldb
Package Details
- Repository
- f5 BIG-IP pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigip
Terraform Provider.