Skip to content
Closed
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
@@ -1,6 +1,8 @@
# Release History

## 1.1.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2023-10-12)

- Azure Resource Manager PaloAlto Networks Ngfw client library for Java. This package contains Microsoft Azure SDK for PaloAlto Networks Ngfw Management SDK. Package tag package-2022-08-29. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-paloaltonetworks-ngfw</artifactId>
<version>1.0.0</version>
<version>1.1.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down Expand Up @@ -103,3 +103,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fpaloaltonetworks%2Fazure-resourcemanager-paloaltonetworks-ngfw%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,7 @@ public final class FirewallsCreateOrUpdateSamples {
.create();
}

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand Down Expand Up @@ -1311,6 +1312,7 @@ public final class FirewallsUpdateSamples {
.apply();
}

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand Down Expand Up @@ -1736,6 +1738,7 @@ public final class GlobalRulestackCreateOrUpdateSamples {
com.azure.core.util.Context.NONE);
}

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand Down Expand Up @@ -2231,6 +2234,7 @@ public final class GlobalRulestackUpdateSamples {
.updateWithResponse("praval", new GlobalRulestackResourceUpdate(), com.azure.core.util.Context.NONE);
}

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand Down Expand Up @@ -2642,6 +2646,7 @@ public final class LocalRulestacksCreateOrUpdateSamples {
.create();
}

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand Down Expand Up @@ -3222,6 +3227,7 @@ public final class LocalRulestacksUpdateSamples {
resource.update().apply();
}

// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static <T> Map<String, T> mapOf(Object... inputs) {
Map<String, T> map = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public PaloAltoNetworksNgfwManager authenticate(TokenCredential credential, Azur
.append("-")
.append("com.azure.resourcemanager.paloaltonetworks.ngfw")
.append("/")
.append("1.0.0");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -488,8 +488,10 @@ public PrefixListLocalRulestacks prefixListLocalRulestacks() {
}

/**
* @return Wrapped service client PaloAltoNetworksCloudngfw providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
* Gets wrapped service client PaloAltoNetworksCloudngfw providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
*
* @return Wrapped service client PaloAltoNetworksCloudngfw.
*/
public PaloAltoNetworksCloudngfw serviceClient() {
return this.clientObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public PaloAltoNetworksCloudngfwImpl buildClient() {
localSerializerAdapter,
localDefaultPollInterval,
localEnvironment,
subscriptionId,
this.subscriptionId,
localEndpoint);
return client;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,13 @@ interface Definition
DefinitionStages.WithCertificateSelfSigned,
DefinitionStages.WithCreate {
}

/** The CertificateObjectLocalRulestackResource definition stages. */
interface DefinitionStages {
/** The first stage of the CertificateObjectLocalRulestackResource definition. */
interface Blank extends WithParentResource {
}

/** The stage of the CertificateObjectLocalRulestackResource definition allowing to specify parent resource. */
interface WithParentResource {
/**
Expand All @@ -120,6 +122,7 @@ interface WithParentResource {
*/
WithCertificateSelfSigned withExistingLocalRulestack(String resourceGroupName, String localRulestackName);
}

/**
* The stage of the CertificateObjectLocalRulestackResource definition allowing to specify
* certificateSelfSigned.
Expand All @@ -133,6 +136,7 @@ interface WithCertificateSelfSigned {
*/
WithCreate withCertificateSelfSigned(BooleanEnum certificateSelfSigned);
}

/**
* The stage of the CertificateObjectLocalRulestackResource definition which contains all the minimum required
* properties for the resource to be created, but also allows for any other optional properties to be specified.
Expand All @@ -157,6 +161,7 @@ interface WithCreate
*/
CertificateObjectLocalRulestackResource create(Context context);
}

/**
* The stage of the CertificateObjectLocalRulestackResource definition allowing to specify
* certificateSignerResourceId.
Expand All @@ -172,6 +177,7 @@ interface WithCertificateSignerResourceId {
*/
WithCreate withCertificateSignerResourceId(String certificateSignerResourceId);
}

/** The stage of the CertificateObjectLocalRulestackResource definition allowing to specify auditComment. */
interface WithAuditComment {
/**
Expand All @@ -182,6 +188,7 @@ interface WithAuditComment {
*/
WithCreate withAuditComment(String auditComment);
}

/** The stage of the CertificateObjectLocalRulestackResource definition allowing to specify description. */
interface WithDescription {
/**
Expand All @@ -192,6 +199,7 @@ interface WithDescription {
*/
WithCreate withDescription(String description);
}

/** The stage of the CertificateObjectLocalRulestackResource definition allowing to specify etag. */
interface WithEtag {
/**
Expand All @@ -203,6 +211,7 @@ interface WithEtag {
WithCreate withEtag(String etag);
}
}

/**
* Begins update for the CertificateObjectLocalRulestackResource resource.
*
Expand Down Expand Up @@ -232,6 +241,7 @@ interface Update
*/
CertificateObjectLocalRulestackResource apply(Context context);
}

/** The CertificateObjectLocalRulestackResource update stages. */
interface UpdateStages {
/**
Expand All @@ -249,6 +259,7 @@ interface WithCertificateSignerResourceId {
*/
Update withCertificateSignerResourceId(String certificateSignerResourceId);
}

/**
* The stage of the CertificateObjectLocalRulestackResource update allowing to specify certificateSelfSigned.
*/
Expand All @@ -261,6 +272,7 @@ interface WithCertificateSelfSigned {
*/
Update withCertificateSelfSigned(BooleanEnum certificateSelfSigned);
}

/** The stage of the CertificateObjectLocalRulestackResource update allowing to specify auditComment. */
interface WithAuditComment {
/**
Expand All @@ -271,6 +283,7 @@ interface WithAuditComment {
*/
Update withAuditComment(String auditComment);
}

/** The stage of the CertificateObjectLocalRulestackResource update allowing to specify description. */
interface WithDescription {
/**
Expand All @@ -281,6 +294,7 @@ interface WithDescription {
*/
Update withDescription(String description);
}

/** The stage of the CertificateObjectLocalRulestackResource update allowing to specify etag. */
interface WithEtag {
/**
Expand All @@ -292,6 +306,7 @@ interface WithEtag {
Update withEtag(String etag);
}
}

/**
* Refreshes the resource to sync with Azure.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,13 @@ interface Definition
DefinitionStages.WithMarketplaceDetails,
DefinitionStages.WithCreate {
}

/** The FirewallResource definition stages. */
interface DefinitionStages {
/** The first stage of the FirewallResource definition. */
interface Blank extends WithLocation {
}

/** The stage of the FirewallResource definition allowing to specify location. */
interface WithLocation {
/**
Expand All @@ -196,6 +198,7 @@ interface WithLocation {
*/
WithResourceGroup withRegion(String location);
}

/** The stage of the FirewallResource definition allowing to specify parent resource. */
interface WithResourceGroup {
/**
Expand All @@ -206,6 +209,7 @@ interface WithResourceGroup {
*/
WithNetworkProfile withExistingResourceGroup(String resourceGroupName);
}

/** The stage of the FirewallResource definition allowing to specify networkProfile. */
interface WithNetworkProfile {
/**
Expand All @@ -216,6 +220,7 @@ interface WithNetworkProfile {
*/
WithDnsSettings withNetworkProfile(NetworkProfile networkProfile);
}

/** The stage of the FirewallResource definition allowing to specify dnsSettings. */
interface WithDnsSettings {
/**
Expand All @@ -226,6 +231,7 @@ interface WithDnsSettings {
*/
WithPlanData withDnsSettings(DnsSettings dnsSettings);
}

/** The stage of the FirewallResource definition allowing to specify planData. */
interface WithPlanData {
/**
Expand All @@ -236,6 +242,7 @@ interface WithPlanData {
*/
WithMarketplaceDetails withPlanData(PlanData planData);
}

/** The stage of the FirewallResource definition allowing to specify marketplaceDetails. */
interface WithMarketplaceDetails {
/**
Expand All @@ -246,6 +253,7 @@ interface WithMarketplaceDetails {
*/
WithCreate withMarketplaceDetails(MarketplaceDetails marketplaceDetails);
}

/**
* The stage of the FirewallResource definition which contains all the minimum required properties for the
* resource to be created, but also allows for any other optional properties to be specified.
Expand Down Expand Up @@ -273,6 +281,7 @@ interface WithCreate
*/
FirewallResource create(Context context);
}

/** The stage of the FirewallResource definition allowing to specify tags. */
interface WithTags {
/**
Expand All @@ -283,6 +292,7 @@ interface WithTags {
*/
WithCreate withTags(Map<String, String> tags);
}

/** The stage of the FirewallResource definition allowing to specify identity. */
interface WithIdentity {
/**
Expand All @@ -293,6 +303,7 @@ interface WithIdentity {
*/
WithCreate withIdentity(AzureResourceManagerManagedIdentityProperties identity);
}

/** The stage of the FirewallResource definition allowing to specify panEtag. */
interface WithPanEtag {
/**
Expand All @@ -303,6 +314,7 @@ interface WithPanEtag {
*/
WithCreate withPanEtag(String panEtag);
}

/** The stage of the FirewallResource definition allowing to specify isPanoramaManaged. */
interface WithIsPanoramaManaged {
/**
Expand All @@ -314,6 +326,7 @@ interface WithIsPanoramaManaged {
*/
WithCreate withIsPanoramaManaged(BooleanEnum isPanoramaManaged);
}

/** The stage of the FirewallResource definition allowing to specify panoramaConfig. */
interface WithPanoramaConfig {
/**
Expand All @@ -324,6 +337,7 @@ interface WithPanoramaConfig {
*/
WithCreate withPanoramaConfig(PanoramaConfig panoramaConfig);
}

/** The stage of the FirewallResource definition allowing to specify associatedRulestack. */
interface WithAssociatedRulestack {
/**
Expand All @@ -334,6 +348,7 @@ interface WithAssociatedRulestack {
*/
WithCreate withAssociatedRulestack(RulestackDetails associatedRulestack);
}

/** The stage of the FirewallResource definition allowing to specify frontEndSettings. */
interface WithFrontEndSettings {
/**
Expand All @@ -345,6 +360,7 @@ interface WithFrontEndSettings {
WithCreate withFrontEndSettings(List<FrontendSetting> frontEndSettings);
}
}

/**
* Begins update for the FirewallResource resource.
*
Expand All @@ -369,6 +385,7 @@ interface Update extends UpdateStages.WithTags, UpdateStages.WithIdentity, Updat
*/
FirewallResource apply(Context context);
}

/** The FirewallResource update stages. */
interface UpdateStages {
/** The stage of the FirewallResource update allowing to specify tags. */
Expand All @@ -381,6 +398,7 @@ interface WithTags {
*/
Update withTags(Map<String, String> tags);
}

/** The stage of the FirewallResource update allowing to specify identity. */
interface WithIdentity {
/**
Expand All @@ -391,6 +409,7 @@ interface WithIdentity {
*/
Update withIdentity(AzureResourceManagerManagedIdentityProperties identity);
}

/** The stage of the FirewallResource update allowing to specify properties. */
interface WithProperties {
/**
Expand All @@ -402,6 +421,7 @@ interface WithProperties {
Update withProperties(FirewallResourceUpdateProperties properties);
}
}

/**
* Refreshes the resource to sync with Azure.
*
Expand Down
Loading