vania-janet/multiturn-rag-retrieval-data huggingface dataset:
Blueprint job us-east.JOB.Blueprint_Basic.4cad1d5b completed at 2022-11-18 16:00:02

Module Type Name Status Job ID
Blueprint Blueprint_Basic CREATE_SUCCESS us-east.JOB.Blueprint_Basic.4cad1d5b
Workspace basic-resource-group INITIALISED
Workspace basic-cos-storage INITIALISED

Blueprint ID Blueprint_Basic.eaB.08d1 create_success at 2022-11-18 16:00:03
OK

On successful completion, the config create returns create_success and the unique ID of the blueprint. This ID is needed as input for all future blueprint operations.

For more information, see [troubleshooting section](https://cloud.ibm.com/docs/schematics?topic=schematics-bp-create-fails&interface=cli).







 Creating a blueprint configuration using the UI 

You can follow these steps to create a blueprint config using IBM Cloud console.



1. Log in to [IBM Cloud](https://cloud.ibm.com/).
2. Click on Schematics in the left hand navigator pane, then click Blueprints
3. On the [Blueprints dashboard](https://cloud.ibm.com/schematics/blueprints), click the Create Blueprint button



* In Blueprint Details section:



* Name<Provide unique name for your blueprint>.
* Location as North America or other [region](https://cloud.ibm.com/docs/schematics?topic=schematics-multi-region-deployment) for this blueprint.
* Resource group as Default or other resource group for this blueprint. For more information, see [Creating a resource group](https://cloud.ibm.com/docs/account?topic=account-rgs). Ensure you have right access permission for the resource group.
* Tags as <Provide the tag name for your blueprint>.
* Description for the blueprint. Supports maximum character range from 0 - 2048.
Where satloc_dal_c9ntbe5f0gmsm06ofoq0 is the scope, dal is the control region's short name and indicates the us-south region, and c9ntbe5f0gmsm06ofoq0 is the location ID.
3. Create an authorization policy between the Event Streams Satellite instance and the Cloud Object Storage bucket.

The source is the Event Streams Satellite instance. The target is the Cloud Object Storage bucket, and the role is Writer. If the Cloud Object Storage on Cloud instance is in a different account, ensure that the authorization policy is created in the Cloud Object Storage instance's account and the Event Streams instance's account is set as the source account.
4. Create or update Event Streams Satellite instance.

If the Event Streams Satellite instance was not provisioned, use the following command to provision the instance with the additional -p parameter.

ibmcloud resource service-instance-create <instance-name> messagehub Satellite <location-id> -p '{"cos_bucket_crn":"<cos-bucket-crn>"}'

If the Event Streams Satellite instance was provisioned, use the following command to update the instance with the -p parameter.

ibmcloud resource service-instance-update <instance-name> -p '{"cos_bucket_crn":"<cos-bucket-crn>"}'
}

A request to create an arbitrary secret in an existing secret group returns the following response:

{
"request_id": "8c047529-de3a-a79d-7c2f-c382a8e75312",
"lease_id": "",
"renewable": false,
"lease_duration": 0,
"data": {
"created_by": "iam-ServiceId-c0c7cfa4-b24e-4917-ad74-278f2fee5ba0",
"creation_date": "2020-12-15T22:34:53Z",
"crn": "crn:v1:bluemix:public:secrets-manager:us-south:a/a5ebf2570dcaedf18d7ed78e216c263a:0f4c764e-dc3d-44d1-bd60-a2f7cd91e0c0:secret:a6972127-35ad-b36f-aac8-0223f0475cb6",
"description": "Extended description for my secret.",
"expiration_date": "2030-04-01T09:30:00Z",
"id": "a6972127-35ad-b36f-aac8-0223f0475cb6",
"labels": [
"dev",
"us-south"
],
"last_update_date": "2020-12-15T22:34:53Z",
"name": "test-arbitrary-secret-in-group",
"secret_data": {
"payload": "secret-data"
},
"secret_group_id": "339c026a-ac0f-1ea1-3d43-99adf871b49a",
"secret_type": "arbitrary",
"state": 1,
<-- </section "id="section-hello-world-template-test" "> --><-- </section "id="section-hello-world-template" "> --><-- <section "id="section-messagehub-events-template" "> --> Deploying the IBM® Event Streams for IBM Cloud® template The Event Streams Events template creates an action and a trigger that invokes that action. The trigger is fired whenever a new item is added to the Event Streams topic that is chosen when you create the template.When you deploy this template, you create the following entities:<-- <ul> --> * An action called process-message. * A user-named trigger that is fired whenever an entry is streamed. This trigger calls the action.<-- </ul> --><-- <section "id="section-messagehub-events-template-ui" "> --> Deploying the Event Streams template from the console Deploy the Event Streams template from the console.Before you beginSelect a namespace to contain your Cloud Functions entities from the console]]. For more information about namespaces, see Managing namespaces]] ! .<-- <ol> -->1. Go to the Create page]] !! ! ! ! ! in the Cloud Functions console.2. Click Quickstart templates.3. Click Event Streams Events.4. Create the Event Streams action.
<-- <ol> -->

