Share via


ResourceConfiguration [SPFSDK][VMROLE]

 

Applies To: Windows Azure Pack

The ResourceConfiguration type provides values for parameters that are declared by the ResourceDefinition. For more information, seeParameters and Types [SPFSDK][VMROLE] and VMRoleInstanceView [SPFSDK][VMROLE].

Syntax

{
    "Version": "1.0.0.0",

    "ParameterValues": "{                    
        \"parameter name\" : \"parameter value\",                
        \"parameter name\" : \"parameter value\"
    }"
}

Properties

Important

For more information about the Access column, see Property Access [SPFSDK][VMROLE].

Name

Type

Access

Description

Version

String

RCU

The version of this resource configuration. The format of the version is: <major>.<minor>.<build>.<release>. For example, 6.33.2.10.

ParameterValues

String

RCU

A string of inline JSON name\value pairs that supply the values for the parameters that are defined by the ResourceDefinition type.

Remarks

The following code example provides a sample ResourceConfiguration object.

{
    "Version": "1.0.0.0",

    "ParameterValues": "{                    
        \"MyParameter1\" : \"Value1\",                
        \"MyParameter2\" : \"Value2\"
    }"
}

See Also

VirtualMachineRole (Instance) [SPFSDK][VMROLE]
VMRoleInstanceView [SPFSDK][VMROLE]
Parameters and Types [SPFSDK][VMROLE]
Property Access [SPFSDK][VMROLE]