Reference for GetSubscriptions

Url: armmanagement/getSubscriptionIds

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"?>
<windowsAzureResourceManagerCredentials xmlns="http://apprecovery.com/management/api/2010/05">
  <azureEnviroment>AzureGlobalCloud</azureEnviroment>
  <clientId>String content</clientId>
  <secretClientKey>String content</secretClientKey>
  <subscriptionId>String content</subscriptionId>
  <subscriptionName_x0020_>String content</subscriptionName_x0020_>
  <tenantId>String content</tenantId>
</windowsAzureResourceManagerCredentials>

The following is an example response XML body:

<?xml version="1.0" encoding="utf-16"?>
<namedValueCollection xmlns="http://apprecovery.com/management/api/2010/05">
  <namedValue>
    <m_Item1 xmlns="http://schemas.datacontract.org/2004/07/System">String content</m_Item1>
    <m_Item2 xmlns="http://schemas.datacontract.org/2004/07/System">String content</m_Item2>
  </namedValue>
  <namedValue>
    <m_Item1 xmlns="http://schemas.datacontract.org/2004/07/System">String content</m_Item1>
    <m_Item2 xmlns="http://schemas.datacontract.org/2004/07/System">String content</m_Item2>
  </namedValue>
</namedValueCollection>

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: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.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.WindowsAzure.Deployment" />
    <xs:complexType name="windowsAzureResourceManagerCredentials">
      <xs:complexContent mixed="false">
        <xs:extension base="tns:cloudCredentials">
          <xs:sequence>
            <xs:element minOccurs="0" name="azureEnviroment" xmlns:q1="http://schemas.datacontract.org/2004/07/Replay.Common.Contracts.Cloud.WindowsAzure.Deployment" type="q1: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: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: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:

<?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: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.datacontract.org/2004/07/System" />
    <xs:complexType name="namedValueCollection">
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="unbounded" name="namedValue" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/System" type="q1:TupleOfstringstring" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="namedValueCollection" nillable="true" type="tns:namedValueCollection" />
  </xs:schema>
  <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/System" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/System" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:complexType name="TupleOfstringstring">
      <xs:annotation>
        <xs:appinfo>
          <GenericType Name="TupleOf{0}{1}{#}" Namespace="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
            <GenericParameter Name="string" Namespace="http://www.w3.org/2001/XMLSchema" />
            <GenericParameter Name="string" Namespace="http://www.w3.org/2001/XMLSchema" />
          </GenericType>
        </xs:appinfo>
      </xs:annotation>
      <xs:sequence>
        <xs:element name="m_Item1" nillable="true" type="xs:string" />
        <xs:element name="m_Item2" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
    <xs:element name="TupleOfstringstring" nillable="true" type="tns:TupleOfstringstring" />
  </xs:schema>
</Schemas>