forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from d995c4e89d72470ad9b62876eb6893c77d9d4809
- Loading branch information
SDK Automation
committed
Sep 18, 2020
1 parent
122f72e
commit 071331c
Showing
16 changed files
with
1,266 additions
and
204 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
92 changes: 92 additions & 0 deletions
92
...in/java/com/microsoft/azure/management/resources/v2019_07_01/GenericResourceExpanded.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,92 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.resources.v2019_07_01; | ||
|
||
import com.microsoft.azure.arm.model.HasInner; | ||
import com.microsoft.azure.management.resources.v2019_07_01.implementation.GenericResourceExpandedInner; | ||
import com.microsoft.azure.arm.resources.models.HasManager; | ||
import com.microsoft.azure.management.resources.v2019_07_01.implementation.ResourcesManager; | ||
import org.joda.time.DateTime; | ||
import java.util.Map; | ||
|
||
/** | ||
* Type representing GenericResourceExpanded. | ||
*/ | ||
public interface GenericResourceExpanded extends HasInner<GenericResourceExpandedInner>, HasManager<ResourcesManager> { | ||
/** | ||
* @return the changedTime value. | ||
*/ | ||
DateTime changedTime(); | ||
|
||
/** | ||
* @return the createdTime value. | ||
*/ | ||
DateTime createdTime(); | ||
|
||
/** | ||
* @return the id value. | ||
*/ | ||
String id(); | ||
|
||
/** | ||
* @return the identity value. | ||
*/ | ||
Identity identity(); | ||
|
||
/** | ||
* @return the kind value. | ||
*/ | ||
String kind(); | ||
|
||
/** | ||
* @return the location value. | ||
*/ | ||
String location(); | ||
|
||
/** | ||
* @return the managedBy value. | ||
*/ | ||
String managedBy(); | ||
|
||
/** | ||
* @return the name value. | ||
*/ | ||
String name(); | ||
|
||
/** | ||
* @return the plan value. | ||
*/ | ||
Plan plan(); | ||
|
||
/** | ||
* @return the properties value. | ||
*/ | ||
Object properties(); | ||
|
||
/** | ||
* @return the provisioningState value. | ||
*/ | ||
String provisioningState(); | ||
|
||
/** | ||
* @return the sku value. | ||
*/ | ||
Sku sku(); | ||
|
||
/** | ||
* @return the tags value. | ||
*/ | ||
Map<String, String> tags(); | ||
|
||
/** | ||
* @return the type value. | ||
*/ | ||
String type(); | ||
|
||
} |
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
67 changes: 67 additions & 0 deletions
67
..._01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/TagOperations.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,67 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.resources.v2019_07_01; | ||
|
||
import rx.Observable; | ||
import com.microsoft.azure.management.resources.v2019_07_01.TagDetails; | ||
import rx.Completable; | ||
|
||
/** | ||
* Type representing TagOperations. | ||
*/ | ||
public interface TagOperations { | ||
/** | ||
* Gets the names and values of all resource tags that are defined in a subscription. | ||
* | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<TagDetails> listAsync(); | ||
|
||
/** | ||
* Deletes a tag from the subscription. | ||
* You must remove all values from a resource tag before you can delete it. | ||
* | ||
* @param tagName The name of the tag. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Completable deleteAsync(String tagName); | ||
|
||
/** | ||
* Creates a tag in the subscription. | ||
* The tag name can have a maximum of 512 characters and is case insensitive. Tag names created by Azure have prefixes of microsoft, azure, or windows. You cannot create tags with one of these prefixes. | ||
* | ||
* @param tagName The name of the tag to create. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<TagDetails> createOrUpdateAsync(String tagName); | ||
|
||
/** | ||
* Deletes a tag value. | ||
* | ||
* @param tagName The name of the tag. | ||
* @param tagValue The value of the tag to delete. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Completable deleteValueAsync(String tagName, String tagValue); | ||
|
||
/** | ||
* Creates a tag value. The name of the tag must already exist. | ||
* | ||
* @param tagName The name of the tag. | ||
* @param tagValue The value of the tag to create. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation | ||
* @return the observable for the request | ||
*/ | ||
Observable<TagValue> createOrUpdateValueAsync(String tagName, String tagValue); | ||
|
||
} |
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
105 changes: 105 additions & 0 deletions
105
...ft/azure/management/resources/v2019_07_01/implementation/GenericResourceExpandedImpl.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,105 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.resources.v2019_07_01.implementation; | ||
|
||
import com.microsoft.azure.management.resources.v2019_07_01.GenericResourceExpanded; | ||
import com.microsoft.azure.arm.model.implementation.WrapperImpl; | ||
import rx.Observable; | ||
import org.joda.time.DateTime; | ||
import com.microsoft.azure.management.resources.v2019_07_01.Identity; | ||
import com.microsoft.azure.management.resources.v2019_07_01.Plan; | ||
import com.microsoft.azure.management.resources.v2019_07_01.Sku; | ||
import java.util.Map; | ||
|
||
class GenericResourceExpandedImpl extends WrapperImpl<GenericResourceExpandedInner> implements GenericResourceExpanded { | ||
private final ResourcesManager manager; | ||
|
||
GenericResourceExpandedImpl(GenericResourceExpandedInner inner, ResourcesManager manager) { | ||
super(inner); | ||
this.manager = manager; | ||
} | ||
|
||
@Override | ||
public ResourcesManager manager() { | ||
return this.manager; | ||
} | ||
|
||
|
||
|
||
@Override | ||
public DateTime changedTime() { | ||
return this.inner().changedTime(); | ||
} | ||
|
||
@Override | ||
public DateTime createdTime() { | ||
return this.inner().createdTime(); | ||
} | ||
|
||
@Override | ||
public String id() { | ||
return this.inner().id(); | ||
} | ||
|
||
@Override | ||
public Identity identity() { | ||
return this.inner().identity(); | ||
} | ||
|
||
@Override | ||
public String kind() { | ||
return this.inner().kind(); | ||
} | ||
|
||
@Override | ||
public String location() { | ||
return this.inner().location(); | ||
} | ||
|
||
@Override | ||
public String managedBy() { | ||
return this.inner().managedBy(); | ||
} | ||
|
||
@Override | ||
public String name() { | ||
return this.inner().name(); | ||
} | ||
|
||
@Override | ||
public Plan plan() { | ||
return this.inner().plan(); | ||
} | ||
|
||
@Override | ||
public Object properties() { | ||
return this.inner().properties(); | ||
} | ||
|
||
@Override | ||
public String provisioningState() { | ||
return this.inner().provisioningState(); | ||
} | ||
|
||
@Override | ||
public Sku sku() { | ||
return this.inner().sku(); | ||
} | ||
|
||
@Override | ||
public Map<String, String> tags() { | ||
return this.inner().getTags(); | ||
} | ||
|
||
@Override | ||
public String type() { | ||
return this.inner().type(); | ||
} | ||
|
||
} |
Oops, something went wrong.