Class ConfigurationPolicyOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.devicesdeployment.ConfigurationPolicyOperations
- All Implemented Interfaces:
IConfigurationPolicy,IEntityDeleteOperations<ConfigurationPolicy>,IEntityGetOperations<ConfigurationPolicy>,IEntityPatchOperations<ConfigurationPolicy>,IPartnerComponent<Tuple<String,String>>
public class ConfigurationPolicyOperations extends BasePartnerComponent<Tuple<String,String>> implements IConfigurationPolicy
Implements operations that apply to configuration policy.
-
Constructor Summary
Constructors Constructor Description ConfigurationPolicyOperations(IPartner rootPartnerOperations, String customerId, String policyId)Initializes a new instance of the ConfigurationPolicyOperations class. -
Method Summary
Modifier and Type Method Description voiddelete()Deletes the configuration policy.ConfigurationPolicyget()Retrieves devices batch upload status of the customer.ConfigurationPolicypatch(ConfigurationPolicy policy)Patches the configuration policy.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
ConfigurationPolicyOperations
public ConfigurationPolicyOperations(IPartner rootPartnerOperations, String customerId, String policyId)Initializes a new instance of the ConfigurationPolicyOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- Identifier for the customer.policyId- The policy identifier.
-
-
Method Details
-
get
Retrieves devices batch upload status of the customer.- Specified by:
getin interfaceIConfigurationPolicy- Specified by:
getin interfaceIEntityGetOperations<ConfigurationPolicy>- Returns:
- Devices batch upload status.
-
patch
Patches the configuration policy.- Specified by:
patchin interfaceIConfigurationPolicy- Specified by:
patchin interfaceIEntityPatchOperations<ConfigurationPolicy>- Parameters:
policy- The policy to be updated.- Returns:
- The updated configuration policy.
-
delete
public void delete()Deletes the configuration policy.- Specified by:
deletein interfaceIConfigurationPolicy- Specified by:
deletein interfaceIEntityDeleteOperations<ConfigurationPolicy>
-