1. Provide a name for your package or use the provided default name message-hub-events.
2. Choose the runtime for your action.
3. Click Next.

<-- </ol> -->

5. Create the Event Streams trigger. Triggers invoke actions when they receive events from event sources. To create the trigger, you must provide an Event Streams service instance and topic. If you have an instance of Event Streams in the same namespace that you are currently targeting, then select your Event Streams instance and topic from the list.6.
[Create toolchain](https://cloud.ibm.com/docs-content/v1/content/562806c0b18119f4d21cb66f5ae6d051634b4a16/ContinuousDelivery/images/create_toolchain_button.png)](https://cloud.ibm.com/devops/setup/deploy?repository=https%3A%2F%2Fgithub.com%2Fopen-toolchain%2Fsimple-vsi-toolchain&env_id=ibm:yp:us-south)

Alternatively, from the IBM Cloud console, click the menu icon ![hamburger icon](https://cloud.ibm.com/docs-content/v1/content/562806c0b18119f4d21cb66f5ae6d051634b4a16/ContinuousDelivery/images/icon_hamburger.svg), and select DevOps. On the Toolchains page, click Create a Toolchain. On the Create a Toolchain page, click Develop an application for a Virtual Machine.



 Configure the simple Virtual Server Instance 



1. In the Create tab, review the default settings.

Zoom

![Toolchain settings](https://cloud.ibm.com/docs-content/v1/content/562806c0b18119f4d21cb66f5ae6d051634b4a16/ContinuousDelivery/images/create_toolchain_Page1.png)

Figure 2. Toolchain settings
2. The toolchain's name identifies it in IBM Cloud. If you want to use a different name, change the toolchain's name. Because the toolchain name is used to construct the URL that is used to access your app, make sure to specify a unique name.
3. By default, the toolchain creates the source repo in Git Repos and Issue Tracking.
ibmcloud is share-mount-target-create my-fileshare-1 --vpc test-vpc-1
Mounting target 55251a2e-d6d4-4233-97b2-b5f8e8d1f479 under account test-vpcp1 as user user@mycompany.com...

ID 78ff9c4c97d013fb2a95b21abcde7758
Name mytarget-1
VPC ID Name
55251a2e-d6d4-4233-97b2-b5f8e8d1f479 test-vpc-1

Lifecycle State pending
Mount path dal1051b-fz.adn.networklayer.com:/nxg_s_voll_mz0717_fde90e26_8796_4a5e_8147_dd14976d6e9f
Created 2023-07-11T18:05:18+05:30

The following example creates a mount target with security group access mode for a file share. This command creates and attaches a [virtual network interface](https://cloud.ibm.com/docs/vpc?topic=vpc-vni-about) to your mount target that identifies the file share with a reserved IP address and applies the rules of the selected Security group.The virtual network interface is defined by specifying the reserved IP address, and the rules of SECURITY_GROUP1 determine which resources can access the mount target my-target-3.

New

ibmcloud is share-mount-target-create my-new-share --subnet cli-subnet-1 --name my-mount-target-3 --vni-name cli-share-vni-1 --vni-rip my-reserved-ip --vni-sgs concrete-proudly-coastal-obvious,sg-vni --resource-group-name Default







 Create a file share with the API 

You can create file shares and mount targets by directly calling the REST APIs.
Creating a toolchain from a template by using the console 

You can use a template as a starting point to [create a toolchain](https://cloud.ibm.com/devops/create) that includes a specific set of tool integrations. Depending on the template that you use, you can create a toolchain that has a specific set of tool integrations or an empty toolchain that you can add tool integrations to. Learn more about how to use the templates from the [IBM Cloud Garage Method](https://www.ibm.com/cloud/architecture/toolchains).



1. Log in to [IBM Cloud](http://cloud.ibm.com).
2. From the IBM Cloud console, click the menu icon ![hamburger icon](https://cloud.ibm.com/docs-content/v1/content/562806c0b18119f4d21cb66f5ae6d051634b4a16/ContinuousDelivery/images/icon_hamburger.svg), and select DevOps.
3. On the Toolchains page, click Create a Toolchain.
4. On the Create a Toolchain page, click a toolchain template.
5. Review the diagram of the toolchain that you are about to create. The diagram shows each tool integration in its lifecycle phase in the toolchain.

A few of the toolchain templates have multiple instances of a tool integration. For example, the "Develop and test microservices with Kubernetes and Helm" toolchain template on IBM Cloud Public contains four instances of GitHub and four instances of Delivery Pipeline.

The diagram in the following image is an example. When you create a toolchain, the diagram shows each tool integration that is part of the toolchain.

Zoom

!
The following Python response is a generic example for reference.

INFO:root:Started Creating Schematic Workspace
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): iam.cloud.ibm.com:443
DEBUG:urllib3.connectionpool:https://iam.cloud.ibm.com:443 "POST /identity/token HTTP/1.1" 200 1054
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): us.schematics.cloud.ibm.com:443
DEBUG:urllib3.connectionpool:https://us.schematics.cloud.ibm.com:443 "POST /v1/workspaces HTTP/1.1" 201 2013
{
"id": "us-south.workspace.Sample-Schematic-API-workspace.0f4b9089",
"name": "Sample Schematic API workspace",
"crn": "crn:v1:bluemix:public:schematics:us-south:a/77efe1030c00b5c89cfd08648d3480bf:6f457fa4-4c59-4a8d-be69-483f16f8f200:workspace:us-south.workspace.Sample-Schematic-API-workspace.0f4b9089",
"type": [
"terraform_v0.14"
],
"description": "HPC Cluster Schematic workspace using API",
"resource_group": "Default",
"location": "us-south",
"tags": [
"schematics-api"
],
"created_at": "2021-10-15T15:19:12.631624491Z",
"created_by": “xxxxxx”,
"status": "DRAFT",
"failure_reason": "",
curl -X POST 'https://iam.cloud.ibm.com/v1/profiles' -H 'Authorization: Bearer TOKEN' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{
"name": "My Nice Profile",
"description": "My Nice Profile - desc",
"account_id": "ACCOUNT_ID"
}'

In the description, provide a list of actions available for this trusted profile.
2. Create a claim rule for your trusted profile that follows the principle of least privilege by specifying conditions that target only the resources that need access. Conditions apply to all existing future resources. You can also create a direct link with specific, existing resources.

Create conditions
: For compute resources, set the type attribute to Profile-CR. For more information, see the [IAM Identity Services API](https://cloud.ibm.com/apidocs/iam-identity-token-apicreate-claim-rule-request).

curl -X POST 'https://iam.cloud.ibm.com/v1/profiles/PROFILE_ID/rules' -H 'Authorization: Bearer TOKEN' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{
"type": "Profile-CR",
"conditions": [
{
"claim": "namespace",
"operator": "EQUALS",
"value": ""default123""
}
]
}'

There is a limit of 20 claim rules per trusted profile.

Create a direct link
: You can establish a direct link with specific, existing resources.

curl -X POST 'https://iam.cloud.ibm.com/v1/profiles/PROFILE_ID/links' -H 'Authorization: Bearer TOKEN' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{
"name": "my link",
"cr_type": "VSI",
"link": {
87171615-f8b4-4ccd-a216-bab12eb1a973 my-target121 81ee2425-7c2f-4042-9d8f-d02b0ee8886c vpc1
b041fc54-f0b9-4397-b68e-2ab032cd1206 my-target122 c338ca08-1256-4420-9932-a9960a0f1cfd vpc2

Resource Group ID Name
bdd96715c2a44f2bb60df4ff14a543f5 Default
Created 2023-07-11T15:26:21+05:30

ibmcloud is share-create --zone us-south-2 --vpc {vpc_id} --name my-encrypted-share --profile tier-5iops --size 100 --encryption key {crn}

The following example shows a new file share that is created with customer-managed encryption.

$ ibmcloud is share-create --zone us-south-2 --vpc {vpc_id} --name my-encrypted-share --profile tier-5iops --encryption key abccorp-kp-vpc-2 fd57250e-908c-4785-a8a5-1f53176bcd2f
Creating volume demovolume in resource group Default under account VPC 01 as user rtuser1@mycompany.com...
ID 339c8781-f7f5-4a8f-8a2d-3bfc711788ee
Name my-encrypted-share
Size 100
IOPS 1000
Profile tier-5iops
Create an [API key for a service ID](https://cloud.ibm.com/docs/account?topic=account-serviceidapikeyscreate_service_key).
4. For more information, see [Introducing IBM Cloud IAM Service IDs and API Keys](https://www.ibm.com/cloud/blog/introducing-ibm-cloud-iam-service-ids-api-keys).



2. From IBM Cloud console, [import the encrypted image](https://cloud.ibm.com/docs/image-templates?topic=image-templates-import-icosimport-icos) to the Image Templates page.
3. From the Image Templates page, you can use your encrypted image to [order](https://cloud.ibm.com/docs/image-templates?topic=image-templates-ordering-an-instance-from-an-image-templateordering-an-instance-from-an-image-template) a virtual server instance.
4. With an encrypted virtual server provisioned, you can audit [virtual server events](https://cloud.ibm.com/docs/virtual-servers?topic=virtual-servers-at_eventsat_events) through [Activity Tracker](https://cloud.ibm.com/docs/Activity-Tracker-with-LogDNA?topic=Activity-Tracker-with-LogDNA-getting-started).
yaxis15: [ Hits with hits type Error divided with the given time interval
123,
23,
345,
12,
33,
78,
89,
87,
234,
12,
43
],
yaxis16: [ Hits with hits type Others divided with the given time interval
123,
23,
345,
12,
33,
78,
89,
87,
234,
12,
43
]
}
)
Show more





 Example code for creating a purge group 

This example shows how to create a purge group.

$client = SoftLayerSoapClient::getClient(
'SoftLayer_Network_CdnMarketplace_Configuration_Cache_PurgeGroup',
null,
$apiUsername,
$apiKey
);

try {
$purgeGroup = $client->createPurgeGroup(
'750352919747xxx',
'UNIQUE_GROUP_NAME',
['/test1.html', 'test2.html'],
3 // save and also purge files during create
);
print_r($purgeGroup);
print_r("n");
} catch (Exception $e) {
die('createPurgeGroup failed with an exception: ' . $e->getMessage());
}
Show more

The call returns the following object:

SoftLayer_Container_Network_CdnMarketplace_Configuration_Cache_PurgeGroup Object
(
[uniqueId] => 750352919747xxx,
[groupUniqueId] => 618887378480xxx,
[lastPurge] => '1582188622',
[name] => 'UNIQUE_GROUP_NAME',
[saved] => 'SAVED',
[option] => 3,
[pathCount] => 2,
Creating a custom policy from a template 

You can create custom policies in IBM Cloud® Security and Compliance Center Workload Protection.

Complete the following steps to create a new policy with no prior policy as a base:



 Before you begin 



* In a policy, you can configure requirement groups to define the hierarchy and structure of controls in a policy.

You can define 1 or more requirement groups per policy.

Requirement groups are not shared between policies.
* In a requirement group, you can define 1 or more requirements. A requirement includes 1 or more controls.

Requirements are not shared between policies.

To reuse a requirement from another policy, you must create a new requirement group and requirement, and then link the wanted controls.







 Step 1. Create a policy 

Complete the following steps to create a policy that uses an existing policy as a template::



1. Create a policy draft by duplicating an existing policy in one of the following ways:



* Click New Policy and for Duplicate from select the policy to be duplicated from the menu.
* Click the Actions icon ![Actions icon](https://cloud.ibm.com/docs-content/v1/content/667adc0b8a7fdb0b349b1158d8e128640b5bc72b/icons/action-menu-icon.svg) next to the policy that you want to use as a template and click Duplicate.



2. Enter a Name and Desription for the policy.
3. Click Save.

Your policy is saved in a Draft state and you can configure the policy details.



If you create a new policy by duplicating an existing policy, the new policy is displayed with the requirements and controls that are copied from the duplicated policy. If you create a policy without duplicating an existing policy, the requirements and controls are blank.

Zoom

!
If you want to clone from the Git repository see the [allowed and blocked file extensions](https://cloud.ibm.com/docs/schematics?topic=schematics-workspaces-faqclone-file-extension) for cloning. 
 --output or -o Optional Returns the command-line output in JSON format. Currently only JSON file format is supported. 
 --file or -f Required The path to the JSON payload file containing the definition of the action that you want to create. For more information, see [Using a payload file](https://cloud.ibm.com/docs/schematics?topic=schematics-schematics-cli-referencecreate-action-payload). 
 --no-prompt Optional Set this flag to run the command without an interactive mode. 



Example

ibmcloud schematics action create --name start-vsi --location us-south --resource-group default --template https://github.com/Cloud-Schematics/ansible-is-instance-actions --playbook-name stop-vsi-playbook.yml --input instance_ip=172.4.5.0



 Using a payload file 

Create a JSON file that includes the details for the action that you want to create, such as the ID, name, and description. Then, use the --file command option to create your action from your payload file.

You need to replace the <...> placeholders with the actual values. For example, "<ACTION_NAME>" as "testaction".

Syntax

{
"name": "<ACTION_NAME>",
"description": "<DESCRIPTION>",
"location": "<LOCATION>",
"resource_group": "<RESOURCE_GROUP>",
"bastion_connection_type": "ssh",
"inventory_connection_type": "winrm",
"source": {
"source_type" : "git",
"git" : {
From the Project Area type list, select Existing project area.

b. Type the name of the project area to add to your toolchain.
7. If you want to create a Rational Team Concert project area to add to your toolchain, follow these steps:

a. From the Project Area type list, select New project area.

b. Type a name for the new project area to add to your toolchain.

c. Type the name of the Rational Team Concert process template to use to create the project.
8. To track the deployment of code changes for the project by creating tags and comments on work items, select the Track deployment of code changes checkbox.
9. Click Create Integration.
10. On your Toolchain's Overview page, on the IBM Cloud tools card, click Rational Team Concert to open the Rational Team Concert dashboard that you configured.
1. [Log in to your IBM Cloud account](https://cloud.ibm.com/login).
2. Create an Event Streams instance.

Check the limitations of the Event Streams service plans. For more information, see [Limits and quotas](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-kafka_quotas).

a. Access the [Event Streams service](https://cloud.ibm.com/catalog/event-streams) in the Catalog.

b. Select the plan on the service instance page.

c. Enter a name for your service. You can use the default value.

d. Click Create. The Event Streams Getting started page opens.
3. Select Topics.
4. Click Create a topic.

Zoom

![Create a topic.](https://cloud.ibm.com/docs-content/v1/content/bcd8b79ca2ed73bfcaefb20051f12cb6400286ab/atracker/images/es-topic.png)

Create a topic
5. Enter a topic name and click Next.

Zoom

![Enter a topic name](https://cloud.ibm.com/docs-content/v1/content/bcd8b79ca2ed73bfcaefb20051f12cb6400286ab/atracker/images/es-topic-1.png)

Enter a topic name
6. Enter the number of partitions and click Next.

One or more partitions make up a topic. A partition is an ordered list of messages. Partitions are distributed across the brokers in order to increase the scalability of your topic. You can also use them to distribute messages across the members of a consumer group.

Zoom

!
IOPS 3000
User Tags env:dev,env:prod
Encryption provider_managed
Mount Targets ID Name VPC ID VPC Name
87171615-f8b4-4ccd-a216-bab12eb1a973 my-target121 81ee2425-7c2f-4042-9d8f-d02b0ee8886c vpc1
b041fc54-f0b9-4397-b68e-2ab032cd1206 my-target122 c338ca08-1256-4420-9932-a9960a0f1cfd vpc2

Resource Group ID Name
bdd96715c2a44f2bb60df4ff14a543f5 Default
Created 2023-07-11T15:26:21+05:30

ibmcloud is share-create --zone us-south-2 --vpc {vpc_id} --name my-encrypted-share --profile tier-5iops --size 100 --encryption key {crn}

The following example shows a new file share that is created with customer-managed encryption.

$ ibmcloud is share-create --zone us-south-2 --vpc {vpc_id} --name my-encrypted-share --profile tier-5iops --encryption key abccorp-kp-vpc-2 fd57250e-908c-4785-a8a5-1f53176bcd2f
Creating volume demovolume in resource group Default under account VPC 01 as user rtuser1@mycompany.com...
ID 339c8781-f7f5-4a8f-8a2d-3bfc711788ee
Name my-encrypted-share
Size 100
IOPS 1000
Profile tier-5iops
If you want to clone from the Git repository see the [allowed and blocked file extensions](https://cloud.ibm.com/docs/schematics?topic=schematics-workspaces-faqclone-file-extension) for cloning. 
 --output or -o Optional Returns the command-line output in JSON format. Currently only JSON file format is supported. 
 --file or -f Optional The path to the JSON payload file containing the definition of the action that you want to create. For more information, see [Using a payload file](https://cloud.ibm.com/docs/schematics?topic=schematics-schematics-cli-referencecreate-action-payload). 
 --no-prompt Optional Set this flag to run the command without an interactive mode. 



Example

ibmcloud schematics action create --name start-vsi --location us-south --resource-group default --template https://github.com/Cloud-Schematics/ansible-is-instance-actions --playbook-name stop-vsi-playbook.yml --input instance_ip=172.4.5.0



 Using a payload file 

Create a JSON file that includes the details for the action that you want to create, such as the ID, name, and description. Then, use the --file command option to create your action from your payload file.

You need to replace the <...> placeholders with the actual values. For example, "<ACTION_NAME>" as "testaction".

Syntax

{
"name": "<ACTION_NAME>",
"description": "<DESCRIPTION>",
"location": "<LOCATION>",
"resource_group": "<RESOURCE_GROUP>",
"bastion_connection_type": "ssh",
"inventory_connection_type": "winrm",
"source": {
"source_type" : "git",
"git" : {