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 a0e58c37e6e66c9ab313557e429010b73d861892 into ee157d6bbf6e4c4fdc8a47b380e00ddd56a0e852
- Loading branch information
SDKAuto
committed
Mar 16, 2023
1 parent
6b290ca
commit f910a4b
Showing
292 changed files
with
2,688 additions
and
8,275 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.