1. Packages
  2. UpCloud
  3. API Docs
  4. getManagedObjectStoragePolicies
UpCloud v0.8.1 published on Friday, Nov 14, 2025 by UpCloudLtd
upcloud logo
UpCloud v0.8.1 published on Friday, Nov 14, 2025 by UpCloudLtd

    Policies available for a Managed Object Storage resource. See managed_object_storage_user_policy for attaching to a user.

    Using getManagedObjectStoragePolicies

    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 getManagedObjectStoragePolicies(args: GetManagedObjectStoragePoliciesArgs, opts?: InvokeOptions): Promise<GetManagedObjectStoragePoliciesResult>
    function getManagedObjectStoragePoliciesOutput(args: GetManagedObjectStoragePoliciesOutputArgs, opts?: InvokeOptions): Output<GetManagedObjectStoragePoliciesResult>
    def get_managed_object_storage_policies(service_uuid: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetManagedObjectStoragePoliciesResult
    def get_managed_object_storage_policies_output(service_uuid: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetManagedObjectStoragePoliciesResult]
    func GetManagedObjectStoragePolicies(ctx *Context, args *GetManagedObjectStoragePoliciesArgs, opts ...InvokeOption) (*GetManagedObjectStoragePoliciesResult, error)
    func GetManagedObjectStoragePoliciesOutput(ctx *Context, args *GetManagedObjectStoragePoliciesOutputArgs, opts ...InvokeOption) GetManagedObjectStoragePoliciesResultOutput

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

    public static class GetManagedObjectStoragePolicies 
    {
        public static Task<GetManagedObjectStoragePoliciesResult> InvokeAsync(GetManagedObjectStoragePoliciesArgs args, InvokeOptions? opts = null)
        public static Output<GetManagedObjectStoragePoliciesResult> Invoke(GetManagedObjectStoragePoliciesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagedObjectStoragePoliciesResult> getManagedObjectStoragePolicies(GetManagedObjectStoragePoliciesArgs args, InvokeOptions options)
    public static Output<GetManagedObjectStoragePoliciesResult> getManagedObjectStoragePolicies(GetManagedObjectStoragePoliciesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: upcloud:index/getManagedObjectStoragePolicies:getManagedObjectStoragePolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getManagedObjectStoragePolicies Result

    The following output properties are available:

    Id string

    Deprecated: Contains the same value as service_uuid. Use service_uuid instead.

    Policies List<UpCloud.Pulumi.UpCloud.Outputs.GetManagedObjectStoragePoliciesPolicy>
    ServiceUuid string
    Id string

    Deprecated: Contains the same value as service_uuid. Use service_uuid instead.

    Policies []GetManagedObjectStoragePoliciesPolicy
    ServiceUuid string
    id String

    Deprecated: Contains the same value as service_uuid. Use service_uuid instead.

    policies List<GetManagedObjectStoragePoliciesPolicy>
    serviceUuid String
    id string

    Deprecated: Contains the same value as service_uuid. Use service_uuid instead.

    policies GetManagedObjectStoragePoliciesPolicy[]
    serviceUuid string
    id str

    Deprecated: Contains the same value as service_uuid. Use service_uuid instead.

    policies Sequence[GetManagedObjectStoragePoliciesPolicy]
    service_uuid str
    id String

    Deprecated: Contains the same value as service_uuid. Use service_uuid instead.

    policies List<Property Map>
    serviceUuid String

    Supporting Types

    GetManagedObjectStoragePoliciesPolicy

    Arn string
    Policy ARN.
    AttachmentCount int
    Number of attachments.
    CreatedAt string
    Creation time.
    DefaultVersionId string
    Default version ID.
    Description string
    Policy description.
    Document string
    Policy document.
    Name string
    Policy name.
    ServiceUuid string
    Service UUID.
    System bool
    Whether the policy is a system policy.
    UpdatedAt string
    Last updated time.
    Arn string
    Policy ARN.
    AttachmentCount int
    Number of attachments.
    CreatedAt string
    Creation time.
    DefaultVersionId string
    Default version ID.
    Description string
    Policy description.
    Document string
    Policy document.
    Name string
    Policy name.
    ServiceUuid string
    Service UUID.
    System bool
    Whether the policy is a system policy.
    UpdatedAt string
    Last updated time.
    arn String
    Policy ARN.
    attachmentCount Integer
    Number of attachments.
    createdAt String
    Creation time.
    defaultVersionId String
    Default version ID.
    description String
    Policy description.
    document String
    Policy document.
    name String
    Policy name.
    serviceUuid String
    Service UUID.
    system Boolean
    Whether the policy is a system policy.
    updatedAt String
    Last updated time.
    arn string
    Policy ARN.
    attachmentCount number
    Number of attachments.
    createdAt string
    Creation time.
    defaultVersionId string
    Default version ID.
    description string
    Policy description.
    document string
    Policy document.
    name string
    Policy name.
    serviceUuid string
    Service UUID.
    system boolean
    Whether the policy is a system policy.
    updatedAt string
    Last updated time.
    arn str
    Policy ARN.
    attachment_count int
    Number of attachments.
    created_at str
    Creation time.
    default_version_id str
    Default version ID.
    description str
    Policy description.
    document str
    Policy document.
    name str
    Policy name.
    service_uuid str
    Service UUID.
    system bool
    Whether the policy is a system policy.
    updated_at str
    Last updated time.
    arn String
    Policy ARN.
    attachmentCount Number
    Number of attachments.
    createdAt String
    Creation time.
    defaultVersionId String
    Default version ID.
    description String
    Policy description.
    document String
    Policy document.
    name String
    Policy name.
    serviceUuid String
    Service UUID.
    system Boolean
    Whether the policy is a system policy.
    updatedAt String
    Last updated time.

    Package Details

    Repository
    upcloud UpCloudLtd/pulumi-upcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the upcloud Terraform Provider.
    upcloud logo
    UpCloud v0.8.1 published on Friday, Nov 14, 2025 by UpCloudLtd
      Meet Neo: Your AI Platform Teammate