1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCisCacheSettings
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getCisCacheSettings

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Retrieve an information of an existing internet services cache settings. For more information, about understanding CIS cache settings, see caching concepts.

    Using getCisCacheSettings

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCisCacheSettings(args: GetCisCacheSettingsArgs, opts?: InvokeOptions): Promise<GetCisCacheSettingsResult>
    function getCisCacheSettingsOutput(args: GetCisCacheSettingsOutputArgs, opts?: InvokeOptions): Output<GetCisCacheSettingsResult>
    def get_cis_cache_settings(cis_id: Optional[str] = None,
                               domain_id: Optional[str] = None,
                               id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetCisCacheSettingsResult
    def get_cis_cache_settings_output(cis_id: Optional[pulumi.Input[str]] = None,
                               domain_id: Optional[pulumi.Input[str]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetCisCacheSettingsResult]
    func LookupCisCacheSettings(ctx *Context, args *LookupCisCacheSettingsArgs, opts ...InvokeOption) (*LookupCisCacheSettingsResult, error)
    func LookupCisCacheSettingsOutput(ctx *Context, args *LookupCisCacheSettingsOutputArgs, opts ...InvokeOption) LookupCisCacheSettingsResultOutput

    > Note: This function is named LookupCisCacheSettings in the Go SDK.

    public static class GetCisCacheSettings 
    {
        public static Task<GetCisCacheSettingsResult> InvokeAsync(GetCisCacheSettingsArgs args, InvokeOptions? opts = null)
        public static Output<GetCisCacheSettingsResult> Invoke(GetCisCacheSettingsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCisCacheSettingsResult> getCisCacheSettings(GetCisCacheSettingsArgs args, InvokeOptions options)
    public static Output<GetCisCacheSettingsResult> getCisCacheSettings(GetCisCacheSettingsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getCisCacheSettings:getCisCacheSettings
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CisId string
    The resource CIS ID of the CIS on which zones were created.
    DomainId string
    The resource domain ID of the DNS on which zones were created.
    Id string
    (String) The serve stale content cache ID.
    CisId string
    The resource CIS ID of the CIS on which zones were created.
    DomainId string
    The resource domain ID of the DNS on which zones were created.
    Id string
    (String) The serve stale content cache ID.
    cisId String
    The resource CIS ID of the CIS on which zones were created.
    domainId String
    The resource domain ID of the DNS on which zones were created.
    id String
    (String) The serve stale content cache ID.
    cisId string
    The resource CIS ID of the CIS on which zones were created.
    domainId string
    The resource domain ID of the DNS on which zones were created.
    id string
    (String) The serve stale content cache ID.
    cis_id str
    The resource CIS ID of the CIS on which zones were created.
    domain_id str
    The resource domain ID of the DNS on which zones were created.
    id str
    (String) The serve stale content cache ID.
    cisId String
    The resource CIS ID of the CIS on which zones were created.
    domainId String
    The resource domain ID of the DNS on which zones were created.
    id String
    (String) The serve stale content cache ID.

    getCisCacheSettings Result

    The following output properties are available:

    BrowserExpirations List<GetCisCacheSettingsBrowserExpiration>
    (String) The browser cache TTL (in seconds) specifies how long CDN edge servers cached resources will remain on your visitors' computers.
    CachingLevels List<GetCisCacheSettingsCachingLevel>
    (String) The cache level setting of a specific zone.
    CisId string
    DevelopmentModes List<GetCisCacheSettingsDevelopmentMode>
    (String) The development mode settings of a specific zone.
    DomainId string
    Id string
    (String) The serve stale content cache ID.
    QueryStringSorts List<GetCisCacheSettingsQueryStringSort>
    (String) Enables query string sort settings.
    ServeStaleContents List<GetCisCacheSettingsServeStaleContent>
    (String) The serve stale content will serve pages from CDN edge servers cache if your server is offline.
    BrowserExpirations []GetCisCacheSettingsBrowserExpiration
    (String) The browser cache TTL (in seconds) specifies how long CDN edge servers cached resources will remain on your visitors' computers.
    CachingLevels []GetCisCacheSettingsCachingLevel
    (String) The cache level setting of a specific zone.
    CisId string
    DevelopmentModes []GetCisCacheSettingsDevelopmentMode
    (String) The development mode settings of a specific zone.
    DomainId string
    Id string
    (String) The serve stale content cache ID.
    QueryStringSorts []GetCisCacheSettingsQueryStringSort
    (String) Enables query string sort settings.
    ServeStaleContents []GetCisCacheSettingsServeStaleContent
    (String) The serve stale content will serve pages from CDN edge servers cache if your server is offline.
    browserExpirations List<GetCisCacheSettingsBrowserExpiration>
    (String) The browser cache TTL (in seconds) specifies how long CDN edge servers cached resources will remain on your visitors' computers.
    cachingLevels List<GetCisCacheSettingsCachingLevel>
    (String) The cache level setting of a specific zone.
    cisId String
    developmentModes List<GetCisCacheSettingsDevelopmentMode>
    (String) The development mode settings of a specific zone.
    domainId String
    id String
    (String) The serve stale content cache ID.
    queryStringSorts List<GetCisCacheSettingsQueryStringSort>
    (String) Enables query string sort settings.
    serveStaleContents List<GetCisCacheSettingsServeStaleContent>
    (String) The serve stale content will serve pages from CDN edge servers cache if your server is offline.
    browserExpirations GetCisCacheSettingsBrowserExpiration[]
    (String) The browser cache TTL (in seconds) specifies how long CDN edge servers cached resources will remain on your visitors' computers.
    cachingLevels GetCisCacheSettingsCachingLevel[]
    (String) The cache level setting of a specific zone.
    cisId string
    developmentModes GetCisCacheSettingsDevelopmentMode[]
    (String) The development mode settings of a specific zone.
    domainId string
    id string
    (String) The serve stale content cache ID.
    queryStringSorts GetCisCacheSettingsQueryStringSort[]
    (String) Enables query string sort settings.
    serveStaleContents GetCisCacheSettingsServeStaleContent[]
    (String) The serve stale content will serve pages from CDN edge servers cache if your server is offline.
    browser_expirations Sequence[GetCisCacheSettingsBrowserExpiration]
    (String) The browser cache TTL (in seconds) specifies how long CDN edge servers cached resources will remain on your visitors' computers.
    caching_levels Sequence[GetCisCacheSettingsCachingLevel]
    (String) The cache level setting of a specific zone.
    cis_id str
    development_modes Sequence[GetCisCacheSettingsDevelopmentMode]
    (String) The development mode settings of a specific zone.
    domain_id str
    id str
    (String) The serve stale content cache ID.
    query_string_sorts Sequence[GetCisCacheSettingsQueryStringSort]
    (String) Enables query string sort settings.
    serve_stale_contents Sequence[GetCisCacheSettingsServeStaleContent]
    (String) The serve stale content will serve pages from CDN edge servers cache if your server is offline.
    browserExpirations List<Property Map>
    (String) The browser cache TTL (in seconds) specifies how long CDN edge servers cached resources will remain on your visitors' computers.
    cachingLevels List<Property Map>
    (String) The cache level setting of a specific zone.
    cisId String
    developmentModes List<Property Map>
    (String) The development mode settings of a specific zone.
    domainId String
    id String
    (String) The serve stale content cache ID.
    queryStringSorts List<Property Map>
    (String) Enables query string sort settings.
    serveStaleContents List<Property Map>
    (String) The serve stale content will serve pages from CDN edge servers cache if your server is offline.

    Supporting Types

    GetCisCacheSettingsBrowserExpiration

    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value double
    (String) The serve stale content value. Supported values are on, and off.
    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value float64
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value Double
    (String) The serve stale content value. Supported values are on, and off.
    editable boolean
    (String) The serve stale content editable value.
    id string
    (String) The serve stale content cache ID.
    modifiedOn string
    (String) The serve stale content modified date.
    value number
    (String) The serve stale content value. Supported values are on, and off.
    editable bool
    (String) The serve stale content editable value.
    id str
    (String) The serve stale content cache ID.
    modified_on str
    (String) The serve stale content modified date.
    value float
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value Number
    (String) The serve stale content value. Supported values are on, and off.

    GetCisCacheSettingsCachingLevel

    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value string
    (String) The serve stale content value. Supported values are on, and off.
    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value string
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value String
    (String) The serve stale content value. Supported values are on, and off.
    editable boolean
    (String) The serve stale content editable value.
    id string
    (String) The serve stale content cache ID.
    modifiedOn string
    (String) The serve stale content modified date.
    value string
    (String) The serve stale content value. Supported values are on, and off.
    editable bool
    (String) The serve stale content editable value.
    id str
    (String) The serve stale content cache ID.
    modified_on str
    (String) The serve stale content modified date.
    value str
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value String
    (String) The serve stale content value. Supported values are on, and off.

    GetCisCacheSettingsDevelopmentMode

    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value string
    (String) The serve stale content value. Supported values are on, and off.
    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value string
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value String
    (String) The serve stale content value. Supported values are on, and off.
    editable boolean
    (String) The serve stale content editable value.
    id string
    (String) The serve stale content cache ID.
    modifiedOn string
    (String) The serve stale content modified date.
    value string
    (String) The serve stale content value. Supported values are on, and off.
    editable bool
    (String) The serve stale content editable value.
    id str
    (String) The serve stale content cache ID.
    modified_on str
    (String) The serve stale content modified date.
    value str
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value String
    (String) The serve stale content value. Supported values are on, and off.

    GetCisCacheSettingsQueryStringSort

    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value string
    (String) The serve stale content value. Supported values are on, and off.
    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value string
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value String
    (String) The serve stale content value. Supported values are on, and off.
    editable boolean
    (String) The serve stale content editable value.
    id string
    (String) The serve stale content cache ID.
    modifiedOn string
    (String) The serve stale content modified date.
    value string
    (String) The serve stale content value. Supported values are on, and off.
    editable bool
    (String) The serve stale content editable value.
    id str
    (String) The serve stale content cache ID.
    modified_on str
    (String) The serve stale content modified date.
    value str
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value String
    (String) The serve stale content value. Supported values are on, and off.

    GetCisCacheSettingsServeStaleContent

    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value string
    (String) The serve stale content value. Supported values are on, and off.
    Editable bool
    (String) The serve stale content editable value.
    Id string
    (String) The serve stale content cache ID.
    ModifiedOn string
    (String) The serve stale content modified date.
    Value string
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value String
    (String) The serve stale content value. Supported values are on, and off.
    editable boolean
    (String) The serve stale content editable value.
    id string
    (String) The serve stale content cache ID.
    modifiedOn string
    (String) The serve stale content modified date.
    value string
    (String) The serve stale content value. Supported values are on, and off.
    editable bool
    (String) The serve stale content editable value.
    id str
    (String) The serve stale content cache ID.
    modified_on str
    (String) The serve stale content modified date.
    value str
    (String) The serve stale content value. Supported values are on, and off.
    editable Boolean
    (String) The serve stale content editable value.
    id String
    (String) The serve stale content cache ID.
    modifiedOn String
    (String) The serve stale content modified date.
    value String
    (String) The serve stale content value. Supported values are on, and off.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud