Skip to content

Commit

Permalink
CodeGen from PR 10923 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 76eb082e8ea67920eeeb9109b800807e806944ed into 7a12c790e38511254ef33b3c6e15260107bd2b1e
  • Loading branch information
SDKAuto committed Dec 1, 2020
1 parent 33362b5 commit ba0e998
Show file tree
Hide file tree
Showing 46 changed files with 539 additions and 272 deletions.
6 changes: 3 additions & 3 deletions sdk/iothub/mgmt-v2019_07_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-iothub</artifactId>
<artifactId>azure-mgmt-devices</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Devices Management</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;

/**
* Type representing CertificateDescription.
*/
public interface CertificateDescription extends HasInner<CertificateDescriptionInner>, Indexable, Refreshable<CertificateDescription>, Updatable<CertificateDescription.Update>, HasManager<IoTHubManager> {
public interface CertificateDescription extends HasInner<CertificateDescriptionInner>, Indexable, Refreshable<CertificateDescription>, Updatable<CertificateDescription.Update>, HasManager<DevicesManager> {
/**
* @return the etag value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.CertificateListDescriptionInner;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.CertificateDescriptionInner;
import java.util.List;

/**
* Type representing CertificateListDescription.
*/
public interface CertificateListDescription extends HasInner<CertificateListDescriptionInner>, HasManager<IoTHubManager> {
public interface CertificateListDescription extends HasInner<CertificateListDescriptionInner>, HasManager<DevicesManager> {
/**
* @return the value value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.CertificateWithNonceDescriptionInner;

/**
* Type representing CertificateWithNonceDescription.
*/
public interface CertificateWithNonceDescription extends HasInner<CertificateWithNonceDescriptionInner>, HasManager<IoTHubManager> {
public interface CertificateWithNonceDescription extends HasInner<CertificateWithNonceDescriptionInner>, HasManager<DevicesManager> {
/**
* @return the etag value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.EndpointHealthDataInner;

/**
* Type representing EndpointHealthData.
*/
public interface EndpointHealthData extends HasInner<EndpointHealthDataInner>, HasManager<IoTHubManager> {
public interface EndpointHealthData extends HasInner<EndpointHealthDataInner>, HasManager<DevicesManager> {
/**
* @return the endpointId value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import java.util.Map;

/**
* Type representing EventHubConsumerGroupInfo.
*/
public interface EventHubConsumerGroupInfo extends HasInner<EventHubConsumerGroupInfoInner>, Indexable, Refreshable<EventHubConsumerGroupInfo>, Updatable<EventHubConsumerGroupInfo.Update>, HasManager<IoTHubManager> {
public interface EventHubConsumerGroupInfo extends HasInner<EventHubConsumerGroupInfoInner>, Indexable, Refreshable<EventHubConsumerGroupInfo>, Updatable<EventHubConsumerGroupInfo.Update>, HasManager<DevicesManager> {
/**
* @return the etag value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
import com.microsoft.azure.arm.model.Appliable;
import com.microsoft.azure.arm.model.Creatable;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IotHubDescriptionInner;

/**
* Type representing IotHubDescription.
*/
public interface IotHubDescription extends HasInner<IotHubDescriptionInner>, Resource, GroupableResourceCore<IoTHubManager, IotHubDescriptionInner>, HasResourceGroup, Refreshable<IotHubDescription>, Updatable<IotHubDescription.Update>, HasManager<IoTHubManager> {
public interface IotHubDescription extends HasInner<IotHubDescriptionInner>, Resource, GroupableResourceCore<DevicesManager, IotHubDescriptionInner>, HasResourceGroup, Refreshable<IotHubDescription>, Updatable<IotHubDescription.Update>, HasManager<DevicesManager> {
/**
* @return the etag value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IotHubNameAvailabilityInfoInner;

/**
* Type representing IotHubNameAvailabilityInfo.
*/
public interface IotHubNameAvailabilityInfo extends HasInner<IotHubNameAvailabilityInfoInner>, HasManager<IoTHubManager> {
public interface IotHubNameAvailabilityInfo extends HasInner<IotHubNameAvailabilityInfoInner>, HasManager<DevicesManager> {
/**
* @return the message value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IotHubQuotaMetricInfoInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;

/**
* Type representing IotHubQuotaMetricInfo.
*/
public interface IotHubQuotaMetricInfo extends HasInner<IotHubQuotaMetricInfoInner>, HasManager<IoTHubManager> {
public interface IotHubQuotaMetricInfo extends HasInner<IotHubQuotaMetricInfoInner>, HasManager<DevicesManager> {
/**
* @return the currentValue value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IotHubSkuDescriptionInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;

/**
* Type representing IotHubSkuDescription.
*/
public interface IotHubSkuDescription extends HasInner<IotHubSkuDescriptionInner>, HasManager<IoTHubManager> {
public interface IotHubSkuDescription extends HasInner<IotHubSkuDescriptionInner>, HasManager<DevicesManager> {
/**
* @return the capacity value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.JobResponseInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.rest.DateTimeRfc1123;
import org.joda.time.DateTime;

/**
* Type representing JobResponse.
*/
public interface JobResponse extends HasInner<JobResponseInner>, HasManager<IoTHubManager> {
public interface JobResponse extends HasInner<JobResponseInner>, HasManager<DevicesManager> {
/**
* @return the endTimeUtc value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.OperationInner;

/**
* Type representing Operation.
*/
public interface Operation extends HasInner<OperationInner>, HasManager<IoTHubManager> {
public interface Operation extends HasInner<OperationInner>, HasManager<DevicesManager> {
/**
* @return the display value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.RegistryStatisticsInner;

/**
* Type representing RegistryStatistics.
*/
public interface RegistryStatistics extends HasInner<RegistryStatisticsInner>, HasManager<IoTHubManager> {
public interface RegistryStatistics extends HasInner<RegistryStatisticsInner>, HasManager<DevicesManager> {
/**
* @return the disabledDeviceCount value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.SharedAccessSignatureAuthorizationRuleInner;

/**
* Type representing SharedAccessSignatureAuthorizationRule.
*/
public interface SharedAccessSignatureAuthorizationRule extends HasInner<SharedAccessSignatureAuthorizationRuleInner>, HasManager<IoTHubManager> {
public interface SharedAccessSignatureAuthorizationRule extends HasInner<SharedAccessSignatureAuthorizationRuleInner>, HasManager<DevicesManager> {
/**
* @return the keyName value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.TestAllRoutesResultInner;
import java.util.List;

/**
* Type representing TestAllRoutesResult.
*/
public interface TestAllRoutesResult extends HasInner<TestAllRoutesResultInner>, HasManager<IoTHubManager> {
public interface TestAllRoutesResult extends HasInner<TestAllRoutesResultInner>, HasManager<DevicesManager> {
/**
* @return the routes value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.TestRouteResultInner;

/**
* Type representing TestRouteResult.
*/
public interface TestRouteResult extends HasInner<TestRouteResultInner>, HasManager<IoTHubManager> {
public interface TestRouteResult extends HasInner<TestRouteResultInner>, HasManager<DevicesManager> {
/**
* @return the details value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.IoTHubManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.DevicesManager;
import com.microsoft.azure.management.iothub.v2019_07_01_preview.implementation.UserSubscriptionQuotaInner;

/**
* Type representing UserSubscriptionQuota.
*/
public interface UserSubscriptionQuota extends HasInner<UserSubscriptionQuotaInner>, HasManager<IoTHubManager> {
public interface UserSubscriptionQuota extends HasInner<UserSubscriptionQuotaInner>, HasManager<DevicesManager> {
/**
* @return the currentValue value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import com.microsoft.azure.management.iothub.v2019_07_01_preview.CertificateProperties;

class CertificateDescriptionImpl extends CreatableUpdatableImpl<CertificateDescription, CertificateDescriptionInner, CertificateDescriptionImpl> implements CertificateDescription, CertificateDescription.Definition, CertificateDescription.Update {
private final IoTHubManager manager;
private final DevicesManager manager;
private String resourceGroupName;
private String resourceName;
private String certificateName;
Expand All @@ -23,15 +23,15 @@ class CertificateDescriptionImpl extends CreatableUpdatableImpl<CertificateDescr
private String uifMatch;
private String ucertificate;

CertificateDescriptionImpl(String name, IoTHubManager manager) {
CertificateDescriptionImpl(String name, DevicesManager manager) {
super(name, new CertificateDescriptionInner());
this.manager = manager;
// Set resource name
this.certificateName = name;
//
}

CertificateDescriptionImpl(CertificateDescriptionInner inner, IoTHubManager manager) {
CertificateDescriptionImpl(CertificateDescriptionInner inner, DevicesManager manager) {
super(inner.name(), inner);
this.manager = manager;
// Set resource name
Expand All @@ -44,7 +44,7 @@ class CertificateDescriptionImpl extends CreatableUpdatableImpl<CertificateDescr
}

@Override
public IoTHubManager manager() {
public DevicesManager manager() {
return this.manager;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
import java.util.List;

class CertificateListDescriptionImpl extends WrapperImpl<CertificateListDescriptionInner> implements CertificateListDescription {
private final IoTHubManager manager;
CertificateListDescriptionImpl(CertificateListDescriptionInner inner, IoTHubManager manager) {
private final DevicesManager manager;
CertificateListDescriptionImpl(CertificateListDescriptionInner inner, DevicesManager manager) {
super(inner);
this.manager = manager;
}

@Override
public IoTHubManager manager() {
public DevicesManager manager() {
return this.manager;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
import com.microsoft.azure.management.iothub.v2019_07_01_preview.CertificatePropertiesWithNonce;

class CertificateWithNonceDescriptionImpl extends WrapperImpl<CertificateWithNonceDescriptionInner> implements CertificateWithNonceDescription {
private final IoTHubManager manager;
CertificateWithNonceDescriptionImpl(CertificateWithNonceDescriptionInner inner, IoTHubManager manager) {
private final DevicesManager manager;
CertificateWithNonceDescriptionImpl(CertificateWithNonceDescriptionInner inner, DevicesManager manager) {
super(inner);
this.manager = manager;
}

@Override
public IoTHubManager manager() {
public DevicesManager manager() {
return this.manager;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
import com.microsoft.azure.management.iothub.v2019_07_01_preview.CertificateDescription;

class CertificatesImpl extends WrapperImpl<CertificatesInner> implements Certificates {
private final IoTHubManager manager;
private final DevicesManager manager;

CertificatesImpl(IoTHubManager manager) {
CertificatesImpl(DevicesManager manager) {
super(manager.inner().certificates());
this.manager = manager;
}

public IoTHubManager manager() {
public DevicesManager manager() {
return this.manager;
}

Expand Down
Loading

0 comments on commit ba0e998

Please sign in to comment.