Skip to content

Commit

Permalink
Generated from 45fe47291a52292f6d5d533e29318de910e48625
Browse files Browse the repository at this point in the history
revert
  • Loading branch information
SDK Automation committed Jul 9, 2020
1 parent af9c067 commit 017569a
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 383 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ public interface FirewallPolicy extends HasInner<FirewallPolicyInner>, Resource,
*/
List<SubResource> firewalls();

/**
* @return the intrusionSystemMode value.
*/
FirewallPolicyIntrusionSystemMode intrusionSystemMode();

/**
* @return the provisioningState value.
*/
Expand Down Expand Up @@ -100,18 +95,6 @@ interface WithBasePolicy {
WithCreate withBasePolicy(SubResource basePolicy);
}

/**
* The stage of the firewallpolicy definition allowing to specify IntrusionSystemMode.
*/
interface WithIntrusionSystemMode {
/**
* Specifies intrusionSystemMode.
* @param intrusionSystemMode The operation mode for Intrusion system. Possible values include: 'Enabled', 'Disabled'
* @return the next definition stage
*/
WithCreate withIntrusionSystemMode(FirewallPolicyIntrusionSystemMode intrusionSystemMode);
}

/**
* The stage of the firewallpolicy definition allowing to specify ThreatIntelMode.
*/
Expand All @@ -129,13 +112,13 @@ interface WithThreatIntelMode {
* the resource to be created (via {@link WithCreate#create()}), but also allows
* for any other optional settings to be specified.
*/
interface WithCreate extends Creatable<FirewallPolicy>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithBasePolicy, DefinitionStages.WithIntrusionSystemMode, DefinitionStages.WithThreatIntelMode {
interface WithCreate extends Creatable<FirewallPolicy>, Resource.DefinitionWithTags<WithCreate>, DefinitionStages.WithBasePolicy, DefinitionStages.WithThreatIntelMode {
}
}
/**
* The template for a FirewallPolicy update operation, containing all the settings that can be modified.
*/
interface Update extends Appliable<FirewallPolicy>, Resource.UpdateWithTags<Update>, UpdateStages.WithBasePolicy, UpdateStages.WithIntrusionSystemMode, UpdateStages.WithThreatIntelMode {
interface Update extends Appliable<FirewallPolicy>, Resource.UpdateWithTags<Update>, UpdateStages.WithBasePolicy, UpdateStages.WithThreatIntelMode {
}

/**
Expand All @@ -154,18 +137,6 @@ interface WithBasePolicy {
Update withBasePolicy(SubResource basePolicy);
}

/**
* The stage of the firewallpolicy update allowing to specify IntrusionSystemMode.
*/
interface WithIntrusionSystemMode {
/**
* Specifies intrusionSystemMode.
* @param intrusionSystemMode The operation mode for Intrusion system. Possible values include: 'Enabled', 'Disabled'
* @return the next update stage
*/
Update withIntrusionSystemMode(FirewallPolicyIntrusionSystemMode intrusionSystemMode);
}

/**
* The stage of the firewallpolicy update allowing to specify ThreatIntelMode.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import com.microsoft.azure.SubResource;
import com.microsoft.azure.management.network.v2020_03_01.ProvisioningState;
import com.microsoft.azure.management.network.v2020_03_01.AzureFirewallThreatIntelMode;
import com.microsoft.azure.management.network.v2020_03_01.FirewallPolicyIntrusionSystemMode;

class FirewallPolicyImpl extends GroupableResourceCoreImpl<FirewallPolicy, FirewallPolicyInner, FirewallPolicyImpl, NetworkManager> implements FirewallPolicy, FirewallPolicy.Definition, FirewallPolicy.Update {
FirewallPolicyImpl(String name, FirewallPolicyInner inner, NetworkManager manager) {
Expand Down Expand Up @@ -68,11 +67,6 @@ public List<SubResource> firewalls() {
return this.inner().firewalls();
}

@Override
public FirewallPolicyIntrusionSystemMode intrusionSystemMode() {
return this.inner().intrusionSystemMode();
}

@Override
public ProvisioningState provisioningState() {
return this.inner().provisioningState();
Expand All @@ -94,12 +88,6 @@ public FirewallPolicyImpl withBasePolicy(SubResource basePolicy) {
return this;
}

@Override
public FirewallPolicyImpl withIntrusionSystemMode(FirewallPolicyIntrusionSystemMode intrusionSystemMode) {
this.inner().withIntrusionSystemMode(intrusionSystemMode);
return this;
}

@Override
public FirewallPolicyImpl withThreatIntelMode(AzureFirewallThreatIntelMode threatIntelMode) {
this.inner().withThreatIntelMode(threatIntelMode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import com.microsoft.azure.SubResource;
import com.microsoft.azure.management.network.v2020_03_01.ProvisioningState;
import com.microsoft.azure.management.network.v2020_03_01.AzureFirewallThreatIntelMode;
import com.microsoft.azure.management.network.v2020_03_01.FirewallPolicyIntrusionSystemMode;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.rest.SkipParentValidation;
Expand Down Expand Up @@ -63,13 +62,6 @@ public class FirewallPolicyInner extends Resource {
@JsonProperty(value = "properties.threatIntelMode")
private AzureFirewallThreatIntelMode threatIntelMode;

/**
* The operation mode for Intrusion system. Possible values include:
* 'Enabled', 'Disabled'.
*/
@JsonProperty(value = "properties.intrusionSystemMode")
private FirewallPolicyIntrusionSystemMode intrusionSystemMode;

/**
* A unique read-only string that changes whenever the resource is updated.
*/
Expand Down Expand Up @@ -158,26 +150,6 @@ public FirewallPolicyInner withThreatIntelMode(AzureFirewallThreatIntelMode thre
return this;
}

/**
* Get the operation mode for Intrusion system. Possible values include: 'Enabled', 'Disabled'.
*
* @return the intrusionSystemMode value
*/
public FirewallPolicyIntrusionSystemMode intrusionSystemMode() {
return this.intrusionSystemMode;
}

/**
* Set the operation mode for Intrusion system. Possible values include: 'Enabled', 'Disabled'.
*
* @param intrusionSystemMode the intrusionSystemMode value to set
* @return the FirewallPolicyInner object itself.
*/
public FirewallPolicyInner withIntrusionSystemMode(FirewallPolicyIntrusionSystemMode intrusionSystemMode) {
this.intrusionSystemMode = intrusionSystemMode;
return this;
}

/**
* Get a unique read-only string that changes whenever the resource is updated.
*
Expand Down
Loading

0 comments on commit 017569a

Please sign in to comment.