intersight.EnergyMetrics
Explore with Pulumi AI
Returns carbon intensity, power breakdown, and electricity rate power metrics for a set of locations and a time span.
Create EnergyMetrics Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnergyMetrics(name: string, args?: EnergyMetricsArgs, opts?: CustomResourceOptions);
@overload
def EnergyMetrics(resource_name: str,
args: Optional[EnergyMetricsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def EnergyMetrics(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_moid: Optional[str] = None,
additional_properties: Optional[str] = None,
ancestors: Optional[Sequence[EnergyMetricsAncestorArgs]] = None,
class_id: Optional[str] = None,
create_time: Optional[str] = None,
domain_group_moid: Optional[str] = None,
energy_metrics_id: Optional[str] = None,
mod_time: Optional[str] = None,
moid: Optional[str] = None,
object_type: Optional[str] = None,
owners: Optional[Sequence[str]] = None,
parents: Optional[Sequence[EnergyMetricsParentArgs]] = None,
permission_resources: Optional[Sequence[EnergyMetricsPermissionResourceArgs]] = None,
shared_scope: Optional[str] = None,
tags: Optional[Sequence[EnergyMetricsTagArgs]] = None,
version_contexts: Optional[Sequence[EnergyMetricsVersionContextArgs]] = None)
func NewEnergyMetrics(ctx *Context, name string, args *EnergyMetricsArgs, opts ...ResourceOption) (*EnergyMetrics, error)
public EnergyMetrics(string name, EnergyMetricsArgs? args = null, CustomResourceOptions? opts = null)
public EnergyMetrics(String name, EnergyMetricsArgs args)
public EnergyMetrics(String name, EnergyMetricsArgs args, CustomResourceOptions options)
type: intersight:EnergyMetrics
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EnergyMetricsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EnergyMetricsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EnergyMetricsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnergyMetricsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnergyMetricsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var energyMetricsResource = new Intersight.EnergyMetrics("energyMetricsResource", new()
{
AccountMoid = "string",
AdditionalProperties = "string",
Ancestors = new[]
{
new Intersight.Inputs.EnergyMetricsAncestorArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
ClassId = "string",
CreateTime = "string",
DomainGroupMoid = "string",
EnergyMetricsId = "string",
ModTime = "string",
Moid = "string",
ObjectType = "string",
Owners = new[]
{
"string",
},
Parents = new[]
{
new Intersight.Inputs.EnergyMetricsParentArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
PermissionResources = new[]
{
new Intersight.Inputs.EnergyMetricsPermissionResourceArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
SharedScope = "string",
Tags = new[]
{
new Intersight.Inputs.EnergyMetricsTagArgs
{
AdditionalProperties = "string",
Key = "string",
Value = "string",
},
},
VersionContexts = new[]
{
new Intersight.Inputs.EnergyMetricsVersionContextArgs
{
AdditionalProperties = "string",
ClassId = "string",
InterestedMos = new[]
{
new Intersight.Inputs.EnergyMetricsVersionContextInterestedMoArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
MarkedForDeletion = false,
NrVersion = "string",
ObjectType = "string",
RefMos = new[]
{
new Intersight.Inputs.EnergyMetricsVersionContextRefMoArgs
{
AdditionalProperties = "string",
ClassId = "string",
Moid = "string",
ObjectType = "string",
Selector = "string",
},
},
Timestamp = "string",
VersionType = "string",
},
},
});
example, err := intersight.NewEnergyMetrics(ctx, "energyMetricsResource", &intersight.EnergyMetricsArgs{
AccountMoid: pulumi.String("string"),
AdditionalProperties: pulumi.String("string"),
Ancestors: intersight.EnergyMetricsAncestorArray{
&intersight.EnergyMetricsAncestorArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
ClassId: pulumi.String("string"),
CreateTime: pulumi.String("string"),
DomainGroupMoid: pulumi.String("string"),
EnergyMetricsId: pulumi.String("string"),
ModTime: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Owners: pulumi.StringArray{
pulumi.String("string"),
},
Parents: intersight.EnergyMetricsParentArray{
&intersight.EnergyMetricsParentArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
PermissionResources: intersight.EnergyMetricsPermissionResourceArray{
&intersight.EnergyMetricsPermissionResourceArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
SharedScope: pulumi.String("string"),
Tags: intersight.EnergyMetricsTagArray{
&intersight.EnergyMetricsTagArgs{
AdditionalProperties: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
VersionContexts: intersight.EnergyMetricsVersionContextArray{
&intersight.EnergyMetricsVersionContextArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
InterestedMos: intersight.EnergyMetricsVersionContextInterestedMoArray{
&intersight.EnergyMetricsVersionContextInterestedMoArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
MarkedForDeletion: pulumi.Bool(false),
NrVersion: pulumi.String("string"),
ObjectType: pulumi.String("string"),
RefMos: intersight.EnergyMetricsVersionContextRefMoArray{
&intersight.EnergyMetricsVersionContextRefMoArgs{
AdditionalProperties: pulumi.String("string"),
ClassId: pulumi.String("string"),
Moid: pulumi.String("string"),
ObjectType: pulumi.String("string"),
Selector: pulumi.String("string"),
},
},
Timestamp: pulumi.String("string"),
VersionType: pulumi.String("string"),
},
},
})
var energyMetricsResource = new EnergyMetrics("energyMetricsResource", EnergyMetricsArgs.builder()
.accountMoid("string")
.additionalProperties("string")
.ancestors(EnergyMetricsAncestorArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.classId("string")
.createTime("string")
.domainGroupMoid("string")
.energyMetricsId("string")
.modTime("string")
.moid("string")
.objectType("string")
.owners("string")
.parents(EnergyMetricsParentArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.permissionResources(EnergyMetricsPermissionResourceArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.sharedScope("string")
.tags(EnergyMetricsTagArgs.builder()
.additionalProperties("string")
.key("string")
.value("string")
.build())
.versionContexts(EnergyMetricsVersionContextArgs.builder()
.additionalProperties("string")
.classId("string")
.interestedMos(EnergyMetricsVersionContextInterestedMoArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.markedForDeletion(false)
.nrVersion("string")
.objectType("string")
.refMos(EnergyMetricsVersionContextRefMoArgs.builder()
.additionalProperties("string")
.classId("string")
.moid("string")
.objectType("string")
.selector("string")
.build())
.timestamp("string")
.versionType("string")
.build())
.build());
energy_metrics_resource = intersight.EnergyMetrics("energyMetricsResource",
account_moid="string",
additional_properties="string",
ancestors=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
class_id="string",
create_time="string",
domain_group_moid="string",
energy_metrics_id="string",
mod_time="string",
moid="string",
object_type="string",
owners=["string"],
parents=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
permission_resources=[{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
shared_scope="string",
tags=[{
"additional_properties": "string",
"key": "string",
"value": "string",
}],
version_contexts=[{
"additional_properties": "string",
"class_id": "string",
"interested_mos": [{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
"marked_for_deletion": False,
"nr_version": "string",
"object_type": "string",
"ref_mos": [{
"additional_properties": "string",
"class_id": "string",
"moid": "string",
"object_type": "string",
"selector": "string",
}],
"timestamp": "string",
"version_type": "string",
}])
const energyMetricsResource = new intersight.EnergyMetrics("energyMetricsResource", {
accountMoid: "string",
additionalProperties: "string",
ancestors: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
classId: "string",
createTime: "string",
domainGroupMoid: "string",
energyMetricsId: "string",
modTime: "string",
moid: "string",
objectType: "string",
owners: ["string"],
parents: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
permissionResources: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
sharedScope: "string",
tags: [{
additionalProperties: "string",
key: "string",
value: "string",
}],
versionContexts: [{
additionalProperties: "string",
classId: "string",
interestedMos: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
markedForDeletion: false,
nrVersion: "string",
objectType: "string",
refMos: [{
additionalProperties: "string",
classId: "string",
moid: "string",
objectType: "string",
selector: "string",
}],
timestamp: "string",
versionType: "string",
}],
});
type: intersight:EnergyMetrics
properties:
accountMoid: string
additionalProperties: string
ancestors:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
classId: string
createTime: string
domainGroupMoid: string
energyMetricsId: string
modTime: string
moid: string
objectType: string
owners:
- string
parents:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
permissionResources:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
sharedScope: string
tags:
- additionalProperties: string
key: string
value: string
versionContexts:
- additionalProperties: string
classId: string
interestedMos:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
markedForDeletion: false
nrVersion: string
objectType: string
refMos:
- additionalProperties: string
classId: string
moid: string
objectType: string
selector: string
timestamp: string
versionType: string
EnergyMetrics Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The EnergyMetrics resource accepts the following input properties:
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
List<Energy
Metrics Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Create
Time string - (ReadOnly) The time when this managed object was created.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Energy
Metrics stringId - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Owners List<string>
- (Array of schema.TypeString) -(ReadOnly)
- Parents
List<Energy
Metrics Parent> - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Permission
Resources List<EnergyMetrics Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Energy
Metrics Tag> - This complex property has following sub-properties:
- Version
Contexts List<EnergyMetrics Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
[]Energy
Metrics Ancestor Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Create
Time string - (ReadOnly) The time when this managed object was created.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Energy
Metrics stringId - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Owners []string
- (Array of schema.TypeString) -(ReadOnly)
- Parents
[]Energy
Metrics Parent Args - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Permission
Resources []EnergyMetrics Permission Resource Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- []Energy
Metrics Tag Args - This complex property has following sub-properties:
- Version
Contexts []EnergyMetrics Version Context Args - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors
List<Energy
Metrics Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id String - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- create
Time String - (ReadOnly) The time when this managed object was created.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- energy
Metrics StringId - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents
List<Energy
Metrics Parent> - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<EnergyMetrics Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Energy
Metrics Tag> - This complex property has following sub-properties:
- version
Contexts List<EnergyMetrics Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid string - (ReadOnly) The Account ID for this managed object.
- additional
Properties string - ancestors
Energy
Metrics Ancestor[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- create
Time string - (ReadOnly) The time when this managed object was created.
- domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- energy
Metrics stringId - mod
Time string - (ReadOnly) The time when this managed object was last modified.
- moid string
- The unique identifier of this Managed Object instance.
- object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- owners string[]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Energy
Metrics Parent[] - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources EnergyMetrics Permission Resource[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- Energy
Metrics Tag[] - This complex property has following sub-properties:
- version
Contexts EnergyMetrics Version Context[] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account_
moid str - (ReadOnly) The Account ID for this managed object.
- additional_
properties str - ancestors
Sequence[Energy
Metrics Ancestor Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class_
id str - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- create_
time str - (ReadOnly) The time when this managed object was created.
- domain_
group_ strmoid - (ReadOnly) The DomainGroup ID for this managed object.
- energy_
metrics_ strid - mod_
time str - (ReadOnly) The time when this managed object was last modified.
- moid str
- The unique identifier of this Managed Object instance.
- object_
type str - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- owners Sequence[str]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Sequence[Energy
Metrics Parent Args] - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission_
resources Sequence[EnergyMetrics Permission Resource Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- str
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- Sequence[Energy
Metrics Tag Args] - This complex property has following sub-properties:
- version_
contexts Sequence[EnergyMetrics Version Context Args] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors List<Property Map>
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id String - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- create
Time String - (ReadOnly) The time when this managed object was created.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- energy
Metrics StringId - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents List<Property Map>
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<Property Map> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Property Map>
- This complex property has following sub-properties:
- version
Contexts List<Property Map> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the EnergyMetrics resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EnergyMetrics Resource
Get an existing EnergyMetrics resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: EnergyMetricsState, opts?: CustomResourceOptions): EnergyMetrics
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_moid: Optional[str] = None,
additional_properties: Optional[str] = None,
ancestors: Optional[Sequence[EnergyMetricsAncestorArgs]] = None,
class_id: Optional[str] = None,
create_time: Optional[str] = None,
domain_group_moid: Optional[str] = None,
energy_metrics_id: Optional[str] = None,
mod_time: Optional[str] = None,
moid: Optional[str] = None,
object_type: Optional[str] = None,
owners: Optional[Sequence[str]] = None,
parents: Optional[Sequence[EnergyMetricsParentArgs]] = None,
permission_resources: Optional[Sequence[EnergyMetricsPermissionResourceArgs]] = None,
shared_scope: Optional[str] = None,
tags: Optional[Sequence[EnergyMetricsTagArgs]] = None,
version_contexts: Optional[Sequence[EnergyMetricsVersionContextArgs]] = None) -> EnergyMetrics
func GetEnergyMetrics(ctx *Context, name string, id IDInput, state *EnergyMetricsState, opts ...ResourceOption) (*EnergyMetrics, error)
public static EnergyMetrics Get(string name, Input<string> id, EnergyMetricsState? state, CustomResourceOptions? opts = null)
public static EnergyMetrics get(String name, Output<String> id, EnergyMetricsState state, CustomResourceOptions options)
resources: _: type: intersight:EnergyMetrics get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
List<Energy
Metrics Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Create
Time string - (ReadOnly) The time when this managed object was created.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Energy
Metrics stringId - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Owners List<string>
- (Array of schema.TypeString) -(ReadOnly)
- Parents
List<Energy
Metrics Parent> - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Permission
Resources List<EnergyMetrics Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Energy
Metrics Tag> - This complex property has following sub-properties:
- Version
Contexts List<EnergyMetrics Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- Account
Moid string - (ReadOnly) The Account ID for this managed object.
- Additional
Properties string - Ancestors
[]Energy
Metrics Ancestor Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- Class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Create
Time string - (ReadOnly) The time when this managed object was created.
- Domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- Energy
Metrics stringId - Mod
Time string - (ReadOnly) The time when this managed object was last modified.
- Moid string
- The unique identifier of this Managed Object instance.
- Object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- Owners []string
- (Array of schema.TypeString) -(ReadOnly)
- Parents
[]Energy
Metrics Parent Args - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- Permission
Resources []EnergyMetrics Permission Resource Args - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- []Energy
Metrics Tag Args - This complex property has following sub-properties:
- Version
Contexts []EnergyMetrics Version Context Args - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors
List<Energy
Metrics Ancestor> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id String - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- create
Time String - (ReadOnly) The time when this managed object was created.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- energy
Metrics StringId - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents
List<Energy
Metrics Parent> - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<EnergyMetrics Permission Resource> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Energy
Metrics Tag> - This complex property has following sub-properties:
- version
Contexts List<EnergyMetrics Version Context> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid string - (ReadOnly) The Account ID for this managed object.
- additional
Properties string - ancestors
Energy
Metrics Ancestor[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id string - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- create
Time string - (ReadOnly) The time when this managed object was created.
- domain
Group stringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- energy
Metrics stringId - mod
Time string - (ReadOnly) The time when this managed object was last modified.
- moid string
- The unique identifier of this Managed Object instance.
- object
Type string - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- owners string[]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Energy
Metrics Parent[] - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources EnergyMetrics Permission Resource[] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- string
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- Energy
Metrics Tag[] - This complex property has following sub-properties:
- version
Contexts EnergyMetrics Version Context[] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account_
moid str - (ReadOnly) The Account ID for this managed object.
- additional_
properties str - ancestors
Sequence[Energy
Metrics Ancestor Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class_
id str - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- create_
time str - (ReadOnly) The time when this managed object was created.
- domain_
group_ strmoid - (ReadOnly) The DomainGroup ID for this managed object.
- energy_
metrics_ strid - mod_
time str - (ReadOnly) The time when this managed object was last modified.
- moid str
- The unique identifier of this Managed Object instance.
- object_
type str - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- owners Sequence[str]
- (Array of schema.TypeString) -(ReadOnly)
- parents
Sequence[Energy
Metrics Parent Args] - (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission_
resources Sequence[EnergyMetrics Permission Resource Args] - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- str
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- Sequence[Energy
Metrics Tag Args] - This complex property has following sub-properties:
- version_
contexts Sequence[EnergyMetrics Version Context Args] - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
- account
Moid String - (ReadOnly) The Account ID for this managed object.
- additional
Properties String - ancestors List<Property Map>
- (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- class
Id String - The fully-qualified name of the instantiated, concrete type. This property is used as a discriminator to identify the type of the payload when marshaling and unmarshaling data. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- create
Time String - (ReadOnly) The time when this managed object was created.
- domain
Group StringMoid - (ReadOnly) The DomainGroup ID for this managed object.
- energy
Metrics StringId - mod
Time String - (ReadOnly) The time when this managed object was last modified.
- moid String
- The unique identifier of this Managed Object instance.
- object
Type String - The fully-qualified name of the instantiated, concrete type. The value should be the same as the 'ClassId' property. The enum values provides the list of concrete types that can be instantiated from this abstract type.
- owners List<String>
- (Array of schema.TypeString) -(ReadOnly)
- parents List<Property Map>
- (ReadOnly) A reference to a moBaseMo resource.When the $expand query parameter is specified, the referenced resource is returned inline. This complex property has following sub-properties:
- permission
Resources List<Property Map> - (ReadOnly) An array of relationships to moBaseMo resources. This complex property has following sub-properties:
- String
- (ReadOnly) Intersight provides pre-built workflows, tasks and policies to end users through global catalogs.Objects that are made available through global catalogs are said to have a 'shared' ownership. Shared objects are either made globally available to all end users or restricted to end users based on their license entitlement. Users can use this property to differentiate the scope (global or a specific license tier) to which a shared MO belongs.
- List<Property Map>
- This complex property has following sub-properties:
- version
Contexts List<Property Map> - (ReadOnly) The versioning info for this managed object. This complex property has following sub-properties:
Supporting Types
EnergyMetricsAncestor, EnergyMetricsAncestorArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
EnergyMetricsParent, EnergyMetricsParentArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
EnergyMetricsPermissionResource, EnergyMetricsPermissionResourceArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
EnergyMetricsTag, EnergyMetricsTagArgs
- Additional
Properties string - Key string
- The string representation of a tag key.
- Value string
- The string representation of a tag value.
- Additional
Properties string - Key string
- The string representation of a tag key.
- Value string
- The string representation of a tag value.
- additional
Properties String - key String
- The string representation of a tag key.
- value String
- The string representation of a tag value.
- additional
Properties string - key string
- The string representation of a tag key.
- value string
- The string representation of a tag value.
- additional_
properties str - key str
- The string representation of a tag key.
- value str
- The string representation of a tag value.
- additional
Properties String - key String
- The string representation of a tag key.
- value String
- The string representation of a tag value.
EnergyMetricsVersionContext, EnergyMetricsVersionContextArgs
- Additional
Properties string - Class
Id string - Interested
Mos List<EnergyMetrics Version Context Interested Mo> - This complex property has following sub-properties:
- Marked
For boolDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- Nr
Version string - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- Object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- Ref
Mos List<EnergyMetrics Version Context Ref Mo> - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- Timestamp string
- (ReadOnly) The time this versioned Managed Object was created.
- Version
Type string - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- Additional
Properties string - Class
Id string - Interested
Mos []EnergyMetrics Version Context Interested Mo - This complex property has following sub-properties:
- Marked
For boolDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- Nr
Version string - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- Object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- Ref
Mos []EnergyMetrics Version Context Ref Mo - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- Timestamp string
- (ReadOnly) The time this versioned Managed Object was created.
- Version
Type string - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- additional
Properties String - class
Id String - interested
Mos List<EnergyMetrics Version Context Interested Mo> - This complex property has following sub-properties:
- marked
For BooleanDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- nr
Version String - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object
Type String - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref
Mos List<EnergyMetrics Version Context Ref Mo> - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp String
- (ReadOnly) The time this versioned Managed Object was created.
- version
Type String - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- additional
Properties string - class
Id string - interested
Mos EnergyMetrics Version Context Interested Mo[] - This complex property has following sub-properties:
- marked
For booleanDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- nr
Version string - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object
Type string - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref
Mos EnergyMetrics Version Context Ref Mo[] - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp string
- (ReadOnly) The time this versioned Managed Object was created.
- version
Type string - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- additional_
properties str - class_
id str - interested_
mos Sequence[EnergyMetrics Version Context Interested Mo] - This complex property has following sub-properties:
- marked_
for_ booldeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- nr_
version str - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object_
type str - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref_
mos Sequence[EnergyMetrics Version Context Ref Mo] - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp str
- (ReadOnly) The time this versioned Managed Object was created.
- version_
type str - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
- additional
Properties String - class
Id String - interested
Mos List<Property Map> - This complex property has following sub-properties:
- marked
For BooleanDeletion - (ReadOnly) The flag to indicate if snapshot is marked for deletion or not. If flag is set then snapshot will be removed after the successful deployment of the policy.
- nr
Version String - (ReadOnly) The version of the Managed Object, e.g. an incrementing number or a hash id.
- object
Type String - The fully-qualified name of the instantiated, concrete type.The value should be the same as the 'ClassId' property.
- ref
Mos List<Property Map> - (ReadOnly) A reference to the original Managed Object. This complex property has following sub-properties:
- timestamp String
- (ReadOnly) The time this versioned Managed Object was created.
- version
Type String - (ReadOnly) Specifies type of version. Currently the only supported value is \ Configured\ that is used to keep track of snapshots of policies and profiles that are intendedto be configured to target endpoints.*
Modified
- Version created every time an object is modified.*Configured
- Version created every time an object is configured to the service profile.*Deployed
- Version created for objects related to a service profile when it is deployed.
EnergyMetricsVersionContextInterestedMo, EnergyMetricsVersionContextInterestedMoArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
EnergyMetricsVersionContextRefMo, EnergyMetricsVersionContextRefMoArgs
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- Additional
Properties string - Class
Id string - Moid string
- The Moid of the referenced REST resource.
- Object
Type string - The fully-qualified name of the remote type referred by this relationship.
- Selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties string - class
Id string - moid string
- The Moid of the referenced REST resource.
- object
Type string - The fully-qualified name of the remote type referred by this relationship.
- selector string
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional_
properties str - class_
id str - moid str
- The Moid of the referenced REST resource.
- object_
type str - The fully-qualified name of the remote type referred by this relationship.
- selector str
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
- additional
Properties String - class
Id String - moid String
- The Moid of the referenced REST resource.
- object
Type String - The fully-qualified name of the remote type referred by this relationship.
- selector String
- An OData $filter expression which describes the REST resource to be referenced. This field maybe set instead of 'moid' by clients.1. If 'moid' is set this field is ignored.1. If 'selector' is set and 'moid' is empty/absent from the request, Intersight determines the Moid of theresource matching the filter expression and populates it in the MoRef that is part of the objectinstance being inserted/updated to fulfill the REST request.An error is returned if the filter matches zero or more than one REST resource.An example filter string is: Serial eq '3AA8B7T11'.
Import
intersight_energy_metrics
can be imported using the Moid of the object, e.g.
$ pulumi import intersight:index/energyMetrics:EnergyMetrics example 1234567890987654321abcde
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- intersight ciscodevnet/terraform-provider-intersight
- License
- Notes
- This Pulumi package is based on the
intersight
Terraform Provider.