1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. FmupdateDiskquota
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.FmupdateDiskquota

Explore with Pulumi AI

Configure disk space available for use by the Upgrade Manager.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.FmupdateDiskquota("trname", {value: 1});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.FmupdateDiskquota("trname", value=1)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewFmupdateDiskquota(ctx, "trname", &fortimanager.FmupdateDiskquotaArgs{
			Value: pulumi.Float64(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.FmupdateDiskquota("trname", new()
    {
        Value = 1,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.FmupdateDiskquota;
import com.pulumi.fortimanager.FmupdateDiskquotaArgs;
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 trname = new FmupdateDiskquota("trname", FmupdateDiskquotaArgs.builder()
            .value("1")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:FmupdateDiskquota
    properties:
      value: '1'
Copy

Create FmupdateDiskquota Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new FmupdateDiskquota(name: string, args?: FmupdateDiskquotaArgs, opts?: CustomResourceOptions);
@overload
def FmupdateDiskquota(resource_name: str,
                      args: Optional[FmupdateDiskquotaArgs] = None,
                      opts: Optional[ResourceOptions] = None)

@overload
def FmupdateDiskquota(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      fmupdate_diskquota_id: Optional[str] = None,
                      value: Optional[float] = None)
func NewFmupdateDiskquota(ctx *Context, name string, args *FmupdateDiskquotaArgs, opts ...ResourceOption) (*FmupdateDiskquota, error)
public FmupdateDiskquota(string name, FmupdateDiskquotaArgs? args = null, CustomResourceOptions? opts = null)
public FmupdateDiskquota(String name, FmupdateDiskquotaArgs args)
public FmupdateDiskquota(String name, FmupdateDiskquotaArgs args, CustomResourceOptions options)
type: fortimanager:FmupdateDiskquota
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args FmupdateDiskquotaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args FmupdateDiskquotaArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args FmupdateDiskquotaArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args FmupdateDiskquotaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. FmupdateDiskquotaArgs
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 fmupdateDiskquotaResource = new Fortimanager.FmupdateDiskquota("fmupdateDiskquotaResource", new()
{
    FmupdateDiskquotaId = "string",
    Value = 0,
});
Copy
example, err := fortimanager.NewFmupdateDiskquota(ctx, "fmupdateDiskquotaResource", &fortimanager.FmupdateDiskquotaArgs{
FmupdateDiskquotaId: pulumi.String("string"),
Value: pulumi.Float64(0),
})
Copy
var fmupdateDiskquotaResource = new FmupdateDiskquota("fmupdateDiskquotaResource", FmupdateDiskquotaArgs.builder()
    .fmupdateDiskquotaId("string")
    .value(0)
    .build());
Copy
fmupdate_diskquota_resource = fortimanager.FmupdateDiskquota("fmupdateDiskquotaResource",
    fmupdate_diskquota_id="string",
    value=0)
Copy
const fmupdateDiskquotaResource = new fortimanager.FmupdateDiskquota("fmupdateDiskquotaResource", {
    fmupdateDiskquotaId: "string",
    value: 0,
});
Copy
type: fortimanager:FmupdateDiskquota
properties:
    fmupdateDiskquotaId: string
    value: 0
Copy

FmupdateDiskquota 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 FmupdateDiskquota resource accepts the following input properties:

FmupdateDiskquotaId string
an identifier for the resource.
Value double
Configure the size of the Upgrade Manager disk quota, in megabytes.
FmupdateDiskquotaId string
an identifier for the resource.
Value float64
Configure the size of the Upgrade Manager disk quota, in megabytes.
fmupdateDiskquotaId String
an identifier for the resource.
value Double
Configure the size of the Upgrade Manager disk quota, in megabytes.
fmupdateDiskquotaId string
an identifier for the resource.
value number
Configure the size of the Upgrade Manager disk quota, in megabytes.
fmupdate_diskquota_id str
an identifier for the resource.
value float
Configure the size of the Upgrade Manager disk quota, in megabytes.
fmupdateDiskquotaId String
an identifier for the resource.
value Number
Configure the size of the Upgrade Manager disk quota, in megabytes.

Outputs

All input properties are implicitly available as output properties. Additionally, the FmupdateDiskquota 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 FmupdateDiskquota Resource

Get an existing FmupdateDiskquota 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?: FmupdateDiskquotaState, opts?: CustomResourceOptions): FmupdateDiskquota
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        fmupdate_diskquota_id: Optional[str] = None,
        value: Optional[float] = None) -> FmupdateDiskquota
func GetFmupdateDiskquota(ctx *Context, name string, id IDInput, state *FmupdateDiskquotaState, opts ...ResourceOption) (*FmupdateDiskquota, error)
public static FmupdateDiskquota Get(string name, Input<string> id, FmupdateDiskquotaState? state, CustomResourceOptions? opts = null)
public static FmupdateDiskquota get(String name, Output<String> id, FmupdateDiskquotaState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:FmupdateDiskquota    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
FmupdateDiskquotaId string
an identifier for the resource.
Value double
Configure the size of the Upgrade Manager disk quota, in megabytes.
FmupdateDiskquotaId string
an identifier for the resource.
Value float64
Configure the size of the Upgrade Manager disk quota, in megabytes.
fmupdateDiskquotaId String
an identifier for the resource.
value Double
Configure the size of the Upgrade Manager disk quota, in megabytes.
fmupdateDiskquotaId string
an identifier for the resource.
value number
Configure the size of the Upgrade Manager disk quota, in megabytes.
fmupdate_diskquota_id str
an identifier for the resource.
value float
Configure the size of the Upgrade Manager disk quota, in megabytes.
fmupdateDiskquotaId String
an identifier for the resource.
value Number
Configure the size of the Upgrade Manager disk quota, in megabytes.

Import

Fmupdate DiskQuota can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/fmupdateDiskquota:FmupdateDiskquota labelname FmupdateDiskQuota
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.