1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. ServiceOverridesV2
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.platform.ServiceOverridesV2

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Create ServiceOverridesV2 Resource

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

    Constructor syntax

    new ServiceOverridesV2(name: string, args: ServiceOverridesV2Args, opts?: CustomResourceOptions);
    @overload
    def ServiceOverridesV2(resource_name: str,
                           args: ServiceOverridesV2Args,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceOverridesV2(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           env_id: Optional[str] = None,
                           identifier: Optional[str] = None,
                           spec: Optional[str] = None,
                           type: Optional[str] = None,
                           cluster_id: Optional[str] = None,
                           infra_id: Optional[str] = None,
                           org_id: Optional[str] = None,
                           project_id: Optional[str] = None,
                           service_id: Optional[str] = None)
    func NewServiceOverridesV2(ctx *Context, name string, args ServiceOverridesV2Args, opts ...ResourceOption) (*ServiceOverridesV2, error)
    public ServiceOverridesV2(string name, ServiceOverridesV2Args args, CustomResourceOptions? opts = null)
    public ServiceOverridesV2(String name, ServiceOverridesV2Args args)
    public ServiceOverridesV2(String name, ServiceOverridesV2Args args, CustomResourceOptions options)
    
    type: harness:platform:ServiceOverridesV2
    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 ServiceOverridesV2Args
    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 ServiceOverridesV2Args
    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 ServiceOverridesV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceOverridesV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceOverridesV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var serviceOverridesV2Resource = new Harness.Platform.ServiceOverridesV2("serviceOverridesV2Resource", new()
    {
        EnvId = "string",
        Identifier = "string",
        Spec = "string",
        Type = "string",
        ClusterId = "string",
        InfraId = "string",
        OrgId = "string",
        ProjectId = "string",
        ServiceId = "string",
    });
    
    example, err := platform.NewServiceOverridesV2(ctx, "serviceOverridesV2Resource", &platform.ServiceOverridesV2Args{
    	EnvId:      pulumi.String("string"),
    	Identifier: pulumi.String("string"),
    	Spec:       pulumi.String("string"),
    	Type:       pulumi.String("string"),
    	ClusterId:  pulumi.String("string"),
    	InfraId:    pulumi.String("string"),
    	OrgId:      pulumi.String("string"),
    	ProjectId:  pulumi.String("string"),
    	ServiceId:  pulumi.String("string"),
    })
    
    var serviceOverridesV2Resource = new ServiceOverridesV2("serviceOverridesV2Resource", ServiceOverridesV2Args.builder()        
        .envId("string")
        .identifier("string")
        .spec("string")
        .type("string")
        .clusterId("string")
        .infraId("string")
        .orgId("string")
        .projectId("string")
        .serviceId("string")
        .build());
    
    service_overrides_v2_resource = harness.platform.ServiceOverridesV2("serviceOverridesV2Resource",
        env_id="string",
        identifier="string",
        spec="string",
        type="string",
        cluster_id="string",
        infra_id="string",
        org_id="string",
        project_id="string",
        service_id="string")
    
    const serviceOverridesV2Resource = new harness.platform.ServiceOverridesV2("serviceOverridesV2Resource", {
        envId: "string",
        identifier: "string",
        spec: "string",
        type: "string",
        clusterId: "string",
        infraId: "string",
        orgId: "string",
        projectId: "string",
        serviceId: "string",
    });
    
    type: harness:platform:ServiceOverridesV2
    properties:
        clusterId: string
        envId: string
        identifier: string
        infraId: string
        orgId: string
        projectId: string
        serviceId: string
        spec: string
        type: string
    

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

    EnvId string
    The env ID to which the overrides are associated.
    Identifier string
    Unique identifier of the resource.
    Spec string
    The overrides specification for the service.
    Type string
    The type of the overrides
    ClusterId string
    The cluster ID to which the overrides are associated
    InfraId string
    The infrastructure ID to which the overrides are associated
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    ServiceId string
    The service ID to which the overrides applies.
    EnvId string
    The env ID to which the overrides are associated.
    Identifier string
    Unique identifier of the resource.
    Spec string
    The overrides specification for the service.
    Type string
    The type of the overrides
    ClusterId string
    The cluster ID to which the overrides are associated
    InfraId string
    The infrastructure ID to which the overrides are associated
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    ServiceId string
    The service ID to which the overrides applies.
    envId String
    The env ID to which the overrides are associated.
    identifier String
    Unique identifier of the resource.
    spec String
    The overrides specification for the service.
    type String
    The type of the overrides
    clusterId String
    The cluster ID to which the overrides are associated
    infraId String
    The infrastructure ID to which the overrides are associated
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    serviceId String
    The service ID to which the overrides applies.
    envId string
    The env ID to which the overrides are associated.
    identifier string
    Unique identifier of the resource.
    spec string
    The overrides specification for the service.
    type string
    The type of the overrides
    clusterId string
    The cluster ID to which the overrides are associated
    infraId string
    The infrastructure ID to which the overrides are associated
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    serviceId string
    The service ID to which the overrides applies.
    env_id str
    The env ID to which the overrides are associated.
    identifier str
    Unique identifier of the resource.
    spec str
    The overrides specification for the service.
    type str
    The type of the overrides
    cluster_id str
    The cluster ID to which the overrides are associated
    infra_id str
    The infrastructure ID to which the overrides are associated
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    service_id str
    The service ID to which the overrides applies.
    envId String
    The env ID to which the overrides are associated.
    identifier String
    Unique identifier of the resource.
    spec String
    The overrides specification for the service.
    type String
    The type of the overrides
    clusterId String
    The cluster ID to which the overrides are associated
    infraId String
    The infrastructure ID to which the overrides are associated
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    serviceId String
    The service ID to which the overrides applies.

    Outputs

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

    Get an existing ServiceOverridesV2 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?: ServiceOverridesV2State, opts?: CustomResourceOptions): ServiceOverridesV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            env_id: Optional[str] = None,
            identifier: Optional[str] = None,
            infra_id: Optional[str] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            service_id: Optional[str] = None,
            spec: Optional[str] = None,
            type: Optional[str] = None) -> ServiceOverridesV2
    func GetServiceOverridesV2(ctx *Context, name string, id IDInput, state *ServiceOverridesV2State, opts ...ResourceOption) (*ServiceOverridesV2, error)
    public static ServiceOverridesV2 Get(string name, Input<string> id, ServiceOverridesV2State? state, CustomResourceOptions? opts = null)
    public static ServiceOverridesV2 get(String name, Output<String> id, ServiceOverridesV2State 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:
    ClusterId string
    The cluster ID to which the overrides are associated
    EnvId string
    The env ID to which the overrides are associated.
    Identifier string
    Unique identifier of the resource.
    InfraId string
    The infrastructure ID to which the overrides are associated
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    ServiceId string
    The service ID to which the overrides applies.
    Spec string
    The overrides specification for the service.
    Type string
    The type of the overrides
    ClusterId string
    The cluster ID to which the overrides are associated
    EnvId string
    The env ID to which the overrides are associated.
    Identifier string
    Unique identifier of the resource.
    InfraId string
    The infrastructure ID to which the overrides are associated
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    ServiceId string
    The service ID to which the overrides applies.
    Spec string
    The overrides specification for the service.
    Type string
    The type of the overrides
    clusterId String
    The cluster ID to which the overrides are associated
    envId String
    The env ID to which the overrides are associated.
    identifier String
    Unique identifier of the resource.
    infraId String
    The infrastructure ID to which the overrides are associated
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    serviceId String
    The service ID to which the overrides applies.
    spec String
    The overrides specification for the service.
    type String
    The type of the overrides
    clusterId string
    The cluster ID to which the overrides are associated
    envId string
    The env ID to which the overrides are associated.
    identifier string
    Unique identifier of the resource.
    infraId string
    The infrastructure ID to which the overrides are associated
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    serviceId string
    The service ID to which the overrides applies.
    spec string
    The overrides specification for the service.
    type string
    The type of the overrides
    cluster_id str
    The cluster ID to which the overrides are associated
    env_id str
    The env ID to which the overrides are associated.
    identifier str
    Unique identifier of the resource.
    infra_id str
    The infrastructure ID to which the overrides are associated
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    service_id str
    The service ID to which the overrides applies.
    spec str
    The overrides specification for the service.
    type str
    The type of the overrides
    clusterId String
    The cluster ID to which the overrides are associated
    envId String
    The env ID to which the overrides are associated.
    identifier String
    Unique identifier of the resource.
    infraId String
    The infrastructure ID to which the overrides are associated
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    serviceId String
    The service ID to which the overrides applies.
    spec String
    The overrides specification for the service.
    type String
    The type of the overrides

    Package Details

    Repository
    harness lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs