Reference for SetCloudConfiguration
Url: cloud/setConfig
HTTP Method: POST
| Message direction | Format | Body |
|---|---|---|
| Request | XML | Example,Schema |
| Response | XML | Example,Schema |
The following is an example request XML body:
<?xml version="1.0" encoding="utf-16"?>
<cloudServiceConfiguration xmlns="http://apprecovery.com/management/api/2010/05">
<amazonCloudConfiguration>
<maxDownloadThreads>4294967295</maxDownloadThreads>
<maxFileSizeMB>9223372036854775807</maxFileSizeMB>
<maxUploadThreads>2147483647</maxUploadThreads>
<mountBufferSize>2147483647</mountBufferSize>
<readBufferSize>2147483647</readBufferSize>
<requestTimeout>P428DT10H30M12.3S</requestTimeout>
<writeBufferSize>2147483647</writeBufferSize>
<amazonGlacierPartSizeMB>2147483647</amazonGlacierPartSizeMB>
<amazonS3PartSizeMB>2147483647</amazonS3PartSizeMB>
<glacierMaxFileSizeMB>9223372036854775807</glacierMaxFileSizeMB>
<streamingTimeout>P428DT10H30M12.3S</streamingTimeout>
</amazonCloudConfiguration>
<archiveFromCloudDataCacheLocation>String content</archiveFromCloudDataCacheLocation>
<arhiveFromCloudDataCacheMaxSizeBytes>18446744073709551615</arhiveFromCloudDataCacheMaxSizeBytes>
<azureCloudConfiguration>
<maxDownloadThreads>4294967295</maxDownloadThreads>
<maxFileSizeMB>9223372036854775807</maxFileSizeMB>
<maxUploadThreads>2147483647</maxUploadThreads>
<mountBufferSize>2147483647</mountBufferSize>
<readBufferSize>2147483647</readBufferSize>
<requestTimeout>P428DT10H30M12.3S</requestTimeout>
<writeBufferSize>2147483647</writeBufferSize>
<largeObjectSegmentSize>9223372036854775807</largeObjectSegmentSize>
</azureCloudConfiguration>
<cloudAccounts>
<cloudConfiguration>
<accountId>1627aea5-8e0a-4371-9022-9b504344e724</accountId>
<!--Valid elements of type: azureAccountMetadata, amazonAccountMetadata-->
<accountMetadata i:type="azureAccountMetadata" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<isPremiumStorageAccount>true</isPremiumStorageAccount>
</accountMetadata>
<cloudType>None</cloudType>
<!--Valid elements of type: amazonCredentials, openStackCredentials, rackspaceCredentials, windowsAzureCredentials, googleCredentials, windowsAzureResourceManagerCredentials-->
<credentials i:type="amazonCredentials" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<accountKey>String content</accountKey>
<accountName>String content</accountName>
<serviceEndpoint>String content</serviceEndpoint>
</credentials>
<displayName>String content</displayName>
</cloudConfiguration>
<cloudConfiguration>
<accountId>1627aea5-8e0a-4371-9022-9b504344e724</accountId>
<!--Valid elements of type: azureAccountMetadata, amazonAccountMetadata-->
<accountMetadata i:type="azureAccountMetadata" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<isPremiumStorageAccount>true</isPremiumStorageAccount>
</accountMetadata>
<cloudType>None</cloudType>
<!--Valid elements of type: amazonCredentials, openStackCredentials, rackspaceCredentials, windowsAzureCredentials, googleCredentials, windowsAzureResourceManagerCredentials-->
<credentials i:type="amazonCredentials" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<accountKey>String content</accountKey>
<accountName>String content</accountName>
<serviceEndpoint>String content</serviceEndpoint>
</credentials>
<displayName>String content</displayName>
</cloudConfiguration>
</cloudAccounts>
<googleCloudConfiguration>
<maxDownloadThreads>4294967295</maxDownloadThreads>
<maxFileSizeMB>9223372036854775807</maxFileSizeMB>
<maxUploadThreads>2147483647</maxUploadThreads>
<mountBufferSize>2147483647</mountBufferSize>
<readBufferSize>2147483647</readBufferSize>
<requestTimeout>P428DT10H30M12.3S</requestTimeout>
<writeBufferSize>2147483647</writeBufferSize>
</googleCloudConfiguration>
<openStackCloudConfiguration>
<maxDownloadThreads>4294967295</maxDownloadThreads>
<maxFileSizeMB>9223372036854775807</maxFileSizeMB>
<maxUploadThreads>2147483647</maxUploadThreads>
<mountBufferSize>2147483647</mountBufferSize>
<readBufferSize>2147483647</readBufferSize>
<requestTimeout>P428DT10H30M12.3S</requestTimeout>
<writeBufferSize>2147483647</writeBufferSize>
<largeObjectSegmentSize>9223372036854775807</largeObjectSegmentSize>
<maxSegmentBufferCapacity>2147483647</maxSegmentBufferCapacity>
<streamingTimeout>P428DT10H30M12.3S</streamingTimeout>
</openStackCloudConfiguration>
</cloudServiceConfiguration>
The following is an example response XML body:
No Xml response output for this method.
The following is the request XML Schema:
<?xml version="1.0" encoding="utf-16"?>
<Schemas>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://apprecovery.com/management/api/2010/05" elementFormDefault="qualified" targetNamespace="http://apprecovery.com/management/api/2010/05" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud" />
<xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon" />
<xs:import namespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.WindowsAzure.Deployment" />
<xs:complexType name="cloudServiceConfiguration">
<xs:sequence>
<xs:element minOccurs="0" name="amazonCloudConfiguration" nillable="true" type="tns:amazonCloudConfiguration" />
<xs:element minOccurs="0" name="archiveFromCloudDataCacheLocation" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="arhiveFromCloudDataCacheMaxSizeBytes" type="xs:unsignedLong" />
<xs:element minOccurs="0" name="azureCloudConfiguration" nillable="true" type="tns:azureCloudConfiguration" />
<xs:element minOccurs="0" name="cloudAccounts" nillable="true" type="tns:cloudAccountCollection" />
<xs:element minOccurs="0" name="googleCloudConfiguration" nillable="true" type="tns:googleCloudConfiguration" />
<xs:element minOccurs="0" name="openStackCloudConfiguration" nillable="true" type="tns:openStackCloudConfiguration" />
</xs:sequence>
</xs:complexType>
<xs:element name="cloudServiceConfiguration" nillable="true" type="tns:cloudServiceConfiguration" />
<xs:complexType name="amazonCloudConfiguration">
<xs:complexContent mixed="false">
<xs:extension base="tns:cloudConfiguration">
<xs:sequence>
<xs:element minOccurs="0" name="amazonGlacierPartSizeMB" type="xs:int" />
<xs:element minOccurs="0" name="amazonS3PartSizeMB" type="xs:int" />
<xs:element minOccurs="0" name="glacierMaxFileSizeMB" type="xs:long" />
<xs:element minOccurs="0" name="streamingTimeout" type="ser:duration" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="amazonCloudConfiguration" nillable="true" type="tns:amazonCloudConfiguration" />
<xs:complexType name="cloudConfiguration">
<xs:sequence>
<xs:element minOccurs="0" name="maxDownloadThreads" type="xs:unsignedInt" />
<xs:element minOccurs="0" name="maxFileSizeMB" type="xs:long" />
<xs:element minOccurs="0" name="maxUploadThreads" type="xs:int" />
<xs:element minOccurs="0" name="mountBufferSize" type="xs:int" />
<xs:element minOccurs="0" name="readBufferSize" type="xs:int" />
<xs:element minOccurs="0" name="requestTimeout" type="ser:duration" />
<xs:element minOccurs="0" name="writeBufferSize" type="xs:int" />
</xs:sequence>
</xs:complexType>
<xs:element name="cloudConfiguration" nillable="true" type="tns:cloudConfiguration" />
<xs:complexType name="azureCloudConfiguration">
<xs:complexContent mixed="false">
<xs:extension base="tns:cloudConfiguration">
<xs:sequence>
<xs:element minOccurs="0" name="largeObjectSegmentSize" type="xs:long" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="azureCloudConfiguration" nillable="true" type="tns:azureCloudConfiguration" />
<xs:complexType name="openStackCloudConfiguration">
<xs:complexContent mixed="false">
<xs:extension base="tns:cloudConfiguration">
<xs:sequence>
<xs:element minOccurs="0" name="largeObjectSegmentSize" type="xs:long" />
<xs:element minOccurs="0" name="maxSegmentBufferCapacity" type="xs:int" />
<xs:element minOccurs="0" name="streamingTimeout" type="ser:duration" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="openStackCloudConfiguration" nillable="true" type="tns:openStackCloudConfiguration" />
<xs:complexType name="googleCloudConfiguration">
<xs:complexContent mixed="false">
<xs:extension base="tns:cloudConfiguration">
<xs:sequence />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="googleCloudConfiguration" nillable="true" type="tns:googleCloudConfiguration" />
<xs:complexType name="cloudAccountCollection">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="cloudConfiguration" nillable="true" type="tns:cloudAccount" />
</xs:sequence>
</xs:complexType>
<xs:element name="cloudAccountCollection" nillable="true" type="tns:cloudAccountCollection" />
<xs:complexType name="cloudAccount">
<xs:sequence>
<xs:element minOccurs="0" name="accountId" type="ser:guid" />
<xs:element minOccurs="0" name="accountMetadata" nillable="true" type="tns:accountMetadata" />
<xs:element minOccurs="0" name="cloudType" xmlns:q1="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud" type="q1:CloudType" />
<xs:element minOccurs="0" name="credentials" nillable="true" type="tns:cloudCredentials" />
<xs:element minOccurs="0" name="displayName" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="cloudAccount" nillable="true" type="tns:cloudAccount" />
<xs:complexType name="accountMetadata">
<xs:sequence />
</xs:complexType>
<xs:element name="accountMetadata" nillable="true" type="tns:accountMetadata" />
<xs:complexType name="azureAccountMetadata">
<xs:complexContent mixed="false">
<xs:extension base="tns:accountMetadata">
<xs:sequence>
<xs:element minOccurs="0" name="isPremiumStorageAccount" type="xs:boolean" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="azureAccountMetadata" nillable="true" type="tns:azureAccountMetadata" />
<xs:complexType name="amazonAccountMetadata">
<xs:complexContent mixed="false">
<xs:extension base="tns:accountMetadata">
<xs:sequence>
<xs:element minOccurs="0" name="storageClass" xmlns:q2="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon" type="q2:AmazonStorageClass" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="amazonAccountMetadata" nillable="true" type="tns:amazonAccountMetadata" />
<xs:complexType name="cloudCredentials">
<xs:sequence />
</xs:complexType>
<xs:element name="cloudCredentials" nillable="true" type="tns:cloudCredentials" />
<xs:complexType name="amazonCredentials">
<xs:complexContent mixed="false">
<xs:extension base="tns:cloudCredentials">
<xs:sequence>
<xs:element minOccurs="0" name="accountKey" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="accountName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="serviceEndpoint" nillable="true" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="amazonCredentials" nillable="true" type="tns:amazonCredentials" />
<xs:complexType name="openStackCredentials">
<xs:complexContent mixed="false">
<xs:extension base="tns:cloudCredentials">
<xs:sequence>
<xs:element minOccurs="0" name="apiKey" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="authUri" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="defaultRegion" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="password" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="tenantId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="userName" nillable="true" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="openStackCredentials" nillable="true" type="tns:openStackCredentials" />
<xs:complexType name="rackspaceCredentials">
<xs:complexContent mixed="false">
<xs:extension base="tns:openStackCredentials">
<xs:sequence />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="rackspaceCredentials" nillable="true" type="tns:rackspaceCredentials" />
<xs:complexType name="windowsAzureCredentials">
<xs:complexContent mixed="false">
<xs:extension base="tns:cloudCredentials">
<xs:sequence>
<xs:element minOccurs="0" name="accountKey" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="accountName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="azureRegion" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="protocol" nillable="true" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="windowsAzureCredentials" nillable="true" type="tns:windowsAzureCredentials" />
<xs:complexType name="googleCredentials">
<xs:complexContent mixed="false">
<xs:extension base="tns:cloudCredentials">
<xs:sequence>
<xs:element minOccurs="0" name="certificateData" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="certificateFilePath" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="privateKey" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="projectId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="serviceAccountEmail" nillable="true" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="googleCredentials" nillable="true" type="tns:googleCredentials" />
<xs:complexType name="windowsAzureResourceManagerCredentials">
<xs:complexContent mixed="false">
<xs:extension base="tns:cloudCredentials">
<xs:sequence>
<xs:element minOccurs="0" name="azureEnviroment" xmlns:q3="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.WindowsAzure.Deployment" type="q3:AzureCloudEnvironment" />
<xs:element minOccurs="0" name="clientId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="secretClientKey" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="subscriptionId" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="subscriptionName_x0020_" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="tenantId" nillable="true" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="windowsAzureResourceManagerCredentials" nillable="true" type="tns:windowsAzureResourceManagerCredentials" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.Amazon" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="AmazonStorageClass">
<xs:restriction base="xs:string">
<xs:enumeration value="STANDARD" />
<xs:enumeration value="STANDARD_IA" />
<xs:enumeration value="REDUCED_REDUNDANCY" />
</xs:restriction>
</xs:simpleType>
<xs:element name="AmazonStorageClass" nillable="true" type="tns:AmazonStorageClass" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="CloudType">
<xs:restriction base="xs:string">
<xs:enumeration value="None" />
<xs:enumeration value="WindowsAzure" />
<xs:enumeration value="Amazon" />
<xs:enumeration value="OpenStack" />
<xs:enumeration value="Rackspace" />
<xs:enumeration value="Google" />
<xs:enumeration value="WindowsAzureRM" />
</xs:restriction>
</xs:simpleType>
<xs:element name="CloudType" nillable="true" type="tns:CloudType" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.WindowsAzure.Deployment" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.WindowsAzure.Deployment" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="AzureCloudEnvironment">
<xs:restriction base="xs:string">
<xs:enumeration value="AzureGlobalCloud" />
<xs:enumeration value="AzureChinaCloud" />
<xs:enumeration value="AzureGermanCloud" />
<xs:enumeration value="AzureUsGovernment" />
</xs:restriction>
</xs:simpleType>
<xs:element name="AzureCloudEnvironment" nillable="true" type="tns:AzureCloudEnvironment" />
</xs:schema>
</Schemas>
The following is the response XML Schema:
The response body is empty.