OCI CLI Command Reference
3.5.3
  • Oracle Cloud Infrastructure (oci)
  • Analytics (analytics)
  • Announcements Service (announce)
  • API Gateway (api-gateway)
  • Application Migration (application-migration)
  • Application Performance Monitoring Configuration (apm-config)
  • Application Performance Monitoring Control Plane (apm-control-plane)
  • Application Performance Monitoring Synthetic Monitoring (apm-synthetics)
  • Application Performance Monitoring Trace Explorer (apm-traces)
  • AppMgmt Control (appmgmt-control)
  • Audit (audit)
  • Autoscaling (autoscaling)
  • Bastion (bastion)
  • Big Data Service (bds)
  • Block Volume Service (bv)
  • Blockchain Platform Control Plane (blockchain)
  • Budgets (budgets)
  • Certificates Service Management (certs-mgmt)
  • Certificates Service Retrieval (certificates)
  • Cloud Advisor (optimizer)
  • Cloud Guard (cloud-guard)
  • Compute Instance Agent Service (instance-agent)
  • Compute Management Service (compute-management)
  • Compute Service (compute)
  • Container Engine for Kubernetes (ce)
  • Container Images (artifacts)
  • Dashboards (dashboard-service)
  • Data Catalog (data-catalog)
  • Data Connectivity Management (data-connectivity)
  • Data Flow (data-flow)
  • Data Integration (data-integration)
  • Data Labeling (data-labeling-service-dataplane)
  • Data Labeling Management (data-labeling-service)
  • Data Safe (data-safe)
  • Data Science (data-science)
  • Data Transfer Service (dts)
  • Database Management (database-management)
  • Database Service (db)
  • Database Tools (dbtools)
  • DevOps (devops)
  • Digital Assistant Service Instance (oda)
  • DNS (dns)
  • Email Delivery (email)
  • Events (events)
  • File Storage (fs)
  • Functions Service (fn)
  • GoldenGate (goldengate)
  • Health Checks (health-checks)
  • Identity and Access Management Service (iam)
  • Java Management Service (jms)
  • Key Management (kms)
  • Language (ai)
  • Load Balancing (lb)
  • LogAnalytics (log-analytics)
  • Logging Ingestion (logging-ingestion)
  • Logging Management (logging)
  • Logging Search (logging-search)
  • Makes a raw request against an OCI service (raw-request)
  • Management Agent (management-agent)
  • ManagementDashboard (management-dashboard)
  • Marketplace Service (marketplace)
  • Monitoring (monitoring)
  • MySQL Database Service (mysql)
  • Networking Service (network)
  • NetworkLoadBalancer (nlb)
  • None (session)
  • None (setup)
  • NoSQL Database (nosql)
  • Notifications (ons)
  • Object Storage Service (os)
  • OneSubscription Billing Schedule (osub-billing-schedule)
  • OneSubscription Subscription, Commitment and and Rate Card Details (osub-subscription)
  • OneSubscription Usage Computation (osub-usage)
  • OneSubscription Gateway Organization's Subscription (osub-organization-subscription)
  • Operations Insights (opsi)
  • OperatorAccessControl (opctl)
  • Oracle Cloud AI Services (anomaly-detection)
  • Oracle Cloud VMware Solution (ocvs)
  • Oracle Content and Experience (oce)
  • Oracle Database Migration Service (database-migration)
  • Oracle Integration (integration)
  • Organizations (organizations)
  • OS Management (os-management)
  • OSP Gateway (osp-gateway)
  • Resource Manager (resource-manager)
    • Description
    • Available Commands
      • configuration-source-provider
      • job
      • stack
      • template
        • Description
        • Available Commands
      • work-request
  • RoverCloudService (rover)
  • Scanning (vulnerability-scanning)
  • Search Service (search)
  • Secrets Management (vault)
  • Service Catalog (service-catalog)
  • Service Connector Hub (sch)
  • Service Limits (limits)
  • Service Manager Proxy (service-manager-proxy)
  • Speech (speech)
  • Streaming (streaming)
  • Support Management (support)
  • Threat Intelligence (threat-intelligence)
  • Usage (usage-api)
  • UsageApi (usage)
  • Vault Service Secret Retrieval (secrets)
  • VisionService (ai-vision)
  • Visual Builder (visual-builder)
  • Web Application Acceleration and Security Services (waas)
  • Web Application Firewall (WAF) (waf)
  • Work Requests (work-requests)
OCI CLI Command Reference
  • Docs »
  • resource-manager »
  • template »
  • get-template-logo
  • View page source

get-template-logo¶

  • Description

  • Usage

  • Required Parameters

  • Optional Parameters

  • Global Parameters

  • Examples

Description¶

Returns the Terraform logo file in .logo format for the specified template. Returns an error if no logo file is found.

Usage¶

oci resource-manager template get-template-logo [OPTIONS]

Required Parameters¶

--file [filename]¶

The name of the file that will receive the response data, or ‘-‘ to write to STDOUT.

--template-id [text]¶

The OCID of the template.

Optional Parameters¶

--from-json [text]¶

Provide input to this command as a JSON document from a file using the file://path-to/file syntax.

The --generate-full-command-json-input option can be used to generate a sample json file to be used with this command option. The key names are pre-populated and match the command option names (converted to camelCase format, e.g. compartment-id –> compartmentId), while the values of the keys need to be populated by the user before using the sample file as an input to this command. For any command option that accepts multiple values, the value of the key can be a JSON array.

Options can still be provided on the command line. If an option exists in both the JSON document and the command line then the command line specified value will be used.

For examples on usage of this option, please see our “using CLI with advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/cliusing.htm#AdvancedJSONOptions

Global Parameters¶

Use oci --help for help on global parameters.

--auth-purpose, --auth, --cert-bundle, --cli-rc-file, --config-file, --debug, --defaults-file, --endpoint, --generate-full-command-json-input, --generate-param-json-input, --help, --latest-version, --max-retries, --no-retry, --opc-client-request-id, --opc-request-id, --output, --profile, --query, --raw-output, --region, --release-info, --request-id, --version, -?, -d, -h, -v

Examples¶

Copy the following CLI commands into a file named example.sh. Run the command by typing “bash example.sh” and replacing the example parameters with your own.

Please note this sample will only work in the POSIX-compliant bash-like shell. You need to set up the OCI configuration and appropriate security policies before trying the examples.

    export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-manager/template/create.html#cmdoption-compartment-id
    export config_source=<substitute-value-of-config_source> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-manager/template/create.html#cmdoption-config-source
    export description=<substitute-value-of-description> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-manager/template/create.html#cmdoption-description
    export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-manager/template/create.html#cmdoption-display-name
    export file=<substitute-value-of-file> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-manager/template/get-template-logo.html#cmdoption-file

    template_id=$(oci resource-manager template create --compartment-id $compartment_id --config-source $config_source --description $description --display-name $display_name --query data.id --raw-output)

    oci resource-manager template get-template-logo --file $file --template-id $template_id
Next Previous

© Copyright 2016, 2022, Oracle

Built with Sphinx using a theme provided by Read the Docs.