scaleway.Cockpit
Explore with Pulumi AI
Import
This section explains how to import a Cockpit using its {project_id}
.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cockpit resource accepts the following input properties:
- plan str
- Name of the plan to use. Available plans are: free, premium, and custom.
- project_
id str - ) 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> - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- Id string
- The provider-assigned unique ID for this managed resource.
- Plan
Id string - (Deprecated) The ID of the current pricing plan.
- Push
Urls List<Pulumiverse.Scaleway. Outputs. Cockpit Push Url> - Push_url
- Endpoints
[]Cockpit
Endpoint - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- Id string
- The provider-assigned unique ID for this managed resource.
- Plan
Id string - (Deprecated) The ID of the current pricing plan.
- Push
Urls []CockpitPush Url - Push_url
- endpoints
List<Cockpit
Endpoint> - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- id String
- The provider-assigned unique ID for this managed resource.
- plan
Id String - (Deprecated) The ID of the current pricing plan.
- push
Urls List<CockpitPush Url> - Push_url
- endpoints
Cockpit
Endpoint[] - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- id string
- The provider-assigned unique ID for this managed resource.
- plan
Id string - (Deprecated) The ID of the current pricing plan.
- push
Urls CockpitPush Url[] - Push_url
- endpoints
Sequence[Cockpit
Endpoint] - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- id str
- The provider-assigned unique ID for this managed resource.
- plan_
id str - (Deprecated) The ID of the current pricing plan.
- push_
urls Sequence[CockpitPush Url] - Push_url
- endpoints List<Property Map>
- (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- id String
- The provider-assigned unique ID for this managed resource.
- plan
Id String - (Deprecated) The ID of the current pricing 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> - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- Plan string
- Name of the plan to use. Available plans are: free, premium, and custom.
- Plan
Id string - (Deprecated) The ID of the current pricing plan.
- Project
Id string - ) 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 - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- Plan string
- Name of the plan to use. Available plans are: free, premium, and custom.
- Plan
Id string - (Deprecated) The ID of the current pricing plan.
- Project
Id string - ) The ID of the Project the Cockpit is associated with.
- Push
Urls []CockpitPush Url Args - Push_url
- endpoints
List<Cockpit
Endpoint> - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- plan String
- Name of the plan to use. Available plans are: free, premium, and custom.
- plan
Id String - (Deprecated) The ID of the current pricing plan.
- project
Id String - ) The ID of the Project the Cockpit is associated with.
- push
Urls List<CockpitPush Url> - Push_url
- endpoints
Cockpit
Endpoint[] - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- plan string
- Name of the plan to use. Available plans are: free, premium, and custom.
- plan
Id string - (Deprecated) The ID of the current pricing plan.
- project
Id string - ) The ID of the Project the Cockpit is associated with.
- push
Urls CockpitPush Url[] - Push_url
- endpoints
Sequence[Cockpit
Endpoint Args] - (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- plan str
- Name of the plan to use. Available plans are: free, premium, and custom.
- plan_
id str - (Deprecated) The ID of the current pricing plan.
- project_
id str - ) The ID of the Project the Cockpit is associated with.
- push_
urls Sequence[CockpitPush Url Args] - Push_url
- endpoints List<Property Map>
- (Deprecated) A list of endpoints related to Cockpit, each with specific URLs:
- plan String
- Name of the plan to use. Available plans are: free, premium, and custom.
- plan
Id String - (Deprecated) The ID of the current pricing plan.
- project
Id String - ) The ID of the Project the Cockpit is associated with.
- push
Urls List<Property Map> - Push_url
Supporting Types
CockpitEndpoint, CockpitEndpointArgs
- Alertmanager
Url string - (Deprecated) URL for the Alert manager.
- Grafana
Url string - (Deprecated) URL for Grafana.
- Logs
Url string - (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
- Metrics
Url string - (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
- Traces
Url string - (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
- Alertmanager
Url string - (Deprecated) URL for the Alert manager.
- Grafana
Url string - (Deprecated) URL for Grafana.
- Logs
Url string - (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
- Metrics
Url string - (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
- Traces
Url string - (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
- alertmanager
Url String - (Deprecated) URL for the Alert manager.
- grafana
Url String - (Deprecated) URL for Grafana.
- logs
Url String - (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
- metrics
Url String - (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
- traces
Url String - (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
- alertmanager
Url string - (Deprecated) URL for the Alert manager.
- grafana
Url string - (Deprecated) URL for Grafana.
- logs
Url string - (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
- metrics
Url string - (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
- traces
Url string - (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
- alertmanager_
url str - (Deprecated) URL for the Alert manager.
- grafana_
url str - (Deprecated) URL for Grafana.
- logs_
url str - (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
- metrics_
url str - (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
- traces_
url str - (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
- alertmanager
Url String - (Deprecated) URL for the Alert manager.
- grafana
Url String - (Deprecated) URL for Grafana.
- logs
Url String - (Deprecated) URL for logs to retrieve in the Data sources tab of the Scaleway console.
- metrics
Url String - (Deprecated) URL for metrics to retrieve in the Data sources tab of the Scaleway console.
- traces
Url String - (Deprecated) URL for traces to retrieve in the Data sources tab of the Scaleway console.
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.