Name | Type | Description | Notes |
---|---|---|---|
Name | string | The name of the remote resource. | |
Description | Pointer to string | A description of the remote resource. | [optional] |
ResourceType | ResourceTypeEnum | ||
AppId | string | The ID of the app for the resource. | |
RemoteResourceId | Pointer to string | The ID of the resource on the remote system. Include only for items linked to remote systems. See this guide for details on how to specify this field. | [optional] |
Metadata | Pointer to string | JSON metadata about the remote resource. Include only for items linked to remote systems. See this guide for details on how to specify this field. The required format is dependent on resource_type and should have the following schema: <style type="text/css"> code {max-height:300px !important} </style> ```json { "$schema": "http://json-schema.org/draft-04/schema#\", "title": "Resource Metadata", "properties": { "aws_ec2_instance": { "properties": { "instance_id": { "type": "string" }, "region": { "type": "string" } }, "required": ["instance_id", "region"], "additionalProperties": false, "type": "object", "title": "AWS EC2 Instance" }, "aws_eks_cluster": { "properties": { "cluster_name": { "type": "string" }, "cluster_region": { "type": "string" }, "cluster_arn": { "type": "string" } }, "required": ["cluster_name", "cluster_region", "cluster_arn"], "additionalProperties": false, "type": "object", "title": "AWS EKS Cluster" }, "aws_rds_instance": { "properties": { "instance_id": { "type": "string" }, "engine": { "type": "string" }, "region": { "type": "string" }, "resource_id": { "type": "string" }, "database_name": { "type": "string" } }, "required": [ "instance_id", "engine", "region", "resource_id", "database_name" ], "additionalProperties": false, "type": "object", "title": "AWS RDS Instance" }, "aws_role": { "properties": { "arn": { "type": "string" }, "name": { "type": "string" } }, "required": ["arn", "name"], "additionalProperties": false, "type": "object", "title": "AWS Role" }, "gcp_bucket": { "properties": { "bucket_id": { "type": "string" } }, "required": ["bucket_id"], "additionalProperties": false, "type": "object", "title": "GCP Bucket" }, "gcp_compute_instance": { "properties": { "instance_id": { "type": "string" }, "project_id": { "type": "string" }, "zone": { "type": "string" } }, "required": ["instance_id", "project_id", "zone"], "additionalProperties": false, "type": "object", "title": "GCP Compute Instance" }, "gcp_folder": { "properties": { "folder_id": { "type": "string" } }, "required": ["folder_id"], "additionalProperties": false, "type": "object", "title": "GCP Folder" }, "gcp_gke_cluster": { "properties": { "cluster_name": { "type": "string" } }, "required": ["cluster_name"], "additionalProperties": false, "type": "object", "title": "GCP GKE Cluster" }, "gcp_project": { "properties": { "project_id": { "type": "string" } }, "required": ["project_id"], "additionalProperties": false, "type": "object", "title": "GCP Project" }, "gcp_sql_instance": { "properties": { "instance_id": { "type": "string" }, "project_id": { "type": "string" } }, "required": ["instance_id", "project_id"], "additionalProperties": false, "type": "object", "title": "GCP SQL Instance" }, "git_hub_repo": { "properties": { "org_name": { "type": "string" }, "repo_name": { "type": "string" } }, "required": ["org_name", "repo_name"], "additionalProperties": false, "type": "object", "title": "GitHub Repo" }, "okta_directory_app": { "properties": { "app_id": { "type": "string" }, "logo_url": { "type": "string" } }, "required": ["app_id", "logo_url"], "additionalProperties": false, "type": "object", "title": "Okta Directory App" }, "okta_directory_role": { "properties": { "role_type": { "type": "string" }, "role_id": { "type": "string" } }, "required": ["role_type", "role_id"], "additionalProperties": false, "type": "object", "title": "Okta Directory Role" }, "salesforce_profile": { "properties": { "user_license": { "type": "string" } }, "required": ["user_license"], "additionalProperties": false, "type": "object", "title": "Salesforce Profile" } }, "additionalProperties": false, "minProperties": 1, "maxProperties": 1, "type": "object" } ``` | [optional] |
func NewCreateResourceInfo(name string, resourceType ResourceTypeEnum, appId string, ) *CreateResourceInfo
NewCreateResourceInfo instantiates a new CreateResourceInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateResourceInfoWithDefaults() *CreateResourceInfo
NewCreateResourceInfoWithDefaults instantiates a new CreateResourceInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CreateResourceInfo) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateResourceInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateResourceInfo) SetName(v string)
SetName sets Name field to given value.
func (o *CreateResourceInfo) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateResourceInfo) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateResourceInfo) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateResourceInfo) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateResourceInfo) GetResourceType() ResourceTypeEnum
GetResourceType returns the ResourceType field if non-nil, zero value otherwise.
func (o *CreateResourceInfo) GetResourceTypeOk() (*ResourceTypeEnum, bool)
GetResourceTypeOk returns a tuple with the ResourceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateResourceInfo) SetResourceType(v ResourceTypeEnum)
SetResourceType sets ResourceType field to given value.
func (o *CreateResourceInfo) GetAppId() string
GetAppId returns the AppId field if non-nil, zero value otherwise.
func (o *CreateResourceInfo) GetAppIdOk() (*string, bool)
GetAppIdOk returns a tuple with the AppId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateResourceInfo) SetAppId(v string)
SetAppId sets AppId field to given value.
func (o *CreateResourceInfo) GetRemoteResourceId() string
GetRemoteResourceId returns the RemoteResourceId field if non-nil, zero value otherwise.
func (o *CreateResourceInfo) GetRemoteResourceIdOk() (*string, bool)
GetRemoteResourceIdOk returns a tuple with the RemoteResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateResourceInfo) SetRemoteResourceId(v string)
SetRemoteResourceId sets RemoteResourceId field to given value.
func (o *CreateResourceInfo) HasRemoteResourceId() bool
HasRemoteResourceId returns a boolean if a field has been set.
func (o *CreateResourceInfo) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *CreateResourceInfo) GetMetadataOk() (*string, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateResourceInfo) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *CreateResourceInfo) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.