forked from oracle/oci-go-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resource_summary.go
51 lines (36 loc) · 1.69 KB
/
resource_summary.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.
// Search Service API
//
// Search for resources in your cloud network.
//
package resourcesearch
import (
"github.com/oracle/oci-go-sdk/common"
)
// ResourceSummary A resource that exists in the user's cloud network.
type ResourceSummary struct {
// The resource type name.
ResourceType *string `mandatory:"true" json:"resourceType"`
// The unique identifier for this particular resource, usually an OCID.
Identifier *string `mandatory:"true" json:"identifier"`
// The OCID of the compartment that contains this resource.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// The time this resource was created.
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// The display name (or name) of this resource, if one exists.
DisplayName *string `mandatory:"false" json:"displayName"`
// The availability domain this resource is located in, if applicable.
AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
// The lifecycle state of this resource, if applicable.
LifecycleState *string `mandatory:"false" json:"lifecycleState"`
// The freeform tags associated with this resource, if any.
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// The defined tags associated with this resource, if any.
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
// Contains search context, such as highlighting, for found resources.
SearchContext *SearchContext `mandatory:"false" json:"searchContext"`
}
func (m ResourceSummary) String() string {
return common.PointerString(m)
}