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 @@ -40,6 +40,8 @@ public ArmDisasterRecovery()
/// Alias(Disaster Recovery configuration) - possible values 'Accepted'
/// or 'Succeeded' or 'Failed'. Possible values include: 'Accepted',
/// 'Succeeded', 'Failed'</param>
/// <param name="pendingReplicationOperationsCount">Number of entities
/// pending to be replicated.</param>
/// <param name="partnerNamespace">ARM Id of the Primary/Secondary
/// eventhub namespace name, which is part of GEO DR pairning</param>
/// <param name="alternateName">Primary/Secondary eventhub namespace
Expand All @@ -48,10 +50,11 @@ public ArmDisasterRecovery()
/// 'Primary' or 'PrimaryNotReplicating' or 'Secondary'. Possible
/// values include: 'Primary', 'PrimaryNotReplicating',
/// 'Secondary'</param>
public ArmDisasterRecovery(string id = default(string), string name = default(string), string type = default(string), ProvisioningStateDR? provisioningState = default(ProvisioningStateDR?), string partnerNamespace = default(string), string alternateName = default(string), RoleDisasterRecovery? role = default(RoleDisasterRecovery?))
public ArmDisasterRecovery(string id = default(string), string name = default(string), string type = default(string), ProvisioningStateDR? provisioningState = default(ProvisioningStateDR?), long? pendingReplicationOperationsCount = default(long?), string partnerNamespace = default(string), string alternateName = default(string), RoleDisasterRecovery? role = default(RoleDisasterRecovery?))
: base(id, name, type)
{
ProvisioningState = provisioningState;
PendingReplicationOperationsCount = pendingReplicationOperationsCount;
PartnerNamespace = partnerNamespace;
AlternateName = alternateName;
Role = role;
Expand All @@ -72,6 +75,12 @@ public ArmDisasterRecovery()
[JsonProperty(PropertyName = "properties.provisioningState")]
public ProvisioningStateDR? ProvisioningState { get; private set; }

/// <summary>
/// Gets number of entities pending to be replicated.
/// </summary>
[JsonProperty(PropertyName = "properties.pendingReplicationOperationsCount")]
public long? PendingReplicationOperationsCount { get; private set; }

/// <summary>
/// Gets or sets ARM Id of the Primary/Secondary eventhub namespace
/// name, which is part of GEO DR pairning
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ public MigrationConfigProperties()
/// <param name="type">Resource type</param>
/// <param name="provisioningState">Provisioning state of Migration
/// Configuration </param>
public MigrationConfigProperties(string targetNamespace, string postMigrationName, string id = default(string), string name = default(string), string type = default(string), string provisioningState = default(string))
/// <param name="pendingReplicationOperationsCount">Number of entities
/// pending to be replicated.</param>
public MigrationConfigProperties(string targetNamespace, string postMigrationName, string id = default(string), string name = default(string), string type = default(string), string provisioningState = default(string), long? pendingReplicationOperationsCount = default(long?))
: base(id, name, type)
{
ProvisioningState = provisioningState;
PendingReplicationOperationsCount = pendingReplicationOperationsCount;
TargetNamespace = targetNamespace;
PostMigrationName = postMigrationName;
CustomInit();
Expand All @@ -61,6 +64,12 @@ public MigrationConfigProperties()
[JsonProperty(PropertyName = "properties.provisioningState")]
public string ProvisioningState { get; private set; }

/// <summary>
/// Gets number of entities pending to be replicated.
/// </summary>
[JsonProperty(PropertyName = "properties.pendingReplicationOperationsCount")]
public long? PendingReplicationOperationsCount { get; private set; }

/// <summary>
/// Gets or sets existing premium Namespace ARM Id name which has no
/// entities, will be used for migration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
<PackageId>Microsoft.Azure.Management.ServiceBus</PackageId>
<Description>Provides developers with libraries to create and manage Namespaces and manage Authorization Rules. Note: This client library is for ServiceBus under Azure Resource Manager.</Description>
<AssemblyName>Microsoft.Azure.Management.ServiceBus</AssemblyName>
<Version>1.3.0</Version>
<Version>1.4.0</Version>
<PackageTags>Microsoft Azure ServiceBus Management;ServiceBus;ServiceBus management;</PackageTags>
<PackageReleaseNotes>
<![CDATA[
Servicebus: Standard to Premium Namespace Migration API -
1) Standard to Premium Namespace Migration API : added API to which supports Standard to Premium Migration
2) $skip and $top parameters (query) for the list calls to support fetch the required number of entities in list calls
Servicebus:
1) Added property pendingReplicationOperationsCount to GeoDR and Migration
]]>
</PackageReleaseNotes>
<TargetFrameworks>net452;netstandard1.4</TargetFrameworks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[assembly: AssemblyDescription("Provides Microsoft Azure ServiceBus management functions for managing the Microsoft Azure ServiceBus service.")]

[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.3.0.0")]
[assembly: AssemblyFileVersion("1.4.0.0")]

[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
Expand Down
4 changes: 4 additions & 0 deletions src/SDKs/ServiceBus/ServiceBus.Tests/ServiceBus.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
<PropertyGroup>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="xunit" Version="2.3.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Management.ServiceBus\Microsoft.Azure.Management.ServiceBus.csproj" />
Expand Down
Loading