Exemplo n.º 1
0
 ///GENMHASH:F99F3258B7041A2910BA994BB518EAA3:2CC5F403817B58A1E7310EB6F1AF1764
 public EventHubAuthorizationRuleImpl WithExistingEventHub(IEventHub eventHub)
 {
     this.ancestor = new TwoAncestor(SelfId(eventHub.Id));
     return(this);
 }
Exemplo n.º 2
0
 ///GENMHASH:0D1A56A2D4975A5117372A4C6EDA24AD:0D55D5CB70DDB4764B2683E09E4F714C
 public EventHubAuthorizationRuleImpl WithExistingEventHubId(string eventHubResourceId)
 {
     this.ancestor = new TwoAncestor(SelfId(eventHubResourceId));
     return(this);
 }
Exemplo n.º 3
0
 ///GENMHASH:8E558916BC9FD09AB1EE2BAA127372EB:1D4B99B2219FD6B197BBB7366BE9C73B
 public EventHubAuthorizationRuleImpl WithExistingEventHub(string resourceGroupName, string namespaceName, string eventHubName)
 {
     this.ancestor = new TwoAncestor(resourceGroupName, eventHubName, namespaceName);
     return(this);
 }
Exemplo n.º 4
0
 ///GENMHASH:88DB44BAECF6544F77A2C83BD6FC1C3B:7517BB8CBCB94F9AA4632A3D07863A48
 internal EventHubAuthorizationRuleImpl(string name, AuthorizationRuleInner inner, IEventHubManager manager) : base(name, inner, manager)
 {
     this.ancestor = new TwoAncestor(inner.Id);
 }
 ///GENMHASH:8E558916BC9FD09AB1EE2BAA127372EB:1D4B99B2219FD6B197BBB7366BE9C73B
 public EventHubConsumerGroupImpl WithExistingEventHub(string resourceGroupName, string namespaceName, string eventHubName)
 {
     this.ancestor = new TwoAncestor(resourceGroupName, eventHubName, namespaceName);
     return(this);
 }
 ///GENMHASH:0D1A56A2D4975A5117372A4C6EDA24AD:FC5A569B96738DB334A09C4983B592F2
 public EventHubConsumerGroupImpl WithExistingEventHubId(string eventHubId)
 {
     this.ancestor = new TwoAncestor(SelfId(eventHubId));
     return(this);
 }
 ///GENMHASH:88ACEE67E968823C2BF1792E4FD65454:7517BB8CBCB94F9AA4632A3D07863A48
 internal EventHubConsumerGroupImpl(string name, ConsumerGroupInner inner, IEventHubManager manager) : base(name, inner, manager)
 {
     this.ancestor = new TwoAncestor(inner.Id);
 }
 ///GENMHASH:D4CA07DF69C5770C25C54C590A72C9A3:84E3CA373B4BC562253F7D0744B26A1E
 public DisasterRecoveryPairingAuthorizationRuleImpl(AuthorizationRuleInner inner, EventHubManager manager) : base(inner)
 {
     this.manager  = manager;
     this.ancestor = new TwoAncestor(inner.Id);
 }