DSC capturing and using resource output

I am currently building a solution to rapidly create / destroy environments in Azure. DSC appears to be a good framework to base this on. However I am running into a few problems along the way! and documentation is somewhat scant when it comes to fine details.
My first issue is that I need to keep the cloud service name flexible (incase the one I attempt is taken) but there doesn't appear to be a mechanism for taking the output of one resource and applying it to the input of the next. So if I create cloud service
az[0-9] in one resource , how does the resource that depends on it know to deploy a solution to that service.
It strikes me that this is exactly what Set-TargetResource is for, to obtain these parameters to be taken used as part of the logic, but I have been unable to find any details about how that works.

Hi A-z-l,
For the Azure issue part, I also recommend you to post on the Windows Azure forum here:
http://social.msdn.microsoft.com/Forums/windowsazure/en-US/home?category=windowsazureplatform
However, to build the function Set-TargetResource in powershell DSC, please start with these articles below:
PowerShell Community DSC Modules:
https://github.com/PowerShellOrg/DSC
azuredsc:
https://github.com/opsgility/azuredsc/tree/master/Scripts
I hope this helps.

Similar Messages

  • Calling a stored procedures and using its output parameters in a report

    Hi,,
    I have a procedure defined in a package on the database. This procedure returns a number of output parameters. How do I call this procedure and use the output parameters in my report ?
    Thanks, Mark

    Depends on the level at which the procedure has to be called. If its at report-level, call the Form in the BEFORE-REPORT-trigger (or AFTER-PARAMFORM) and store the out-values in Placeholder-columns. These you can use anywhere in your report.

  • SPM Auto Load Capture and Use.

    Hi,
    I was reading about Oracle SPM feature, but i have questions in mind for automatic feature..
    * if we have set both capture and use parameter true. Oracle will automatically capture Plans, but will it automatically evolve new plans to accepted or it will wait for evolve it manually before using new plan.
    * If it Automatically evolve, when and how will it?
    * If it Automatically, will change old plan's flag accepted to No? or add one more accepted plan
    regards
    Hitesh

    if we have set both capture and use parameter true. Oracle will automatically capture PlansCorrect.
    but will it automatically evolve new plans to accepted or it will wait for evolve it manually before using new plan.For plans manually loaded into a baseline, these should be loaded as accepted.
    If a plan is loaded automatically and no plan already exists, then the first plan will be created as ACCEPTED=YES.
    Otherwise, if the plans are loaded automatically, then they will not be accepted until performance has been verified by the evolution process.
    If it Automatically evolve, when and how will it?If the task is enabled, the SQL Tuning Advisor auto task will deal with the automatic evolution.
    If it Automatically, will change old plan's flag accepted to No? or add one more accepted planThe accepted flag of the previous plan should not be set to NO, there should be multiple accepted plans.
    It might be worth taking a step back and looking at the big picture with automatic baseline capture on.
    - If you have a SQL statement for which there is not an accepted baseline, on parse the optimizer does its usual optimizer business and the generated plan is stored in a baseline as ACCEPTED=YES.
    - If you have a SQL statement for which there is already an accepted baseline, on parse the optimizer does its usual optimizer business.
    - If the plan it comes up with by default matches one of the baselines, great.
    - If the plan doesn't match one of the baselines then it will store the generated plan in the baseline to wait for evolution.
    - The optimizer will then use the outline hints in the baseline to generate the particular plan - to do this it has to match the plan_hash_2 value to the underlying plan id in sys.sqlobj$/sqlobj$data/sqlobj$auxdata.
    - If the optimizer can generate the plan, great.
    - If the optimizer cannot generate the baselined plan, then it will revert to the generated plan and mark the relevant plan as reproduced=NO.
    - What if there are multiple accepted plans? It will attempt to reproduce the plans in order of lowest cost baselined plans first.

  • How to run different programs and use their output in other programs

    Dear java members,
    I am trying to figure out how to get data from a file, database, or program and use that information in another
    program. Can you help please?
    I have looked through several texts and while the information is there somewhere I have not found the specific
    capabilities or examples that explain how to do this.
    I want to learn how to do this with objects.
    The specific applications I am working with are the GIS (Geographic Information System) suite of ESRI products
    such as ArcInfo and ArcView.
    I am working with simulators for hydrologeology (ground water) and other geophysical phenomenae. Programs for
    decisions and assessment of probability such as found in geostatistical analyses packages. Drawing programs
    and data manipulation programs such as spreadsheets in windows and scripting languages found in most Unix
    packages.
    I want to be proprietary platform free! I want to be accessing apps and or data wherever they are and in
    whichever form they are in or best used.
    Web techniques and protocols are where I think most of my effort will be focused.
    One of the mediums (media) that I expect to use a lot is XML.
    If I can find a simplified (generalized) explanation how this is done and how the parts fit together through and or
    with objects. If I can find references to texts and examples I will be very appreciative and very much less
    confused.
    I am interested in using the Java programming language.
    Thank you
    ctavares1

    Hello ctavares1,
    I am not quite sure that I understand what you are trying to do. The programs that you mention: ArcInfo and ArcView, are they stand alone, native, platform dependent applications? Or are they written in Java? It sounds like there are stand alone, native, platform dependent applications, that write their output to either a file or a database.
    The other piece that is puzzling me is: Do you intend to write an Applet or a Java Application? This is important because Java places several restrictions on what an Applet can do.
    There is also the question of how the data is produced. Is it produced all at once in batch or is it produced a little at a time in real time?
    These and other questions will need to be answered before you can begin designing your application. There are many tutorials dealing with opening a file or database and manipulating that data from an Applet or a Java Application, but it is a different matter all together getting data from an application.
    Here are a few tutorials on File I/O and JDBC:
    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    http://java.sun.com/docs/books/tutorial/essential/io/index.html
    -Merwyn,
    Developer Technical Support,
    http://www.sun.com/developers/support.

  • Calling a transaction code in between the program and use the output

    Hi frnds,
              i want to call a transaction code in between the program   and pass the input .After getting the output, use that output in the program

    Hi Navin,
                     Why don't you sit with ABAPer he can explain better.
    Regards,
    HAri.

  • How to disable FMR capture and use Screenshots only?

    I'm using Captivate 7.0.0.118 to record a video demonstration.  I currently use recording type "Automatic" and mode "Demo".  The resulting project has some slides containing screenshots and some slides containing full motion recordings (FMR) for instance when I drag the mouse across the screen.
    I need to reduce the project size, and I have already done what I can from the SWF Size settings as well as the Audio quality settings. I would like to eliminate all FMR captures and instead rely only on screenshots. I envision narrating the demonstration and pressing the Print Screen key whenever I want a screenshot. I would expect the resulting SWF to be much smaller.
    Problem is that I have been unable to find out which settings will disable FMR capture. I tried setting recording type to "Manual" but that did not work.  Is it possible to turn off FMR and rely on screenshots only?
    Please help,
    -Patrick

    Lilybiri
    I'm not familiar with the HD Video Demo slides.  Do you know whether that option is available in CP7? Is it different from a video demonstration recording? By that I mean that when I select "record" from the project film strip, the dialog box that opens up gives me a choice of 3 recording types: "Automatic", "Video Demo" and "Manual".  Is this "Video Demo" recording type what you're referring to when you mensiton "HD Video Demo" slides?
    Captiv8r,
    I will look into TechSmith Camtasia Studio.  You didn't specify why you thought it was a better option.  You mentioned that the recording is about the same.  I currently don't need to do much post-recording editing because each project is a 2 to 4 minute recording of a solution to a math problem.  The way it usually works is that I talk and solve as I record.  If I make a mistake, I start the recording over in a new take.  Does Camtasia Studio produce SWF files?

  • How to automate the execution of several programs and use their output

    Dear java members,
    I am trying to figure out how to get data from a file, database, or program and use that information in another program. Can you help please?
    I have looked through several texts and while the information is there somewhere I have not found the specific capabilities or examples that explain how to do this.
    I want to learn how to do this with objects.
    The specific applications I am working with are the GIS (Geographic Information System) suite of ESRI products such as ArcInfo and ArcView.
    I am working with simulators for hydrologeology (ground water) and other geophysical phenomenae. Programs for decisions and assessment of probability such as found in geostatistical analyses packages. Drawing programs and data manipulation programs such as spreadsheets in windows and scripting languages found in most Unix packages.
    I want to be proprietary platform free! I want to be accessing apps and or data wherever they are and in whichever form they are in or best used.
    Web techniques and protocols are where I think most of my effort will be focused.
    One of the mediums (media) that I expect to use a lot is XML.
    If I can find a simplified (generalized) explanation how this is done and how the parts fit together through and or with objects. If I can find references to texts and examples I will be very appreciative and very much less confused.
    I am interested in using the Java programming language.
    Thank you
    ctavares1

    Hello Tavares,
    What you seek can be done, but before that you must know from where you want to take the data. In what form you will get the data in and where you want to use it and how.
    Your problem is what we call an architectural issue. If possible please write to me at [email protected]
    With the above information - I shall be able to help you to some extent.
    Ironluca

  • LogicalDeletePollingStrategy adapter running multiple updates and using CPU

    We have multiple SOA processes that poll tables in a database with a Logical delete polling strategy. After polling the table the db adapter does an update to flag the record as read.
    We have a production database and test database for the source system, and production and test SOA 11.1.1.4 systems. After cloning our production database to our test database, I will see the update statement for the adapter running multiple times in the test database. However, their are no records in the table that meet the criteria for the polling.
    The polling frequency is every 10 minutes, and if the update statement did anything it would take less than 1 second. However I will see 5-10 copies of the update statement running and using resources.
    Has anyone seen a db apapter do this?

    maybe unit of order and unit of work can help you on that, though i haven't any experience on both topics :
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms/uow.html
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms/uoo.html
    or the mediator supports some sort of sequencer, see : http://www.xenta.nl/blog/2010/05/14/oracle-soa-suite-11g-resequence-messages-in-mediator/

  • Widgets - using resources all the time?

    Hello...
    When widgets are not visible are they still active and using resources?
    Thx,
    D.

    If they are designed to Apple's widget development guidelines, then no, they are not using any resources (CPU usage should go to 0% and active memory will be paged out). You can confirm this by using Apple's Activity Monitor and typing dashboardclient into the Filter.

  • Capturing the output of a jsp page and save that output in a WORD .doc file

    Hi,
    This is Naveen. I got stuck up with a problem/doubt. URGENT ! URGENT !
    My doubt is how to capture the output of a jsp page(the content is dynamic generated) and save that output to a MS-Word doc file.
    I know that therez an option of using Servlets Filters, but this concept is supported by Servlet 2.3 spec. and not earlier. And we are working on previous spec. and our web-servers also supports the prev. version and not the 2.3 version.
    If incase, therez a third-party utility for free usage, suggestions are appreciated.
    Hope most of them came across this kind of functional requirement. If anyone of them succeeded in this, please express ur bitter experience if any, faced during the coding.
    Thanks in Advance for help.
    Naveen

    You can set the MIME content type as .doc and try to open the Page.
    res.setContentType("application/vnd.ms-excel"); to generate the Page output as Excel
    res.setContentType("application/vnd.ms-word"); to generate the Page output as MS Word doc
    Hope this helps..

  • HD - best capture and edit for NTSC Sd output?

    I shoot in HD but need to output for community TV channel in Standard NTSC. What shoud my capture and sequence settings be for optimum picture quality for playback?

    Two suggestions.
    When I did shows on the local community tv, they had pretty rigid specs I needed to conform to. So check with whomever you are producing for, the station will give you what they need.
    For my local community tv, it was 29.97 frame rate bitrate 6000-8000 720x480 mpeg2. Audio was 2 ch stereo bit rate of either 192 or 256, 44.1 or 48 khz.
    So I would export in prores and use something like Compressor to change.
    Hugh

  • Can I create a custom output settings from Compressor 4 and use it as a export setting in iMovie 10.0.4?

    I'm currently using iMovie 8.0.6 However I want to upgrade by downloading iMovie 10.0.4 but I'm upset that iMovie 10.0.4 doesn't give us "Export using Quicktime" option like iMove 9.0.6 and lower versions do (look at picture below)
    So I wanted to know could I create a Compressor 4 output setting and use that as a exporting option in iMovie 10.0.4?

    Yes and No:
    No, you can not - as in FCPX - create your own 'Share Destinations', iM lacks (officially) any APIs too teach it new tricks.
    Yes, export from with iM in a high-res format (e.g. 1080 Apple devices), and use that as source for any Compressor output Same workflow, for free, would do Mpeg Streamclip, the most recommended converter tool for MacOs....

  • Help!! How to install and use Sun ONE Directory Server Resource Kit 5.2

    Hi ! Friend:
    I have some problem on install and use Sun ONE Directory Server Resource Kit 5.2, when I execute "java DSRK", afterwards something like this : com.iplanet.install.until.wbResource::gerstring:resource bundle"locale.resources.S1DSRKResource" not found appeared in the window ,that's why?
    Meanwhile ,can you give some data about it on how to use it ?
    Thank you !

    You should be aware of the following characteristics of your directory when using this tool:
    Size and number of entries.
    Directory structure and access permissions.
    Virtual attributes, class of service, and indexing.
    Usage, types of access, and access patterns.
    Post your error messages completely.
    Thanks
    --Britto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • HT203167 I am watching a TV show and I get video but no audio. I'm using HDMI output to my TV monitor.  It worked yesterday just fine

    I downloaded a TV show and am unable to get audio from my pc to the TV monitor using HDMI output.  It worked fine yesterday with the same tv show download.  Video/Audio is ok to my pc and video is getting to tv monitor.  Everything is the same but, can't find the audio. This is my first time doing a iTunes download so any help is appreciated by this rookie.

    Hello Quincy B,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes and QuickTime for Windows: Audio does not play or plays incorrectly
    http://support.apple.com/kb/TS1362
    Best of luck,
    Mario

  • 2 Apple TV's and no sound output when using AirPlay/mirroring?

    Hi,
    Bought my first apple tv and when air mirroring was able to go to my system preferences and choose sound output for it and it worked beautifully when I wanted to play a movie on my computer and send it to the TV.  Bought a second apple tv for the bedroom, both are connected over wifi.  Using Mountain Lion on my iMac.  Now it won't play any sound on either and will not let me choose which apple tv in system preferences - sound.  Any help would be appreciated
    Sue
    I have tried turning Apple TV on first, then choosing sound output before turning on air mirroring.  Problem is it won't let me choose, stays on internal speakers.
    This fix won't work for me.

    Might I recommend the following sample code instead?
    [http://www.jsresources.org/examples/MidiNote.html]

Maybe you are looking for

  • Data Conversion issue

    Hello I'm new to Oracle DB and still learn SQL. I have a problem with data conversion in a CASE expression. Example: select ... ,      CASE column WHEN 1 THEN select max(column) from table where ... ELSE 0 END AS value, from     ... where ... order b

  • Lumia 920, no flash after updating to Black:-(

    The flash on the camera on my Nokia Lumia 920 doesn't work after updating to Black ! Any ideas ? Solved! Go to Solution.

  • WRT400n range less than WRT54gs

    Hi, I just replaced my WRT54GS router with a WRT400N router because it was supposed to be greater range and faster.  I have 3 laptops.  One is an HP vista with wireless G capability , another is an HP vista with wireless N capability, and the last is

  • Bridge CS4 - I can no longer find the InDesign Batch feature under tools

    I see Photoshop and Illustrator but no InDesign. Did it moved or get renamed? It was working fine in CS3.

  • HT4623 My apps won't update

    My app icon indicates updates but when I go to update them, all I get is a blank screen.