1. Packages
  2. Vsphere Provider
  3. API Docs
  4. OfflineSoftwareDepot
vSphere v4.13.2 published on Wednesday, Apr 9, 2025 by Pulumi

vsphere.OfflineSoftwareDepot

Explore with Pulumi AI

Provides a VMware vSphere offline software depot resource.

Example Usage

Create OfflineSoftwareDepot Resource

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

Constructor syntax

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

@overload
def OfflineSoftwareDepot(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         location: Optional[str] = None)
func NewOfflineSoftwareDepot(ctx *Context, name string, args OfflineSoftwareDepotArgs, opts ...ResourceOption) (*OfflineSoftwareDepot, error)
public OfflineSoftwareDepot(string name, OfflineSoftwareDepotArgs args, CustomResourceOptions? opts = null)
public OfflineSoftwareDepot(String name, OfflineSoftwareDepotArgs args)
public OfflineSoftwareDepot(String name, OfflineSoftwareDepotArgs args, CustomResourceOptions options)
type: vsphere:OfflineSoftwareDepot
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 This property is required. OfflineSoftwareDepotArgs
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 This property is required. OfflineSoftwareDepotArgs
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 This property is required. OfflineSoftwareDepotArgs
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 This property is required. OfflineSoftwareDepotArgs
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. OfflineSoftwareDepotArgs
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 offlineSoftwareDepotResource = new VSphere.OfflineSoftwareDepot("offlineSoftwareDepotResource", new()
{
    Location = "string",
});
Copy
example, err := vsphere.NewOfflineSoftwareDepot(ctx, "offlineSoftwareDepotResource", &vsphere.OfflineSoftwareDepotArgs{
	Location: pulumi.String("string"),
})
Copy
var offlineSoftwareDepotResource = new OfflineSoftwareDepot("offlineSoftwareDepotResource", OfflineSoftwareDepotArgs.builder()
    .location("string")
    .build());
Copy
offline_software_depot_resource = vsphere.OfflineSoftwareDepot("offlineSoftwareDepotResource", location="string")
Copy
const offlineSoftwareDepotResource = new vsphere.OfflineSoftwareDepot("offlineSoftwareDepotResource", {location: "string"});
Copy
type: vsphere:OfflineSoftwareDepot
properties:
    location: string
Copy

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

Location
This property is required.
Changes to this property will trigger replacement.
string
The URL where the depot source is hosted.
Location
This property is required.
Changes to this property will trigger replacement.
string
The URL where the depot source is hosted.
location
This property is required.
Changes to this property will trigger replacement.
String
The URL where the depot source is hosted.
location
This property is required.
Changes to this property will trigger replacement.
string
The URL where the depot source is hosted.
location
This property is required.
Changes to this property will trigger replacement.
str
The URL where the depot source is hosted.
location
This property is required.
Changes to this property will trigger replacement.
String
The URL where the depot source is hosted.

Outputs

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

Components List<Pulumi.VSphere.Outputs.OfflineSoftwareDepotComponent>
The list of custom components in the depot.
Id string
The provider-assigned unique ID for this managed resource.
Components []OfflineSoftwareDepotComponent
The list of custom components in the depot.
Id string
The provider-assigned unique ID for this managed resource.
components List<OfflineSoftwareDepotComponent>
The list of custom components in the depot.
id String
The provider-assigned unique ID for this managed resource.
components OfflineSoftwareDepotComponent[]
The list of custom components in the depot.
id string
The provider-assigned unique ID for this managed resource.
components Sequence[OfflineSoftwareDepotComponent]
The list of custom components in the depot.
id str
The provider-assigned unique ID for this managed resource.
components List<Property Map>
The list of custom components in the depot.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing OfflineSoftwareDepot Resource

Get an existing OfflineSoftwareDepot 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?: OfflineSoftwareDepotState, opts?: CustomResourceOptions): OfflineSoftwareDepot
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        components: Optional[Sequence[OfflineSoftwareDepotComponentArgs]] = None,
        location: Optional[str] = None) -> OfflineSoftwareDepot
func GetOfflineSoftwareDepot(ctx *Context, name string, id IDInput, state *OfflineSoftwareDepotState, opts ...ResourceOption) (*OfflineSoftwareDepot, error)
public static OfflineSoftwareDepot Get(string name, Input<string> id, OfflineSoftwareDepotState? state, CustomResourceOptions? opts = null)
public static OfflineSoftwareDepot get(String name, Output<String> id, OfflineSoftwareDepotState state, CustomResourceOptions options)
resources:  _:    type: vsphere:OfflineSoftwareDepot    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:
Components List<Pulumi.VSphere.Inputs.OfflineSoftwareDepotComponent>
The list of custom components in the depot.
Location Changes to this property will trigger replacement. string
The URL where the depot source is hosted.
Components []OfflineSoftwareDepotComponentArgs
The list of custom components in the depot.
Location Changes to this property will trigger replacement. string
The URL where the depot source is hosted.
components List<OfflineSoftwareDepotComponent>
The list of custom components in the depot.
location Changes to this property will trigger replacement. String
The URL where the depot source is hosted.
components OfflineSoftwareDepotComponent[]
The list of custom components in the depot.
location Changes to this property will trigger replacement. string
The URL where the depot source is hosted.
components Sequence[OfflineSoftwareDepotComponentArgs]
The list of custom components in the depot.
location Changes to this property will trigger replacement. str
The URL where the depot source is hosted.
components List<Property Map>
The list of custom components in the depot.
location Changes to this property will trigger replacement. String
The URL where the depot source is hosted.

Supporting Types

OfflineSoftwareDepotComponent
, OfflineSoftwareDepotComponentArgs

DisplayName string
The name of the component. Useful for easier identification.
Key string
The identifier of the component.
Versions List<string>
The list of available versions of the component.
DisplayName string
The name of the component. Useful for easier identification.
Key string
The identifier of the component.
Versions []string
The list of available versions of the component.
displayName String
The name of the component. Useful for easier identification.
key String
The identifier of the component.
versions List<String>
The list of available versions of the component.
displayName string
The name of the component. Useful for easier identification.
key string
The identifier of the component.
versions string[]
The list of available versions of the component.
display_name str
The name of the component. Useful for easier identification.
key str
The identifier of the component.
versions Sequence[str]
The list of available versions of the component.
displayName String
The name of the component. Useful for easier identification.
key String
The identifier of the component.
versions List<String>
The list of available versions of the component.

Package Details

Repository
vSphere pulumi/pulumi-vsphere
License
Apache-2.0
Notes
This Pulumi package is based on the vsphere Terraform Provider.