Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

package com.microsoft.azure.management.graphrbac;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.graphrbac.implementation.ADGroupInner;
import com.microsoft.azure.management.resources.fluentcore.model.Creatable;
import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;

/**
* An immutable client-side representation of an Azure AD group.
*/
@LangDefinition
@Fluent(ContainerName = "/Microsoft.Azure.Management.Fluent.Graph.RBAC")
public interface ActiveDirectoryGroup extends
Wrapper<ADGroupInner> {
/**
Expand Down Expand Up @@ -49,7 +49,6 @@ public interface ActiveDirectoryGroup extends
/**
* Container interface for all the definitions that need to be implemented.
*/
@LangDefinition(ContainerName = "~/ActiveDirectoryGroup.Definition", ContainerFileName = "IDefinition")
interface Definition extends
DefinitionStages.Blank,
DefinitionStages.WithDisplayName,
Expand All @@ -60,7 +59,6 @@ interface Definition extends
/**
* Grouping of all the group definition stages.
*/
@LangDefinition(ContainerName = "~/ActiveDirectoryGroup.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true)
interface DefinitionStages {
/**
* The first stage of the group definition.
Expand Down Expand Up @@ -107,14 +105,12 @@ interface WithCreate extends
/**
* Grouping of all the group update stages.
*/
@LangDefinition(ContainerName = "~/ActiveDirectoryGroup.Update", ContainerFileName = "IUpdate", IsContainerOnly = true)
interface UpdateStages {
}

/**
* The template for a group update operation, containing all the settings that can be modified.
*/
@LangDefinition(ContainerName = "~/ActiveDirectoryGroup.Update", ContainerFileName = "IUpdate")
interface Update {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
package com.microsoft.azure.management.graphrbac;

import com.microsoft.azure.CloudException;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeleting;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;
Expand All @@ -18,7 +18,7 @@
/**
* Entry point to AD group management API.
*/
@LangDefinition(ContainerName = "~/")
@Fluent(ContainerName = "/Microsoft.Azure.Management.Fluent.Graph.RBAC")
public interface Groups extends
SupportsCreating<ActiveDirectoryGroup.DefinitionStages.Blank>,
SupportsListing<ActiveDirectoryGroup>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

package com.microsoft.azure.management.graphrbac;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.graphrbac.implementation.ServicePrincipalInner;
import com.microsoft.azure.management.resources.fluentcore.model.Creatable;
import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;
Expand All @@ -16,7 +16,7 @@
/**
* An immutable client-side representation of an Azure AD service principal.
*/
@LangDefinition
@Fluent(ContainerName = "/Microsoft.Azure.Management.Fluent.Graph.RBAC")
public interface ServicePrincipal extends
Wrapper<ServicePrincipalInner> {
/**
Expand Down Expand Up @@ -51,7 +51,6 @@ public interface ServicePrincipal extends
/**
* Container interface for all the definitions that need to be implemented.
*/
@LangDefinition(ContainerName = "~/ServicePrincipal.Definition", ContainerFileName = "IDefinition")
interface Definition extends
DefinitionStages.Blank,
DefinitionStages.WithCreate {
Expand All @@ -60,7 +59,6 @@ interface Definition extends
/**
* Grouping of all the service principal definition stages.
*/
@LangDefinition(ContainerName = "~/ServicePrincipal.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true)
interface DefinitionStages {
/**
* The first stage of the service principal definition.
Expand Down Expand Up @@ -95,14 +93,12 @@ interface WithCreate extends
/**
* Grouping of all the service principal update stages.
*/
@LangDefinition(ContainerName = "~/ServicePrincipal.Update", ContainerFileName = "IUpdate", IsContainerOnly = true)
interface UpdateStages {
}

/**
* The template for a service principal update operation, containing all the settings that can be modified.
*/
@LangDefinition(ContainerName = "~/ServicePrincipal.Update", ContainerFileName = "IUpdate")
interface Update {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

package com.microsoft.azure.management.graphrbac;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;
import com.microsoft.rest.ServiceCall;
Expand All @@ -16,7 +16,7 @@
/**
* Entry point to service principal management API.
*/
@LangDefinition(ContainerName = "~/")
@Fluent(ContainerName = "/Microsoft.Azure.Management.Fluent.Graph.RBAC")
public interface ServicePrincipals extends
SupportsCreating<ServicePrincipal.DefinitionStages.Blank>,
SupportsListing<ServicePrincipal> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

package com.microsoft.azure.management.graphrbac;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.graphrbac.implementation.UserInner;
import com.microsoft.azure.management.resources.fluentcore.model.Creatable;
import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;

/**
* An immutable client-side representation of an Azure AD user.
*/
@LangDefinition
@Fluent(ContainerName = "/Microsoft.Azure.Management.Fluent.Graph.RBAC")
public interface User extends
Wrapper<UserInner> {

Expand Down Expand Up @@ -60,7 +60,6 @@ public interface User extends
/**
* Container interface for all the definitions that need to be implemented.
*/
@LangDefinition(ContainerName = "~/User.Definition", ContainerFileName = "IDefinition")
interface Definition extends
DefinitionStages.Blank,
DefinitionStages.WithDisplayName,
Expand All @@ -72,7 +71,6 @@ interface Definition extends
/**
* Grouping of all the user definition stages.
*/
@LangDefinition(ContainerName = "~/User.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true)
interface DefinitionStages {
/**
* The first stage of the user definition.
Expand Down Expand Up @@ -155,14 +153,12 @@ interface WithCreate extends
/**
* Grouping of all the user update stages.
*/
@LangDefinition(ContainerName = "~/User.Update", ContainerFileName = "IUpdate", IsContainerOnly = true)
interface UpdateStages {
}

/**
* The template for a user update operation, containing all the settings that can be modified.
*/
@LangDefinition(ContainerName = "~/User.Update", ContainerFileName = "IUpdate")
interface Update {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

package com.microsoft.azure.management.graphrbac;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;
import com.microsoft.rest.ServiceCall;
Expand All @@ -16,7 +16,7 @@
/**
* Entry point to AD user management API.
*/
@LangDefinition(ContainerName = "~/")
@Fluent(ContainerName = "/Microsoft.Azure.Management.Fluent.Graph.RBAC")
public interface Users extends
SupportsCreating<User.DefinitionStages.Blank>,
SupportsListing<User> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
package com.microsoft.azure.management.keyvault;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Method;
import com.microsoft.azure.management.graphrbac.ActiveDirectoryGroup;
import com.microsoft.azure.management.graphrbac.ServicePrincipal;
import com.microsoft.azure.management.graphrbac.User;
Expand All @@ -21,7 +22,7 @@
/**
* An immutable client-side representation of a key vault access policy.
*/
@Fluent()
@Fluent(ContainerName = "/Microsoft.Azure.Management.Fluent.KeyVault")
public interface AccessPolicy extends
ChildResource<Vault>,
Wrapper<AccessPolicyEntry> {
Expand Down Expand Up @@ -136,6 +137,7 @@ interface WithPermissions<ParentT> {
*
* @return the next stage of access policy definition
*/
@Method
WithAttach<ParentT> allowKeyAllPermissions();

/**
Expand All @@ -159,6 +161,7 @@ interface WithPermissions<ParentT> {
*
* @return the next stage of access policy definition
*/
@Method
WithAttach<ParentT> allowSecretAllPermissions();

/**
Expand Down Expand Up @@ -276,6 +279,7 @@ interface WithPermissions<ParentT> {
*
* @return the next stage of access policy definition
*/
@Method
WithAttach<ParentT> allowKeyAllPermissions();

/**
Expand All @@ -299,6 +303,7 @@ interface WithPermissions<ParentT> {
*
* @return the next stage of access policy definition
*/
@Method
WithAttach<ParentT> allowSecretAllPermissions();

/**
Expand Down Expand Up @@ -344,6 +349,7 @@ interface WithPermissions {
*
* @return the next stage of access policy update
*/
@Method
Update allowKeyAllPermissions();

/**
Expand All @@ -367,6 +373,7 @@ interface WithPermissions {
*
* @return the next stage of access policy update
*/
@Method
Update disallowKeyAllPermissions();

/**
Expand All @@ -390,6 +397,7 @@ interface WithPermissions {
*
* @return the next stage of access policy definition
*/
@Method
Update allowSecretAllPermissions();

/**
Expand All @@ -413,6 +421,7 @@ interface WithPermissions {
*
* @return the next stage of access policy update
*/
@Method
Update disallowSecretAllPermissions();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
package com.microsoft.azure.management.keyvault;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Method;
import com.microsoft.azure.management.keyvault.implementation.VaultInner;
import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource;
import com.microsoft.azure.management.resources.fluentcore.model.Appliable;
Expand All @@ -20,7 +21,7 @@
/**
* An immutable client-side representation of an Azure Key Vault.
*/
@Fluent
@Fluent(ContainerName = "/Microsoft.Azure.Management.Fluent.KeyVault")
public interface Vault extends
GroupableResource,
Refreshable<Vault>,
Expand Down Expand Up @@ -134,6 +135,7 @@ interface WithAccessPolicy {
*
* @return the first stage of the access policy definition
*/
@Method
AccessPolicy.DefinitionStages.Blank<WithCreate> defineAccessPolicy();
}

Expand Down Expand Up @@ -227,6 +229,7 @@ interface WithAccessPolicy {
*
* @return the first stage of the access policy definition
*/
@Method
AccessPolicy.UpdateDefinitionStages.Blank<Update> defineAccessPolicy();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Entry point for key vaults management API.
*/
@Fluent
@Fluent(ContainerName = "/Microsoft.Azure.Management.Fluent.KeyVault")
public interface Vaults extends
SupportsListing<Vault>,
SupportsCreating<Vault.DefinitionStages.Blank>,
Expand Down