org.soyatec.windowsazure.management
Class ObjectIdFilter

java.lang.Object
  extended by org.soyatec.windowsazure.management.ObjectIdFilter

public class ObjectIdFilter
extends java.lang.Object

This class contains a filter that will be used in the List Subscription Operations operation. With this filter, the operation will only returns subscription operations for the specified object type and object ID. The filter will be set equal to the URL value for performing an HTTP GET on the object. Applicable object types are included below as class method.


Method Summary
static ObjectIdFilter affinityGroup(java.lang.String affinityGroupName)
          Filter for affinity group.
static ObjectIdFilter deployment(java.lang.String hostServiceName, java.lang.String deploymentName)
          Filter for deployment.
static ObjectIdFilter hostedService(java.lang.String hostServiceName)
          Filter for hosted service.
static ObjectIdFilter machineImage(java.lang.String machineImageName)
          Filter for machine image.
static ObjectIdFilter roleInstance(java.lang.String hostServiceName, java.lang.String deploymentName, java.lang.String roleInstanceName)
          Filter for role instance.
static ObjectIdFilter storageService(java.lang.String storageServiceName)
          Filter for storage service.
static ObjectIdFilter subscription()
          Filter for Subscription ID.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

subscription

public static ObjectIdFilter subscription()
Filter for Subscription ID.

Returns:

hostedService

public static ObjectIdFilter hostedService(java.lang.String hostServiceName)
Filter for hosted service.

Parameters:
hostServiceName - The name of your hosted service.
Returns:

storageService

public static ObjectIdFilter storageService(java.lang.String storageServiceName)
Filter for storage service.

Parameters:
storageServiceName - The name of your storage service.
Returns:

affinityGroup

public static ObjectIdFilter affinityGroup(java.lang.String affinityGroupName)
Filter for affinity group.

Parameters:
affinityGroupName - The name of affinity group.
Returns:

deployment

public static ObjectIdFilter deployment(java.lang.String hostServiceName,
                                        java.lang.String deploymentName)
Filter for deployment.

Parameters:
hostServiceName - The name of your hosted service.
deploymentName - The name of your deployment.
Returns:

roleInstance

public static ObjectIdFilter roleInstance(java.lang.String hostServiceName,
                                          java.lang.String deploymentName,
                                          java.lang.String roleInstanceName)
Filter for role instance.

Parameters:
hostServiceName - The name of your hosted service.
deploymentName - The name of your deployment.
roleInstanceName - The name of role instance.
Returns:

machineImage

public static ObjectIdFilter machineImage(java.lang.String machineImageName)
Filter for machine image.

Parameters:
machineImageName - The name of machine image.
Returns: