Skip to content

Commit 2c724d8

Browse files
v-yuzhichenZiyue Zheng
andauthored
Fix Az.EventHub XML Comments (Azure#18429)
* Fix Az.EventHub XML Comments * Update PSNetworkRuleSetAttributes.cs Co-authored-by: Ziyue Zheng <[email protected]>
1 parent 243bafb commit 2c724d8

6 files changed

+7
-29
lines changed

src/EventHub/EventHub/Models/PSCaptureDescriptionAttributes.cs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,7 @@ public PSCaptureDescriptionAttributes()
3636
/// <summary>
3737
/// Initializes a new instance of the CaptureDescription class.
3838
/// </summary>
39-
/// <param name="enabled">A value that indicates whether capture
40-
/// description is enabled. </param>
41-
/// <param name="encoding">Enumerates the possible values for the
42-
/// encoding format of capture description. Possible values include:
43-
/// 'Avro', 'AvroDeflate'</param>
44-
/// <param name="intervalInSeconds">The time window allows you to set
45-
/// the frequency with which the capture to Azure Blobs will happen,
46-
/// value should between 60 to 900 seconds</param>
47-
/// <param name="sizeLimitInBytes">The size window defines the amount
48-
/// of data built up in your Event Hub before an capture operation,
49-
/// value should be between 10485760 to 524288000 bytes</param>
50-
/// <param name="destination">Properties of Destination where capture
51-
/// will be stored. (Storage Account, Blob Names)</param>
39+
/// <param name="captureDescResource"></param>
5240
public PSCaptureDescriptionAttributes(Microsoft.Azure.Management.EventHub.Models.CaptureDescription captureDescResource)
5341
{
5442
Enabled = captureDescResource.Enabled;

src/EventHub/EventHub/Models/PSNWRuleSetIpRulesAttributes.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ public static IList<PSNWRuleSetIpRulesAttributes> PSNWRuleSetIpRulesAttributesCo
4343
/// <summary>
4444
/// Initializes a new instance of the NWRuleSetIpRules class.
4545
/// </summary>
46-
/// <param name="ipMask">IP Mask</param>
47-
/// <param name="action">The IP Filter Action. Possible values include:
48-
/// 'Allow'</param>
46+
/// <param name="nwiprules"></param>
4947
public PSNWRuleSetIpRulesAttributes(NWRuleSetIpRules nwiprules)
5048
{
5149
IpMask = nwiprules.IpMask;

src/EventHub/EventHub/Models/PSNWRuleSetVirtualNetworkRulesAttributes.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ public PSNWRuleSetVirtualNetworkRulesAttributes()
3232
/// Initializes a new instance of the NWRuleSetVirtualNetworkRules
3333
/// class.
3434
/// </summary>
35-
/// <param name="subnet">Subnet properties</param>
36-
/// <param name="ignoreMissingVnetServiceEndpoint">Value that indicates
37-
/// whether to ignore missing VNet Service Endpoint</param>
35+
/// <param name="nwVirtualNetworkRules"></param>
3836
public static IList<PSNWRuleSetVirtualNetworkRulesAttributes> PSNWRuleSetVirtualNetworkRulesAttributesCollection(IList<NWRuleSetVirtualNetworkRules> nwVirtualNetworkRules)
3937
{
4038
List<PSNWRuleSetVirtualNetworkRulesAttributes> VNetRules = new List<PSNWRuleSetVirtualNetworkRulesAttributes>();

src/EventHub/EventHub/Models/PSNetworkRuleSetAttributes.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,8 @@ public PSNetworkRuleSetAttributes()
3535
/// <summary>
3636
/// Initializes a new instance of the NetworkRuleSet class.
3737
/// </summary>
38-
/// <param name="id">Resource Id</param>
39-
/// <param name="name">Resource name</param>
40-
/// <param name="type">Resource type</param>
41-
/// <param name="defaultAction">Default Action for Network Rule Set.
42-
/// Possible values include: 'Allow', 'Deny'</param>
43-
/// <param name="VirtualNetworkRules">List VirtualNetwork Rules</param>
44-
/// <param name="ipRules">List of IpRules</param>
45-
public PSNetworkRuleSetAttributes(NetworkRuleSet networkRuleSet)
38+
/// <param name="networkRuleSet"></param>
39+
public PSNetworkRuleSetAttributes(NetworkRuleSet networkRuleSet)
4640
{
4741
DefaultAction = networkRuleSet.DefaultAction;
4842
TrustedServiceAccessEnabled = networkRuleSet.TrustedServiceAccessEnabled;

src/EventHub/EventHub/Models/PSSharedAccessSignatureAttributes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public PSSharedAccessSignatureAttributes()
3030
/// <summary>
3131
/// Initializes a new instance of the SharedAccessSignature class.
3232
/// </summary>
33-
/// <param name="SharedAccessSignature">SharedAccess Signature</param>
33+
/// <param name="sharedAccessSignature">SharedAccess Signature</param>
3434
public PSSharedAccessSignatureAttributes(string sharedAccessSignature)
3535
{
3636
SharedAccessSignature = sharedAccessSignature.Replace("SharedAccessSignature","");

src/EventHub/EventHub/Models/PSSubnetAttributes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public PSSubnetAttributes()
3030
/// <summary>
3131
/// Initializes a new instance of the Subnet class.
3232
/// </summary>
33-
/// <param name="id">Resource ID of Virtual Network Subnet</param>
33+
/// <param name="subnet"></param>
3434
public PSSubnetAttributes(Subnet subnet)
3535
{
3636
Id = subnet.Id;

0 commit comments

Comments
 (0)