Scaleway v1.15.0 published on Tuesday, Jul 30, 2024 by pulumiverse
scaleway.Cockpit
Explore with Pulumi AI
Import
Cockpits can be imported using the {project_id}
, e.g.
bash
$ pulumi import scaleway:index/cockpit:Cockpit main 11111111-1111-1111-1111-111111111111
Create Cockpit Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cockpit(name: string, args?: CockpitArgs, opts?: CustomResourceOptions);
@overload
def Cockpit(resource_name: str,
args: Optional[CockpitArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Cockpit(resource_name: str,
opts: Optional[ResourceOptions] = None,
plan: Optional[str] = None,
project_id: Optional[str] = None)
func NewCockpit(ctx *Context, name string, args *CockpitArgs, opts ...ResourceOption) (*Cockpit, error)
public Cockpit(string name, CockpitArgs? args = null, CustomResourceOptions? opts = null)
public Cockpit(String name, CockpitArgs args)
public Cockpit(String name, CockpitArgs args, CustomResourceOptions options)
type: scaleway:Cockpit
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 CockpitArgs
- 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 CockpitArgs
- 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 CockpitArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CockpitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CockpitArgs
- 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 cockpitResource = new Scaleway.Cockpit("cockpitResource", new()
{
Plan = "string",
ProjectId = "string",
});
example, err := scaleway.NewCockpit(ctx, "cockpitResource", &scaleway.CockpitArgs{
Plan: pulumi.String("string"),
ProjectId: pulumi.String("string"),
})
var cockpitResource = new Cockpit("cockpitResource", CockpitArgs.builder()
.plan("string")
.projectId("string")
.build());
cockpit_resource = scaleway.Cockpit("cockpitResource",
plan="string",
project_id="string")
const cockpitResource = new scaleway.Cockpit("cockpitResource", {
plan: "string",
projectId: "string",
});
type: scaleway:Cockpit
properties:
plan: string
projectId: string
Cockpit 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 Cockpit resource accepts the following input properties:
- plan str
- Name or ID of the plan to use.
- project_
id str project_id
) The ID of the project the cockpit is associated with.
Outputs
All input properties are implicitly available as output properties. Additionally, the Cockpit resource produces the following output properties:
- Endpoints
List<Pulumiverse.
Scaleway. Outputs. Cockpit Endpoint> - Endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Plan
Id string - The ID of the current plan.
- Push
Urls List<Pulumiverse.Scaleway. Outputs. Cockpit Push Url> - Push_url
- Endpoints
[]Cockpit
Endpoint - Endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Plan
Id string - The ID of the current plan.
- Push
Urls []CockpitPush Url - Push_url
- endpoints
List<Cockpit
Endpoint> - Endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- plan
Id String - The ID of the current plan.
- push
Urls List<CockpitPush Url> - Push_url
- endpoints
Cockpit
Endpoint[] - Endpoints.
- id string
- The provider-assigned unique ID for this managed resource.
- plan
Id string - The ID of the current plan.
- push
Urls CockpitPush Url[] - Push_url
- endpoints
Sequence[Cockpit
Endpoint] - Endpoints.
- id str
- The provider-assigned unique ID for this managed resource.
- plan_
id str - The ID of the current plan.
- push_
urls Sequence[CockpitPush Url] - Push_url
- endpoints List<Property Map>
- Endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- plan
Id String - The ID of the current plan.
- push
Urls List<Property Map> - Push_url
Look up Existing Cockpit Resource
Get an existing Cockpit 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?: CockpitState, opts?: CustomResourceOptions): Cockpit
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
endpoints: Optional[Sequence[CockpitEndpointArgs]] = None,
plan: Optional[str] = None,
plan_id: Optional[str] = None,
project_id: Optional[str] = None,
push_urls: Optional[Sequence[CockpitPushUrlArgs]] = None) -> Cockpit
func GetCockpit(ctx *Context, name string, id IDInput, state *CockpitState, opts ...ResourceOption) (*Cockpit, error)
public static Cockpit Get(string name, Input<string> id, CockpitState? state, CustomResourceOptions? opts = null)
public static Cockpit get(String name, Output<String> id, CockpitState 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.
- Endpoints
List<Pulumiverse.
Scaleway. Inputs. Cockpit Endpoint> - Endpoints.
- Plan string
- Name or ID of the plan to use.
- Plan
Id string - The ID of the current plan.
- Project
Id string project_id
) The ID of the project the cockpit is associated with.- Push
Urls List<Pulumiverse.Scaleway. Inputs. Cockpit Push Url> - Push_url
- Endpoints
[]Cockpit
Endpoint Args - Endpoints.
- Plan string
- Name or ID of the plan to use.
- Plan
Id string - The ID of the current plan.
- Project
Id string project_id
) The ID of the project the cockpit is associated with.- Push
Urls []CockpitPush Url Args - Push_url
- endpoints
List<Cockpit
Endpoint> - Endpoints.
- plan String
- Name or ID of the plan to use.
- plan
Id String - The ID of the current plan.
- project
Id String project_id
) The ID of the project the cockpit is associated with.- push
Urls List<CockpitPush Url> - Push_url
- endpoints
Cockpit
Endpoint[] - Endpoints.
- plan string
- Name or ID of the plan to use.
- plan
Id string - The ID of the current plan.
- project
Id string project_id
) The ID of the project the cockpit is associated with.- push
Urls CockpitPush Url[] - Push_url
- endpoints
Sequence[Cockpit
Endpoint Args] - Endpoints.
- plan str
- Name or ID of the plan to use.
- plan_
id str - The ID of the current plan.
- project_
id str project_id
) The ID of the project the cockpit is associated with.- push_
urls Sequence[CockpitPush Url Args] - Push_url
- endpoints List<Property Map>
- Endpoints.
- plan String
- Name or ID of the plan to use.
- plan
Id String - The ID of the current plan.
- project
Id String project_id
) The ID of the project the cockpit is associated with.- push
Urls List<Property Map> - Push_url
Supporting Types
CockpitEndpoint, CockpitEndpointArgs
- Alertmanager
Url string - The alertmanager URL.
- Grafana
Url string - The grafana URL.
- Logs
Url string - The logs URL.
- Metrics
Url string - The metrics URL.
- Traces
Url string - The traces URL.
- Alertmanager
Url string - The alertmanager URL.
- Grafana
Url string - The grafana URL.
- Logs
Url string - The logs URL.
- Metrics
Url string - The metrics URL.
- Traces
Url string - The traces URL.
- alertmanager
Url String - The alertmanager URL.
- grafana
Url String - The grafana URL.
- logs
Url String - The logs URL.
- metrics
Url String - The metrics URL.
- traces
Url String - The traces URL.
- alertmanager
Url string - The alertmanager URL.
- grafana
Url string - The grafana URL.
- logs
Url string - The logs URL.
- metrics
Url string - The metrics URL.
- traces
Url string - The traces URL.
- alertmanager_
url str - The alertmanager URL.
- grafana_
url str - The grafana URL.
- logs_
url str - The logs URL.
- metrics_
url str - The metrics URL.
- traces_
url str - The traces URL.
- alertmanager
Url String - The alertmanager URL.
- grafana
Url String - The grafana URL.
- logs
Url String - The logs URL.
- metrics
Url String - The metrics URL.
- traces
Url String - The traces URL.
CockpitPushUrl, CockpitPushUrlArgs
- Push
Logs stringUrl - Push URL for logs (Grafana Loki)
- Push
Metrics stringUrl - Push URL for metrics (Grafana Mimir)
- Push
Logs stringUrl - Push URL for logs (Grafana Loki)
- Push
Metrics stringUrl - Push URL for metrics (Grafana Mimir)
- push
Logs StringUrl - Push URL for logs (Grafana Loki)
- push
Metrics StringUrl - Push URL for metrics (Grafana Mimir)
- push
Logs stringUrl - Push URL for logs (Grafana Loki)
- push
Metrics stringUrl - Push URL for metrics (Grafana Mimir)
- push_
logs_ strurl - Push URL for logs (Grafana Loki)
- push_
metrics_ strurl - Push URL for metrics (Grafana Mimir)
- push
Logs StringUrl - Push URL for logs (Grafana Loki)
- push
Metrics StringUrl - Push URL for metrics (Grafana Mimir)
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.