forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 23124 in Azure/azure-rest-api-specs
Merge 0313b374f23eda4aae2a7d1e45c49abe0d4d8a13 into 543f1920ac96303cc244d60e1c12f0b56fc646db
- Loading branch information
SDKAuto
committed
Mar 21, 2023
1 parent
c2b50db
commit 1ca337a
Showing
300 changed files
with
2,756 additions
and
8,413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
573 changes: 282 additions & 291 deletions
573
sdk/devcenter/azure-resourcemanager-devcenter/SAMPLE.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
...ager-devcenter/src/main/java/com/azure/resourcemanager/devcenter/fluent/UsagesClient.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
...a/com/azure/resourcemanager/devcenter/fluent/models/OutboundEnvironmentEndpointInner.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.devcenter.fluent.models; | ||
|
||
import com.azure.core.annotation.Immutable; | ||
import com.azure.resourcemanager.devcenter.models.EndpointDependency; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.util.List; | ||
|
||
/** A collection of related endpoints from the same service for which the agent requires outbound access. */ | ||
@Immutable | ||
public final class OutboundEnvironmentEndpointInner { | ||
/* | ||
* The type of service that the agent connects to. | ||
*/ | ||
@JsonProperty(value = "category", access = JsonProperty.Access.WRITE_ONLY) | ||
private String category; | ||
|
||
/* | ||
* The endpoints for this service for which the agent requires outbound access. | ||
*/ | ||
@JsonProperty(value = "endpoints", access = JsonProperty.Access.WRITE_ONLY) | ||
private List<EndpointDependency> endpoints; | ||
|
||
/** Creates an instance of OutboundEnvironmentEndpointInner class. */ | ||
public OutboundEnvironmentEndpointInner() { | ||
} | ||
|
||
/** | ||
* Get the category property: The type of service that the agent connects to. | ||
* | ||
* @return the category value. | ||
*/ | ||
public String category() { | ||
return this.category; | ||
} | ||
|
||
/** | ||
* Get the endpoints property: The endpoints for this service for which the agent requires outbound access. | ||
* | ||
* @return the endpoints value. | ||
*/ | ||
public List<EndpointDependency> endpoints() { | ||
return this.endpoints; | ||
} | ||
|
||
/** | ||
* Validates the instance. | ||
* | ||
* @throws IllegalArgumentException thrown if the instance is not valid. | ||
*/ | ||
public void validate() { | ||
if (endpoints() != null) { | ||
endpoints().forEach(e -> e.validate()); | ||
} | ||
} | ||
} |
Oops, something went wrong.