Compute/Microsoft.WindowsAzure.Commands.ServiceManagement.format.ps1xml

<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
  <ViewDefinitions>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineExtensionImageContext</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineExtensionImageContext</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <Label>Publisher</Label>
                <PropertyName>Publisher</PropertyName>
              </ListItem>
              <ListItem>
                <Label>ExtensionName</Label>
                <PropertyName>ExtensionName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Version</Label>
                <PropertyName>Version</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Label</Label>
                <PropertyName>Label</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Description</Label>
                <PropertyName>Description</PropertyName>
              </ListItem>
              <ListItem>
                <Label>PublicConfigurationSchema</Label>
                <ScriptBlock>
                  $len = 100;
                  if ($_.PublicConfigurationSchema -ne $null)
                  {
                      if ($_.PublicConfigurationSchema.Length -gt $len)
                      {
                          $_.PublicConfigurationSchema.Substring(0, $len) + '...';
                      }
                      else
                      {
                          $_.PublicConfigurationSchema;
                      }
                  }
                  else
                  {
                      $_.PublicConfigurationSchema;
                  }
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>PrivateConfigurationSchema</Label>
                <ScriptBlock>
                  $len = 100;
                  if ($_.PrivateConfigurationSchema -ne $null)
                  {
                      if ($_.PrivateConfigurationSchema.Length -gt $len)
                      {
                          $_.PrivateConfigurationSchema.Substring(0, $len) + '...';
                      }
                      else
                      {
                          $_.PrivateConfigurationSchema;
                      }
                  }
                  else
                  {
                      $_.PrivateConfigurationSchema;
                  }
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>IsInternalExtension</Label>
                <PropertyName>IsInternalExtension</PropertyName>
              </ListItem>
              <ListItem>
                <Label>SampleConfig</Label>
                <ScriptBlock>
                  $len = 100;
                  if ($_.SampleConfig -ne $null)
                  {
                      if ($_.SampleConfig.Length -gt $len)
                      {
                          $_.SampleConfig.Substring(0, $len) + '...';
                      }
                      else
                      {
                          $_.SampleConfig;
                      }
                  }
                  else
                  {
                      $_.SampleConfig;
                  }
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>ReplicationCompleted</Label>
                <PropertyName>ReplicationCompleted</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Eula</Label>
                <PropertyName>Eula</PropertyName>
              </ListItem>
              <ListItem>
                <Label>PrivacyUri</Label>
                <PropertyName>PrivacyUri</PropertyName>
              </ListItem>
              <ListItem>
                <Label>HomepageUri</Label>
                <PropertyName>HomepageUri</PropertyName>
              </ListItem>
              <ListItem>
                <Label>IsJsonExtension</Label>
                <PropertyName>IsJsonExtension</PropertyName>
              </ListItem>
              <ListItem>
                <Label>DisallowMajorVersionUpgrade</Label>
                <PropertyName>DisallowMajorVersionUpgrade</PropertyName>
              </ListItem>
              <ListItem>
                <Label>SupportedOS</Label>
                <PropertyName>SupportedOS</PropertyName>
              </ListItem>
              <ListItem>
                <Label>PublishedDate</Label>
                <PropertyName>PublishedDate</PropertyName>
              </ListItem>
              <ListItem>
                <Label>CompanyName</Label>
                <PropertyName>CompanyName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Regions</Label>
                <ScriptBlock>
                  if ($_.Regions -ne $null)
                  {
                     if ($_.Regions.Length -gt 0)
                     {
                         $_.Regions;
                     }
                     else
                     {
                         'All regions';
                     }
                  }
                  else
                  {
                     $_.Regions;
                  }
                </ScriptBlock>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionImageContext</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.Extensions.ExtensionImageContext</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <Label>ProviderNameSpace</Label>
                <PropertyName>ProviderNameSpace</PropertyName>
              </ListItem>
              <ListItem>
                <Label>ExtensionName</Label>
                <PropertyName>ExtensionName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Version</Label>
                <PropertyName>Version</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Label</Label>
                <PropertyName>Label</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Description</Label>
                <PropertyName>Description</PropertyName>
              </ListItem>
              <ListItem>
                <Label>HostingResources</Label>
                <PropertyName>HostingResources</PropertyName>
              </ListItem>
              <ListItem>
                <Label>MediaLink</Label>
                <PropertyName>MediaLink</PropertyName>
              </ListItem>
              <ListItem>
                <Label>ThumbprintAlgorithm</Label>
                <PropertyName>ThumbprintAlgorithm</PropertyName>
              </ListItem>
              <ListItem>
                <Label>PublicConfigurationSchema</Label>
                <ScriptBlock>
                  $len = 100;
                  if ($_.PublicConfigurationSchema -ne $null)
                  {
                      if ($_.PublicConfigurationSchema.Length -gt $len)
                      {
                          $_.PublicConfigurationSchema.Substring(0, $len) + '...';
                      }
                      else
                      {
                          $_.PublicConfigurationSchema;
                      }
                  }
                  else
                  {
                      $_.PublicConfigurationSchema;
                  }
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>PrivateConfigurationSchema</Label>
                <ScriptBlock>
                  $len = 100;
                  if ($_.PrivateConfigurationSchema -ne $null)
                  {
                      if ($_.PrivateConfigurationSchema.Length -gt $len)
                      {
                          $_.PrivateConfigurationSchema.Substring(0, $len) + '...';
                      }
                      else
                      {
                          $_.PrivateConfigurationSchema;
                      }
                  }
                  else
                  {
                      $_.PrivateConfigurationSchema;
                  }
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>BlockRoleUponFailure</Label>
                <PropertyName>BlockRoleUponFailure</PropertyName>
              </ListItem>
              <ListItem>
                <Label>IsInternalExtension</Label>
                <PropertyName>IsInternalExtension</PropertyName>
              </ListItem>
              <ListItem>
                <Label>SampleConfig</Label>
                <ScriptBlock>
                  $len = 100;
                  if ($_.SampleConfig -ne $null)
                  {
                      if ($_.SampleConfig.Length -gt $len)
                      {
                          $_.SampleConfig.Substring(0, $len) + '...';
                      }
                      else
                      {
                          $_.SampleConfig;
                      }
                  }
                  else
                  {
                      $_.SampleConfig;
                  }
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>ReplicationCompleted</Label>
                <PropertyName>ReplicationCompleted</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Eula</Label>
                <PropertyName>Eula</PropertyName>
              </ListItem>
              <ListItem>
                <Label>PrivacyUri</Label>
                <PropertyName>PrivacyUri</PropertyName>
              </ListItem>
              <ListItem>
                <Label>HomepageUri</Label>
                <PropertyName>HomepageUri</PropertyName>
              </ListItem>
              <ListItem>
                <Label>IsJsonExtension</Label>
                <PropertyName>IsJsonExtension</PropertyName>
              </ListItem>
              <ListItem>
                <Label>DisallowMajorVersionUpgrade</Label>
                <PropertyName>DisallowMajorVersionUpgrade</PropertyName>
              </ListItem>
              <ListItem>
                <Label>SupportedOS</Label>
                <PropertyName>SupportedOS</PropertyName>
              </ListItem>
              <ListItem>
                <Label>PublishedDate</Label>
                <PropertyName>PublishedDate</PropertyName>
              </ListItem>
              <ListItem>
                <Label>CompanyName</Label>
                <PropertyName>CompanyName</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMRoleListContext</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.Model.PersistentVMRoleListContext</TypeName>
      </ViewSelectedBy>
      <TableControl>
        <TableHeaders>
          <TableColumnHeader/>
          <TableColumnHeader/>
          <TableColumnHeader/>
        </TableHeaders>
        <TableRowEntries>
          <TableRowEntry>
            <TableColumnItems>
              <TableColumnItem>
                <PropertyName>ServiceName</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>Name</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>Status</PropertyName>
              </TableColumnItem>
            </TableColumnItems>
          </TableRowEntry>
        </TableRowEntries>
      </TableControl>
    </View>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.Model.LocationsContext</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.Model.LocationsContext</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <Label>DisplayName</Label>
                <PropertyName>DisplayName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Name</Label>
                <PropertyName>Name</PropertyName>
              </ListItem>
              <ListItem>
                <Label>AvailableServices</Label>
                <PropertyName>AvailableServices</PropertyName>
              </ListItem>
              <ListItem>
                <Label>WebWorkerRoleSizes</Label>
                <ScriptBlock>
                  "{" + (-Split $_.WebWorkerRoleSizes -Join ", ") + "}"
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>VirtualMachineRoleSizes</Label>
                <ScriptBlock>
                  "{" + (-Split $_.VirtualMachineRoleSizes -Join ", ") + "}"
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>StorageAccountTypes</Label>
                <ScriptBlock>
                  "{" + (-Split $_.StorageAccountTypes -Join ", ") + "}"
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>OperationDescription</Label>
                <PropertyName>OperationDescription</PropertyName>
              </ListItem>
              <ListItem>
                <Label>OperationId</Label>
                <PropertyName>OperationId</PropertyName>
              </ListItem>
              <ListItem>
                <Label>OperationStatus</Label>
                <PropertyName>OperationStatus</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.Model.AffinityGroupContext</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.Model.AffinityGroupContext</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <Label>Name</Label>
                <PropertyName>Name</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Label</Label>
                <PropertyName>Label</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Description</Label>
                <PropertyName>Description</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Location</Label>
                <PropertyName>Location</PropertyName>
              </ListItem>
              <ListItem>
                <Label>HostedServices</Label>
                <PropertyName>HostedServices</PropertyName>
              </ListItem>
              <ListItem>
                <Label>StorageServices</Label>
                <PropertyName>StorageServices</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Capabilities</Label>
                <PropertyName>Capabilities</PropertyName>
              </ListItem>
              <ListItem>
                <Label>CreatedTime</Label>
                <PropertyName>CreatedTime</PropertyName>
              </ListItem>
              <ListItem>
                <Label>WebWorkerRoleSizes</Label>
                <ScriptBlock>
                  "{" + (-Split $_.WebWorkerRoleSizes -Join ", ") + "}"
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>VirtualMachineRoleSizes</Label>
                <ScriptBlock>
                  "{" + (-Split $_.VirtualMachineRoleSizes -Join ", ") + "}"
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>OperationDescription</Label>
                <PropertyName>OperationDescription</PropertyName>
              </ListItem>
              <ListItem>
                <Label>OperationId</Label>
                <PropertyName>OperationId</PropertyName>
              </ListItem>
              <ListItem>
                <Label>OperationStatus</Label>
                <PropertyName>OperationStatus</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.Model.HostedServiceDetailedContext</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.Model.HostedServiceDetailedContext</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <Label>ServiceName</Label>
                <PropertyName>ServiceName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Url</Label>
                <PropertyName>Url</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Label</Label>
                <PropertyName>Label</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Description</Label>
                <PropertyName>Description</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Location</Label>
                <PropertyName>Location</PropertyName>
              </ListItem>
              <ListItem>
                <Label>AffinityGroup</Label>
                <PropertyName>AffinityGroup</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Status</Label>
                <PropertyName>Status</PropertyName>
              </ListItem>
              <ListItem>
                <Label>ExtendedProperties</Label>
                <PropertyName>ExtendedProperties</PropertyName>
              </ListItem>
              <ListItem>
                <Label>DateModified</Label>
                <PropertyName>DateModified</PropertyName>
              </ListItem>
              <ListItem>
                <Label>DateCreated</Label>
                <PropertyName>DateCreated</PropertyName>
              </ListItem>
              <ListItem>
                <Label>ReverseDnsFqdn</Label>
                <PropertyName>ReverseDnsFqdn</PropertyName>
              </ListItem>
              <ListItem>
                <Label>WebWorkerRoleSizes</Label>
                <ScriptBlock>
                  "{" + (-Split $_.WebWorkerRoleSizes -Join ", ") + "}"
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>VirtualMachineRoleSizes</Label>
                <ScriptBlock>
                  "{" + (-Split $_.VirtualMachineRoleSizes -Join ", ") + "}"
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>OperationDescription</Label>
                <PropertyName>OperationDescription</PropertyName>
              </ListItem>
              <ListItem>
                <Label>OperationId</Label>
                <PropertyName>OperationId</PropertyName>
              </ListItem>
              <ListItem>
                <Label>OperationStatus</Label>
                <PropertyName>OperationStatus</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.AutoBackupSettings</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.AutoBackupSettings</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <Label>Enable</Label>
                <PropertyName>Enable</PropertyName>
              </ListItem>
              <ListItem>
                <Label>EnableEncryption</Label>
                <PropertyName>EnableEncryption</PropertyName>
              </ListItem>
              <ListItem>
                <Label>RetentionPeriodInDays</Label>
                <PropertyName>RetentionPeriod</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineSqlServerExtensionContext</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineSqlServerExtensionContext</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <Label>ExtensionName</Label>
                <PropertyName>ExtensionName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Publisher</Label>
                <PropertyName>Publisher</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Version</Label>
                <PropertyName>Version</PropertyName>
              </ListItem>
              <ListItem>
                <Label>State</Label>
                <PropertyName>State</PropertyName>
              </ListItem>
              <ListItem>
                <Label>RoleName</Label>
                <PropertyName>RoleName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>AutoPatchingSettings</Label>
                <PropertyName>AutoPatchingSettings</PropertyName>
              </ListItem>
              <ListItem>
                <Label>AutoBackupSettings</Label>
                <PropertyName>AutoBackupSettings</PropertyName>
              </ListItem>
              <ListItem>
                <Label>KeyVaultCredentialSettings</Label>
                <PropertyName>KeyVaultCredentialSettings</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
     </View>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionContext</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionContext</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <Label>ExtensionName</Label>
                <PropertyName>ExtensionName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Publisher</Label>
                <PropertyName>Publisher</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Version</Label>
                <PropertyName>Version</PropertyName>
              </ListItem>
              <ListItem>
                <Label>ModulesUrl</Label>
                <PropertyName>ModulesUrl</PropertyName>
              </ListItem>
              <ListItem>
                <Label>ConfigurationFunction</Label>
                <PropertyName>ConfigurationFunction</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Properties</Label>
                <PropertyName>Properties</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
    <View>
      <Name>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionStatusContext</Name>
      <OutOfBand />
      <ViewSelectedBy>
        <TypeName>Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Extensions.VirtualMachineDscExtensionStatusContext</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <Label>ServiceName</Label>
                <PropertyName>ServiceName</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Name</Label>
                <PropertyName>Name</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Status</Label>
                <PropertyName>Status</PropertyName>
              </ListItem>
              <ListItem>
                <Label>StatusCode</Label>
                <PropertyName>StatusCode</PropertyName>
              </ListItem>
              <ListItem>
                <Label>Timestamp</Label>
                <ScriptBlock>
                      $_.Timestamp.ToString("G")
                </ScriptBlock>
              </ListItem>
              <ListItem>
                <Label>StatusMessage</Label>
                <PropertyName>StatusMessage</PropertyName>
              </ListItem>
              <ListItem>
                <Label>DscConfigurationLog</Label>
                <PropertyName>DscConfigurationLog</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
  </ViewDefinitions>
</Configuration>